kube-janitor leaves behind replicaset relics
CookieComputing opened this issue · 4 comments
CookieComputing commented
kube-janitor
will leave behind an old replicaset when you edit the deployment for kube-janitor
Steps to reproduce:
kubectl apply -f deploy/
kubectl edit deploy kube-janitor
- (some edit of the deployment)
kubectl get replicasets
CookieComputing commented
hjacobs commented
@CookieComputing can you elaborate, e.g. by showing the output of above commands?
alfredkrohmer commented
This is the normal behavior of a Deployment
: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.13/#deploymentspec-v1-apps (see revisionHistoryLimit
).