Repository navigation
Set KWOK node heartbeat to 300-305 seconds - #1413
Open
Leonard Du (LeonardCareer) wants to merge 5 commits into
Open
Leonard Du (LeonardCareer) wants to merge 5 commits into
Leonard Du (LeonardCareer) wants to merge 5 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Leonard Du (LeonardCareer)
requested review from
Liyu Ma (liyu-ma),
Vittoria (vittoriasalim),
Lei Yao (wonderyl) and
xinWeiWei24
as code owners
November 29, 2026 23:49
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
|
||
| def _bootstrap_kwok(self, kwok_release, enable_metrics): | ||
| """Apply the shared KWOK bootstrap manifests and replace the configmap. | ||
| """Apply the shared KWOK manifests with a 300-305 second Node heartbeat. |
Collaborator
There was a problem hiding this comment.
it sounds like you don't replace the configmap anymore, which is not true.
Collaborator
Author
There was a problem hiding this comment.
updated.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
xinWeiWei24
reviewed
Nov 30, 2026
| self.k8s_client.apply_manifest_from_url, | ||
| stage_fast_yaml_url | ||
| response = execute_with_retries(requests.get, stage_fast_yaml_url, timeout=30) | ||
| response.raise_for_status() |
Collaborator
There was a problem hiding this comment.
Could we make this interval configurable rather than changing the default? The longer upstream interval might be intentional to reduce API server load at scale
Collaborator
Author
There was a problem hiding this comment.
I’ll make the interval configurable, with 300–305 seconds as the default to align with kubelet’s default 5-minute reporting interva
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Download the upstream
stage-fast.yaml, change only thenode-heartbeat-with-leasedelay to300000ms with a305000ms jitter upper bound, then apply the manifests. Lease renewal and KWOK release selection are unchanged.Validation
The unrelated
TestKwokPipelinefailure (KeyError: 'script'for H2/H4/H8) was reproduced on the unchanged v2 baseline; no pipeline changes are included.