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

Harden requirements for taint #187

Merged
merged 1 commit into from
May 22, 2023
Merged

Harden requirements for taint #187

merged 1 commit into from
May 22, 2023

Conversation

roivaz
Copy link
Member

@roivaz roivaz commented May 22, 2023

This PR raises the number of NACKs required to consider an envoy Pod as failing to 5. So far, a single failure was enough to mark a pod as failing to load a given configuration revision. This was problematic when running a single pod setup, where a single failure would cause a revision to get tainted.
The change also has the side effect of making the taint process much slower, due to the fact that we now must wait for 5 failures and there's an exponential backoff mechanism in place when failures occur. To improve this a bit I have reduced the periodic reconcile of EnvoyConfigRevisions to 30 seconds.

/kind bug
/priority important-soon
/assign
/ok-to-test

@3scale-robot 3scale-robot added kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next sprint. needs-size Indicates a PR or issue lacks a `size/foo` label and requires one. size/S Requires less than a day to complete the PR or the issue. labels May 22, 2023
@3scale-robot 3scale-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-size Indicates a PR or issue lacks a `size/foo` label and requires one. labels May 22, 2023
@slopezz
Copy link
Member

slopezz commented May 22, 2023

/lgtm

@3scale-robot 3scale-robot added the lgtm Indicates that a PR is ready to be merged. label May 22, 2023
@3scale-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: e24c51acd5420e89789341e7ff226c7c038c9ce0

@3scale-robot 3scale-robot self-assigned this May 22, 2023
@roivaz
Copy link
Member Author

roivaz commented May 22, 2023

/approve

@3scale-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: roivaz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@3scale-robot 3scale-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 22, 2023
@3scale-robot 3scale-robot merged commit 3d88284 into main May 22, 2023
7 checks passed
@3scale-robot 3scale-robot deleted the fix-taint-too-fast branch May 22, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next sprint. size/S Requires less than a day to complete the PR or the issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants