-
Notifications
You must be signed in to change notification settings - Fork 689
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 circuit breaker support for extension services. #6539
Add circuit breaker support for extension services. #6539
Conversation
2011476
to
85ed13f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6539 +/- ##
==========================================
+ Coverage 81.64% 81.66% +0.02%
==========================================
Files 133 133
Lines 15873 15894 +21
==========================================
+ Hits 12959 12980 +21
Misses 2620 2620
Partials 294 294
|
Signed-off-by: Clayton Gonsalves <clayton.gonsalves@reddit.com>
85ed13f
to
9e946e2
Compare
Signed-off-by: Clayton Gonsalves <clayton.gonsalves@reddit.com>
Signed-off-by: Clayton Gonsalves <clayton.gonsalves@reddit.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.
Thanks @clayton-gonsalves, this looks pretty good to me. I just had some nit-picky naming comments to try to keep things consistent/as short as possible. I think we should be able to get this into the upcoming release if you can address remaining feedback
Signed-off-by: Clayton Gonsalves <clayton.gonsalves@reddit.com>
Signed-off-by: Clayton Gonsalves <clayton.gonsalves@reddit.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.
LGTM, thanks @clayton-gonsalves
Closes projectcontour#6537. Signed-off-by: Clayton Gonsalves <clayton.gonsalves@reddit.com> Signed-off-by: Geoff Macartney <geoff.macartney@sky.uk>
Closes projectcontour#6537. Signed-off-by: Clayton Gonsalves <clayton.gonsalves@reddit.com> Signed-off-by: Saman Mahdanian <saman@mahdanian.xyz>
This PR adds support for configuring circuit breakers for extension service CRD's.
Fixes #6537
Note to reviewers
The method for configuring circuit breakers differs between extension services and regular services. For extension services, this configuration is managed directly on the extension service CRD rather than through service annotations.
This distinction arises from how Contour creates an Envoy cluster for a given extension service definition. An extension service CRD can be supported by multiple Kubernetes services, but for Envoy, these services are configured within a single Envoy cluster.
Combining annotations from multiple Kubernetes services is complex and can lead to a non-transparent user experience.