Skip to content

manual promotion with an expiry and rollout aborts if not done within expiry #1087

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

You must be logged in to vote

It's not currently possible using any built-in features of Rollouts. However, you can approximate the behavior by doing the following

Have an inline AnalysisTemplate which is just a Kubernetes job that simply runs the command:

sleep 1h && exit 1

After one hour, the job will exit unsuccessfully, causing the rollout to abort. But if the rollout was manually promoted before the job completed, the Job would be terminated (deleted) and Rollout would be considered successful.

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