HOMELAB-956: feat(talos): raise worker kubelet maxPods to 150 #177

Merged
aaron merged 1 commit from plane/HOMELAB-956-kubelet-maxpods into live 2026-04-21 05:01:38 +00:00
Owner

Summary

Bump worker kubelet.extraConfig.maxPods from the default 110 to 150 via the Talos worker_config_patch local in the talos-cluster module. Unblocks HOMELAB-954 (WorkAdventure pods Pending due to FailedScheduling / Too many pods on wk-01; wk-02 cordoned pending HDD replacement).

Apply (Atlantis offline — manual)

cd prod/terraform
terraform plan -out=956.tfplan
terraform apply 956.tfplan

Expected plan shape: updates talos_machine_configuration_apply.worker["prod-wk-01"] and .worker["prod-wk-02"] in place. Talos reloads kubelet without a full node reboot.

Verify after apply

kubectl get node prod-wk-01 -o jsonpath='{.status.capacity.pods}{"\n"}'   # 150
kubectl get pods -n workadventure                                              # back-0 + redis-master-0 schedule
kubectl get app -n argocd workadventure                                        # Synced + Healthy

Rollback

Revert this commit, re-apply. Kubelet reloads back to default.

## Summary Bump worker `kubelet.extraConfig.maxPods` from the default 110 to 150 via the Talos `worker_config_patch` local in the `talos-cluster` module. Unblocks HOMELAB-954 (WorkAdventure pods Pending due to `FailedScheduling / Too many pods` on wk-01; wk-02 cordoned pending HDD replacement). ## Apply (Atlantis offline — manual) ``` cd prod/terraform terraform plan -out=956.tfplan terraform apply 956.tfplan ``` Expected plan shape: updates `talos_machine_configuration_apply.worker["prod-wk-01"]` and `.worker["prod-wk-02"]` in place. Talos reloads kubelet without a full node reboot. ## Verify after apply ``` kubectl get node prod-wk-01 -o jsonpath='{.status.capacity.pods}{"\n"}' # 150 kubectl get pods -n workadventure # back-0 + redis-master-0 schedule kubectl get app -n argocd workadventure # Synced + Healthy ``` ## Rollback Revert this commit, re-apply. Kubelet reloads back to default.
HOMELAB-956: feat(talos): raise worker kubelet maxPods to 150
Some checks failed
0/0 projects applied successfully.
CI Review / helm-validate (pull_request) Has been cancelled
CI Review / pr-title (pull_request) Has been cancelled
CI Review / ai-review (pull_request) Has been cancelled
Lint & Validate / terraform-validate (pull_request) Has been cancelled
Lint & Validate / yaml-lint (pull_request) Has been cancelled
Lint & Validate / shellcheck (pull_request) Has been cancelled
a2714ffa6a
wk-01 is capped at the kubelet default (110 pods/node) and, with wk-02
cordoned pending HDD replacement, new deploys (observed on HOMELAB-954
WorkAdventure) hit FailedScheduling / "Too many pods". Raise the cap via
the worker config patch so there's headroom for the current stack
(harbor, temporal, longhorn, monitoring, etc.) plus new workloads.

Adds `kubelet.extraConfig.maxPods = 150` to the worker_config_patch
local. Applies to every worker via the existing
talos_machine_configuration_apply.worker loop. Talos reloads kubelet
in place — no full node reboot.

Apply path (Atlantis is offline, manual for now):
  cd prod/terraform && terraform plan -out=956.tfplan
  terraform apply 956.tfplan

Verify after apply:
  kubectl get node prod-wk-01 -o jsonpath='{.status.capacity.pods}{"\n"}'
  # expect: 150

Unblocks HOMELAB-954 (WorkAdventure pods currently Pending).
aaron merged commit 5799813436 into live 2026-04-21 05:01:38 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aaron/infra-core!177
No description provided.