-
Notifications
You must be signed in to change notification settings - Fork 6.3k
feat: Contour HTTPProxy health check support for issue # 22504 #22596
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
feat: Contour HTTPProxy health check support for issue # 22504 #22596
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #22596 +/- ##
=======================================
Coverage 59.84% 59.85%
=======================================
Files 344 344
Lines 57715 57715
=======================================
+ Hits 34541 34546 +5
- Misses 20402 20405 +3
+ Partials 2772 2764 -8 ☔ View full report in Codecov by Sentry. |
else | ||
hs.status = "Degraded" | ||
end | ||
hs.message = obj.status.description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the message
used for anything?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah -- this is what is returned to ArgoCD, and it links back with:
type HealthStatus struct {
Status HealthStatusCode `json:"status,omitempty"`
Message string `json:"message,omitempty"`
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #22504 |
Signed-off-by: Greg Barasch <gregbarasch@gmail.com>
Signed-off-by: Greg Barasch <gregbarasch@gmail.com>
671a7b9
to
9eb0f75
Compare
Signed-off-by: Greg Barasch <gregbarasch@gmail.com>
/bns:start |
Signed-off-by: Greg Barasch <gregbarasch@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A future iteration could pull the error messages and add them to the health message, but this at least gets the party started. :-) Thanks!
…roj#22596) Signed-off-by: Greg Barasch <gregbarasch@gmail.com> Signed-off-by: Lyheng <lyhengtep@gmail.com>
…roj#22596) Signed-off-by: Greg Barasch <gregbarasch@gmail.com>
…roj#22596) Signed-off-by: Greg Barasch <gregbarasch@gmail.com>
…roj#22596) Signed-off-by: Greg Barasch <gregbarasch@gmail.com> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
…roj#22596) Signed-off-by: Greg Barasch <gregbarasch@gmail.com> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
Fixes #22504
This adds simple health checks for Contour HTTPProxy objects
Checklist: