How to use the ReplicaSet retained by argo? #12763
-
Hi, When creating an application, argo retains a history of deployments, so when you rollout a new deployment, the old replica set is scaled down to 0 pod. But from the UI (v2.5.2), there's nothing I can do with those RS, except deleting them. So, my question is, why do we want to keep that RS history? What action/function that actually utilize those retained RS objects? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi. This is actually a feature of Kubernetes, and is controlled by a Deployment's .spec.revisionHistoryLimit setting. From a plain Kubernetes point of view, the old ReplicaSets can be used to rollback to previous versions of a pod. Argo CD only makes this visible, but is not the one accountable for keeping the ReplicaSets around. |
Beta Was this translation helpful? Give feedback.
Hi. This is actually a feature of Kubernetes, and is controlled by a Deployment's .spec.revisionHistoryLimit setting. From a plain Kubernetes point of view, the old ReplicaSets can be used to rollback to previous versions of a pod.
Argo CD only makes this visible, but is not the one accountable for keeping the ReplicaSets around.