hjacobs / kube-janitor

Clean up (delete) Kubernetes resources after a configured TTL (time to live)
GNU General Public License v3.0
472 stars 40 forks source link

kube-janitor leaves behind replicaset relics #11

Closed CookieComputing closed 5 years ago

CookieComputing commented 5 years ago

kube-janitor will leave behind an old replicaset when you edit the deployment for kube-janitor

Steps to reproduce:

CookieComputing commented 5 years ago

@hjacobs

hjacobs commented 5 years ago

@CookieComputing can you elaborate, e.g. by showing the output of above commands?

alfredkrohmer commented 5 years ago

This is the normal behavior of a Deployment: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.13/#deploymentspec-v1-apps (see revisionHistoryLimit).

hjacobs commented 5 years ago

@devkid that was my assumption, too.