Skip to content

Graceful api server shutdown tweaks#4

Merged
leoluz merged 2 commits intoleoluz:graceful-api-server-shutdownfrom
crenshaw-dev:graceful-api-server-shutdown-tweaks
Jun 13, 2024
Merged

Graceful api server shutdown tweaks#4
leoluz merged 2 commits intoleoluz:graceful-api-server-shutdownfrom
crenshaw-dev:graceful-api-server-shutdown-tweaks

Conversation

@crenshaw-dev
Copy link

Looks like the for loop in argocd_server tries to start the server back up immediately after it gracefully shuts down. So I think the break makes sense.

I assume it was originally designed to gracefully handle crashes. But imo that's Kubernetes' job.

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Copy link
Owner

@leoluz leoluz left a comment

Choose a reason for hiding this comment

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

LGTM

@leoluz leoluz merged commit 3eb12d7 into leoluz:graceful-api-server-shutdown Jun 13, 2024
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.

2 participants