Sitelet https://github.com/kubernetes/kops/pull/18616
Skip to content

Tolerate unready nodes during scalability test validation - #18616

Merged
kubernetes-prow[bot] merged 1 commit into
kubernetes:masterfrom
Jefftree:scale-max-unready-nodes
Jul 21, 2026
Merged

kubernetes-prow[bot] merged 1 commit into
kubernetes:masterfrom
Jefftree:scale-max-unready-nodes

Conversation

@Jefftree

@Jefftree Jefftree commented Jul 21, 2026 •

Copy link
Copy Markdown
Member

Pass --max-unready-nodes to kops validate cluster in the scalability scenario so 5k scale runs tolerate a few worker nodes that fail to join.

Testing

Verified on the 100-node scale presubmit that the deployer forwards the flag to the real validate call and the job passed: https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kops/18616/pull-kops-gce-master-scale-performance-100/2079611887690977280

I0721 17:06:51.491656   15588 up.go:390] /home/prow/go/src/k8s.io/kops/.build/dist/linux/amd64/kops validate cluster --name pr18616-kops-gce-master-scale-performance-100.k8s.local --count 3 --wait 1h15m0s --interval 1m0s --max-unready-nodes 5

@kubernetes-prow kubernetes-prow Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 21, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kubernetes-prow kubernetes-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 21, 2026
@kubernetes-prow
kubernetes-prow Bot requested review from dims and olemarkus July 21, 2026 16:39
@kubernetes-prow kubernetes-prow Bot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 21, 2026
@Jefftree
Jefftree marked this pull request as ready for review July 21, 2026 16:58
@kubernetes-prow
kubernetes-prow Bot requested review from serathius and zetaab July 21, 2026 16:58
KUBETEST2_ARGS+=("--max-nodes-to-dump=${MAX_NODES_TO_DUMP:-5}")
KUBETEST2_ARGS+=("--node-dump-timeout=${NODE_DUMP_TIMEOUT:-5m}")
# Tolerate a handful of worker nodes failing to join at scale, matching kubeup's ALLOWED_NOTREADY_NODES.
KUBETEST2_ARGS+=("--max-unready-nodes=${MAX_UNREADY_NODES:-5}")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are you sure 5 is not too much as default?

@Jefftree Jefftree Jul 21, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The old kube-up script had 1% so 50 of 5000 😅. Updated this to only default to 5 for 5k jobs since 5/100 node runs is too much.

I will defer to @serathus for the question of whether 5 makes sense as default.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Spoke to @serathius offline, we'll be conservative and start with 2 since we've only see 1/5000 fail recently.

@Jefftree Jefftree changed the title WIP: scale tests tolerate unready nodes during validation [WIP] Tolerate unready nodes during scalability test validation Jul 21, 2026
@Jefftree
Jefftree force-pushed the scale-max-unready-nodes branch from 58f453e to 1ebd1b5 Compare July 21, 2026 18:16
@Jefftree

Copy link
Copy Markdown
Member Author

/assign @serathius

@Jefftree
Jefftree force-pushed the scale-max-unready-nodes branch from 1ebd1b5 to 808ed02 Compare July 21, 2026 18:22
@Jefftree Jefftree changed the title [WIP] Tolerate unready nodes during scalability test validation Tolerate unready nodes during scalability test validation Jul 21, 2026
@kubernetes-prow kubernetes-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 21, 2026
@serathius

Copy link
Copy Markdown
Member

/lgtm

@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 21, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

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

The pull request process is described here

Details 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

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 21, 2026
@kubernetes-prow
kubernetes-prow Bot merged commit 2ea1da8 into kubernetes:master Jul 21, 2026
28 checks passed
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants