Skip to content

Make cleanup on shutdown optional#327

Merged
squat merged 3 commits intosquat:mainfrom
dajudge:zero-downtime-restart
Mar 28, 2023
Merged

Make cleanup on shutdown optional#327
squat merged 3 commits intosquat:mainfrom
dajudge:zero-downtime-restart

Conversation

@dajudge
Copy link
Copy Markdown
Contributor

@dajudge dajudge commented Jul 28, 2022

We've been looking into making kilo rollouts not resulting in a network-related downtime that's the result of cleanup on shutdown. From what I can tell almost all operations are already idempotent anyway.

The only issue i've been able to identify is the creation of the wireguard interface on startup - making that code path check for existence before trying to create a new one should prevent any issues there.

So far it's just an experiment, but I'd love to hear your thoughts on it!

Comment thread cmd/kg/main.go Outdated
@dajudge
Copy link
Copy Markdown
Contributor Author

dajudge commented Mar 28, 2023

rebased

used it on a test cluster to update to a new build. went over without any networking hickups.

@dajudge dajudge marked this pull request as ready for review March 28, 2023 13:30
@squat
Copy link
Copy Markdown
Owner

squat commented Mar 28, 2023

thanks @dajudge!

Copy link
Copy Markdown
Owner

@squat squat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, we can now use an already existing Kilo interface <3

@squat squat merged commit 2fa4ae7 into squat:main Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants