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

cmd/contour: Enable retry for shutdown-manager initiating Envoy healthcheck fail #3136

Merged
merged 4 commits into from
Dec 1, 2020

Conversation

stevesloka
Copy link
Member

The call in the shutdown-manager to intitiate the Envoy healthcheck fail HTTP request
did not retry in the event that the call fails. Adds the client-go retry.OnError method
which takes a backoff object allowing for a retry with backoff in the event the request
fails.

Fixes #2262

Signed-off-by: Steve Sloka [email protected]

…hcheck fail

The call in the shutdown-manager to intitiate the Envoy healthcheck fail HTTP request
did not retry in the event that the call fails. Adds the client-go retry.OnError method
which takes a backoff object allowing for a retry with backoff in the event the request
fails.

Fixes projectcontour#2262

Signed-off-by: Steve Sloka <[email protected]>
@stevesloka stevesloka added this to the 1.11.0 milestone Nov 17, 2020
@codecov
Copy link

codecov bot commented Nov 17, 2020

Codecov Report

Merging #3136 (7cadd51) into main (2aa1018) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3136      +/-   ##
==========================================
- Coverage   74.14%   74.03%   -0.11%     
==========================================
  Files          96       96              
  Lines        5990     6001      +11     
==========================================
+ Hits         4441     4443       +2     
- Misses       1453     1463      +10     
+ Partials       96       95       -1     
Impacted Files Coverage Δ
cmd/contour/shutdownmanager.go 29.20% <0.00%> (-3.15%) ⬇️
internal/dag/cache.go 96.01% <0.00%> (+0.79%) ⬆️

Copy link
Member

@skriss skriss 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

@youngnick youngnick left a comment

Choose a reason for hiding this comment

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

LGTM

@skriss
Copy link
Member

skriss commented Nov 30, 2020

needs rebase + CI to pass

@stevesloka stevesloka merged commit 14f988e into projectcontour:main Dec 1, 2020
@stevesloka stevesloka deleted the retryShutdown branch December 1, 2020 15:27
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.

cmd/contour: Retry Envoy healthcheck fail
3 participants