Skip to content

what is scaleDownDelayRevisionLimit mean? #1495

Answered by jessesuen
13567436138 asked this question in Q&A
Discussion options

You must be logged in to vote
kubectl explain rollout.spec.strategy.canary

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jessesuen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants