EDITD / kubetools

:nut_and_bolt: Kubetools is a tool and processes for developing and deploying microservices to Kubernetes.
MIT License
13 stars 2 forks source link

Remove old/unexpected deployments/services #80

Open Fizzadar opened 3 years ago

Fizzadar commented 3 years ago

When renaming or removing a deployment from kubetools.yml, kubetools does not currently remove these K8s objects, leaving that up to the user. This can be achieved by inspecting all deployments in the namespace and looking at the kubetools/project_name label, and then removing ones that should no longer exist.

Bug because this really should be the expected behavior in this scenario.