-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Gate readiness probes #6707
Gate readiness probes #6707
Conversation
1. Foremost, make sure the tests don't run for 25 seconds, but rather just 4 2. Remove the unneeded method 3. More to come
The following is the coverage report on the affected files.
|
a0fedd2
to
04b3ad4
Compare
Fixes #6680 |
The following jobs failed:
Automatically retrying due to test flakiness... |
04b3ad4
to
cc0777d
Compare
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markusthoemmes, vagababov 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 |
This aims at limiting only a single readiness probe at a time.
We noticed a problem with the activator daemon set that when a new pod comes to life and is probed by say 30 probes at the same time (the size of our load benchmark cluster), the user container can be overwhelmed and fails the probes.
So this basically does gating of the readiness probes.
If a probe is already in progress, we attach to its result. Otherwise create a new one.
There's more details due to the possible races, so the code feels complex, but in essence it's simple :)
/assign @markusthoemmes mattmoor