add randomness to nodeStatusReportFrequency for kubelet#128394
Conversation
|
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The DetailsInstructions 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-sigs/prow repository. |
6405664 to
a22229e
Compare
|
/assign @mrunalp @SergeyKanzhelev |
|
unit test failure is new and seems to be introduced by this PR |
|
/remove-approve to prevent accidental merge |
can be related? I think something related to sleep hooks merged ... the code here does not seem to interact with the pod lifecycle, or does it? |
yes, my mistake |
…actual node status change
4095cec to
d6e17ad
Compare
|
@aojea @SergeyKanzhelev Updated and PTAL |
|
/lgtm Thank you very much @SergeyKanzhelev for final approval |
|
LGTM label has been added. DetailsGit tree hash: ffe10bf30545a14465fcf5e18d864016a1779ad5 |
@SergeyKanzhelev on additional note, it seems something got merged that is impacting this test https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/ci-kubernetes-e2e-kind-alpha-beta-features/1853869116201373696 |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mengqiy, SergeyKanzhelev The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
this made TestUpdateNodeStatusWithLease very flaky rollback in #128629 |
Adding one time [-50% , +50%] randomness to
nodeStatusReportFrequencyafter initial node status update.It helps spread the load from kubelet evenly
What type of PR is this?
/kind feature
What this PR does / why we need it:
The node status update traffic from kubelet can be almost synchronized in some scenarios and caused high CPU spikes. e.g. #124202
Which issue(s) this PR fixes:
Fixes #124202
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Original release note (removed since this was rolled back
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: