Open kfferrando opened 4 years ago
We are leaving behind a replicaset every time we deploy, that never get cleaned up.
$ k get rs --all-namespaces | awk '{if ($3==0 && $4==0 && $5==0){print $1;}}' | sort | uniq -c 30 sumo-dev 30 sumo-prod 39 sumo-stage
Definining revisionHistoryLimit: <int> will ensure cleanup of stale RS.
revisionHistoryLimit: <int>
It looks like this is being set with our version of k8s, but is probably a little high for our needs.
revisionHistoryLimit: 10
We are leaving behind a replicaset every time we deploy, that never get cleaned up.
$ k get rs --all-namespaces | awk '{if ($3==0 && $4==0 && $5==0){print $1;}}' | sort | uniq -c 30 sumo-dev 30 sumo-prod 39 sumo-stage
Definining
revisionHistoryLimit: <int>
will ensure cleanup of stale RS.