Skip to content

hack: ATE_KIND_WORKERS adds worker nodes to the kind cluster - #2643

Open
Davanum Srinivas (dims) wants to merge 2 commits into
agent-substrate:mainfrom
dims:kind-workers
Open

Davanum Srinivas (dims) wants to merge 2 commits into
agent-substrate:mainfrom
dims:kind-workers

Conversation

@dims

@dims Davanum Srinivas (dims) commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

One kind node runs at most 110 pods, the kubelet default, and one atelet. The scale tests on one large host need more than that, so they spread the WorkerPools over several worker nodes on that host.

Set ATE_KIND_WORKERS=N when running hack/create-kind-cluster.sh to add N worker nodes alongside the control plane. The default remains a single-node cluster (ATE_KIND_WORKERS=0).

  • Tests pass: shellcheck; no Go changes.
  • Appropriate changes to documentation are included in the PR: none needed.

@dims Davanum Srinivas (dims) changed the title [WIP] hack: KIND_WORKERS adds worker nodes to the kind cluster hack: KIND_WORKERS adds worker nodes to the kind cluster Oct 14, 2026
@dims
Davanum Srinivas (dims) marked this pull request as ready for review October 14, 2026 14:13
@dims Davanum Srinivas (dims) changed the title hack: KIND_WORKERS adds worker nodes to the kind cluster hack: ATE_KIND_WORKERS adds worker nodes to the kind cluster Oct 15, 2026
@dims
Davanum Srinivas (dims) force-pushed the kind-workers branch 3 times, most recently from 8f1c8b9 to 10cba5b Compare October 18, 2026 21:09
@bowei Bowei Du (bowei) added area/dev-infra kind/feature An enhancement / feature request or implementation labels Oct 19, 2026
@dims
Davanum Srinivas (dims) force-pushed the kind-workers branch 8 times, most recently from fb19197 to 597d626 Compare October 27, 2026 12:28
@dims
Davanum Srinivas (dims) force-pushed the kind-workers branch 3 times, most recently from 967e0f4 to c3910f2 Compare October 31, 2026 17:09
KIND_WORKERS=N creates N worker nodes besides the control plane. Default 0
keeps the single-node cluster. A privileged node has a /dev/kvm of its own
and the script chmods it on every node, so the workers need no bind mount.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
KIND_ is the environment namespace kind itself reads.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dev-infra kind/feature An enhancement / feature request or implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants