-
Notifications
You must be signed in to change notification settings - Fork 609
Add outlier detection failure matcher #3741
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
Changes from all commits
93a41ab
0ab9dbe
1d458eb
2dbf4a6
54b1485
7f87180
768351f
fdffb06
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -864,6 +864,21 @@ message OutlierDetection { | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| // disabled by setting it to 0%. The default is 0% as it's not typically | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // applicable in k8s environments with few pods per service. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| int32 min_health_percent = 5; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // Specifies the HTTP response status codes that are treated as outlier | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // detection errors. If specified, only responses with one of these status | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // codes will be treated as errors by outlier detection. If not specified, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // only 5xx responses are treated as errors. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // Note: Host ejection is still driven by the `consecutive5xxErrors` and | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // `consecutiveGatewayErrors` thresholds; this field only redefines which | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // HTTP status codes are counted as errors toward those thresholds. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // Values must be in the range [100, 599]. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // +protoc-gen-crd:list-value-validation:Minimum=100 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // +protoc-gen-crd:list-value-validation:Maximum=599 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| repeated uint32 outlier_detection_http_error_codes = 10; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+867
to
+881
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // SSL/TLS related settings for upstream connections. See Envoy's [TLS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.
the outliers are detected based on consecutive5xx and consecutiveGatewayErrors fields.