GoogleCloudPlatform / opentelemetry-demo

Apache License 2.0
14 stars 7 forks source link

Clean up old resources that are no longer present #68

Closed damemi closed 4 weeks ago

damemi commented 5 months ago

What will clean up old resources that are no longer present in opentelemetry-demo.yaml? We could add --prune but it's (still) alpha. Or we could jump on the new hotness: https://kubernetes.io/blog/2023/05/09/introducing-kubectl-applyset-pruning/

_Originally posted by @quentinmit in https://github.com/GoogleCloudPlatform/opentelemetry-demo/pull/50#discussion_r1580029325_

damemi commented 1 month ago

This is blocked on https://github.com/GoogleCloudPlatform/opentelemetry-demo/pull/116 (because we use the sed command to replace gcloud_project), but once that is merged we can switch our deploy script to use helmfile and that should automatically prune old resources