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 custom ping http code when Traefik is terminating #6696

Merged

Conversation

L3o-pold
Copy link
Contributor

What does this PR do?

Allow custom http code in ping route when Traefik is terminating (graceful shutdown)

Motivation

Issue #6688
Better handling of graceful shutdown with Kubernetes livenessprobe.

More

  • Added/updated tests
  • Added/updated documentation

pkg/ping/ping.go Outdated Show resolved Hide resolved
integration/simple_test.go Outdated Show resolved Hide resolved
Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@jbdoumenjou jbdoumenjou left a comment

Choose a reason for hiding this comment

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

LGTM

@jbdoumenjou jbdoumenjou force-pushed the add_custom_ping_termination_status_code branch from d19c1cf to 832a659 Compare July 1, 2020 12:21
@traefiker traefiker merged commit 7669f41 into traefik:master Jul 1, 2020
v2 automation moved this from To review to Done Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api kind/enhancement a new or improved feature. size/M
Projects
No open projects
v2
Done
Development

Successfully merging this pull request may close these issues.

None yet

8 participants