Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add graceful shutdown to all health check failures #908

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

danielle-tfh
Copy link
Collaborator

@danielle-tfh danielle-tfh commented Jan 10, 2025

Notes

  • enforce sending graceful shutdown signals to all nodes
  • argo CD only triggers graceful shutdown every 3 minutes meaning during roll outs we do not see all 3 pods having graceful shutdown
  • this shares between pods to start gracefully shutting down

@danielle-tfh danielle-tfh force-pushed the add-graceful-shutdown-on-sigterms branch 3 times, most recently from 6c97f47 to 23b2764 Compare January 10, 2025 15:34
struct ReadyProbeResponse {
image_name: String,
uuid: String,
shutdown: bool,
Copy link
Collaborator

Choose a reason for hiding this comment

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

a nit suggestion on naming:

Suggested change
shutdown: bool,
shutting_down: bool,

@danielle-tfh danielle-tfh force-pushed the add-graceful-shutdown-on-sigterms branch from 23b2764 to 22afaf5 Compare January 10, 2025 15:46
@danielle-tfh danielle-tfh enabled auto-merge (squash) January 10, 2025 15:46
@danielle-tfh danielle-tfh disabled auto-merge January 10, 2025 15:52
@danielle-tfh danielle-tfh merged commit b5be236 into main Jan 10, 2025
13 checks passed
@danielle-tfh danielle-tfh deleted the add-graceful-shutdown-on-sigterms branch January 10, 2025 15:52
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