what is scaleDownDelayRevisionLimit mean? #1495
-
what is scaleDownDelayRevisionLimit mean? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Have you seen this? https://argoproj.github.io/argo-rollouts/features/bluegreen/#scaledowndelayrevisionlimit |
Beta Was this translation helpful? Give feedback.
-
Oh, we intentionally left out the descriptions because of CRD size, so don't expect to see much there. The docs could do better to explain this field but here is the use case: I'm performing blue-green updates. I want to leave the old stacks running (e.g. 24 hours) in case I want to rollback. After that, it is okay to scale down. For this, you would specify However, if I perform 10 updates, I don't want to leave 10 full stacks running, each of them for 24 hours. I would only like keep the last 2 stacks up and running. For this, you would specify |
Beta Was this translation helpful? Give feedback.
Oh, we intentionally left out the descriptions because of CRD size, so don't expect to see much there.
The docs could do better to explain this field but here is the use case:
I'm performing blue-green updates. I want to leave the old stacks running (e.g. 24 hours) in case I want to rollback. After that, it is okay to scale down. For this, you would specify
scaleDownDelaySeconds: 86400
.However, if I perform 10 updates, I don't want to leave 10 full stacks running, each of them for 24 hours. I would only like keep the last 2 stacks up and running. For this, you would specify
scaleDownDelayRevisionLimit: 2