Skip to content

Distinguish upstream errors from local error for outlier detection#1662

Closed
kidiyoor wants to merge 1 commit intoistio:masterfrom
kidiyoor:outlier
Closed

Distinguish upstream errors from local error for outlier detection#1662
kidiyoor wants to merge 1 commit intoistio:masterfrom
kidiyoor:outlier

Conversation

@kidiyoor
Copy link
Copy Markdown
Contributor

Subject: Allow to eject hosts when ONLY local origin errors are seen.
Description:
Currently exposed configuration doesn't allow to only consider local connect error, timeout error etc for outlier detection. This feature is needed if application workload is like a proxy and we want to failover only when the application is irresponsive and not the target. Envoy seen to support this feature already - envoyproxy/envoy#4822.

k8s[ envoy(ingress) -> application ] -> target

@istio-policy-bot
Copy link
Copy Markdown

😊 Welcome @kidiyoor! This is either your first contribution to the Istio api repo, or it's been
awhile since you've been here.

You can learn more about the Istio working groups, code of conduct, and contributing guidelines
by referring to Contributing to Istio.

Thanks for contributing!

Courtesy of your friendly welcome wagon.

@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Sep 29, 2020
@istio-testing istio-testing added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. needs-ok-to-test labels Sep 29, 2020
@istio-testing
Copy link
Copy Markdown
Collaborator

Hi @kidiyoor. Thanks for your PR.

I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

// no effect.
google.protobuf.UInt32Value consecutive_5xx_errors = 7;

// The % chance that a host will be actually ejected when an outlier status is
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@rshriram this is adding more configuration elements from envoy directly here. They will be passed along almost verbatim. Do we need some different for DR that is half way between and EnvoyFilter and full schematization?

@istio-testing
Copy link
Copy Markdown
Collaborator

@kidiyoor: PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@istio-testing istio-testing added the needs-rebase Indicates a PR needs to be rebased before being merged label Oct 22, 2020
@howardjohn howardjohn removed the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label May 15, 2024
@istio-policy-bot
Copy link
Copy Markdown

🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2020-09-29. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions.

Created by the issue and PR lifecycle manager.

@istio-policy-bot istio-policy-bot added the lifecycle/automatically-closed Indicates a PR or issue that has been closed automatically. label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lifecycle/automatically-closed Indicates a PR or issue that has been closed automatically. needs-ok-to-test needs-rebase Indicates a PR needs to be rebased before being merged size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants