GoogleCloudPlatform / opentelemetry-demo

Apache License 2.0
14 stars 8 forks source link

Clean up old resources that are no longer present #68

Closed damemi closed 2 months ago

damemi commented 6 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 2 months 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