Deepomatic / dmake

DMake is a tool to manage micro-service based applications
MIT License
36 stars 3 forks source link

kubernetes deployment leaks deleted services and CRD resources #403

Open thomas-riccardi opened 5 years ago

thomas-riccardi commented 5 years ago

When deleting a service in dmake, if it was previously deployed on kubernetes it will not be cleaned-up by dmake.

dmake supports cleaning resources related to one service (via automatically added labels and careful resource pruning), but does not support cleaning old dmake services.

It would be hard to do as dmake can be called on a subset of services, and we don't want it to delete the other ones.

Maybe the only reasonable solution is to use helm instead. See #257

thomas-riccardi commented 4 years ago

Current pruning also leaks CRD resources (there is default prune whitelist in kubectl).

thomas-riccardi commented 6 months ago

kubectl prune whitelist also doesn't cover ~advanced but non custom resources such as HPA.