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: add drain-delay arg to the envoy shutdown command #2820

Merged
merged 1 commit into from
Aug 25, 2020
Merged

cmd/contour: add drain-delay arg to the envoy shutdown command #2820

merged 1 commit into from
Aug 25, 2020

Conversation

laurovenancio
Copy link
Contributor

Fixes #2819
Depends on #2817

Signed-off-by: Lauro Ramos Venancio [email protected]

@codecov
Copy link

codecov bot commented Aug 21, 2020

Codecov Report

Merging #2820 into main will decrease coverage by 0.13%.
The diff coverage is 17.24%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2820      +/-   ##
==========================================
- Coverage   76.52%   76.39%   -0.14%     
==========================================
  Files          73       73              
  Lines        5691     5706      +15     
==========================================
+ Hits         4355     4359       +4     
- Misses       1248     1260      +12     
+ Partials       88       87       -1     
Impacted Files Coverage Δ
cmd/contour/contour.go 4.22% <0.00%> (ø)
cmd/contour/serve.go 2.53% <0.00%> (-0.01%) ⬇️
cmd/contour/shutdownmanager.go 18.86% <0.00%> (-2.19%) ⬇️
internal/dag/builder.go 92.22% <50.00%> (-0.14%) ⬇️
internal/featuretests/featuretests.go 90.35% <100.00%> (+0.04%) ⬆️
internal/assert/assert.go 57.14% <0.00%> (ø)
internal/dag/cache.go 97.56% <0.00%> (+0.81%) ⬆️

@laurovenancio
Copy link
Contributor Author

The codecov is showing changes unrelated to this PR.
The failing siteproof test is also unrelated.

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.

Thanks for the PR @laurovenancio! This seems like a fine change to me but we'll see what the other maintainers think. One small nit.

cmd/contour/shutdownmanager.go Outdated Show resolved Hide resolved
Fixes #2819
Depends on #2817

Signed-off-by: Lauro Ramos Venancio <[email protected]>
@laurovenancio laurovenancio requested a review from skriss August 24, 2020 18:32
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, nice work.

@skriss skriss merged commit 9e8c67c into projectcontour:main Aug 25, 2020
@laurovenancio laurovenancio deleted the shutdown-drain-delay branch August 25, 2020 16:19
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.

Add an optional delay before draining envoy connection during shutdown
3 participants