How do you handle spot interruption? #2010
Unanswered
dongho-jung
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found that recommendation about terminationGracePeriodSeconds for handling spot interruption
https://github.com/actions-runner-controller/actions-runner-controller/blob/40eec3c7834d17fa7a76c66d82453941d577dca3/docs/detailed-docs.md?plain=1#L1246-L1255
However for me, it's not that helpful because most jobs in my org take 10~15 minutes.. So I wonder how are others dealing with this? I think the spot interruption is an inevitable so I won't try to avoid it, instead, I think I might be able to retrigger victim run reacting to spot interruption. To do so, I might need hook? or trap? for retriggering.. I think it's not that bad because all of my jobs are idempotent. btw how do you handle spot interruption? I have no I idea about am I doing this right
Beta Was this translation helpful? Give feedback.
All reactions