Configuring Guarded Worker Rebalancing with Descheduler
This push introduces a guarded worker rebalancing capability by wiring the Kubernetes descheduler through Argo CD with staged validation gates, updated Octelium node labeling, and preflight checks that block activation until live capacity evidence passes.
Descheduler Staging and Activation Gates
The descheduler chart (pinned at 0.33.0) is now rendered as a suspended CronJob with a */30 * * * * schedule and startingDeadlineSeconds: 120. The cadence check (descheduler-cadence-check.sh) validates both the suspended and active render paths, ensuring the Argo values source tracks main and the overrides specify kind=CronJob with a suspend parameter. The policy check (descheduler-policy-check.py) raises the LowNodeUtilization thresholds from 20/50 to 70/85 percent, reflecting reviewed utilization targets. The release check (descheduler-release-check.py) adds an activation_requested gate that only returns true when suspend=false, and a preflight mode that collects live node, Pod, lease, Job, and kubelet evidence before allowing the CronJob to unsuspend.
Octelium Bootstrap Node Topology
The bootstrap script (octelium-cluster-bootstrap.sh) and static CI check (static-checks.sh) now require the octelium.com/node-mode-dataplane label on all three ZimaBoards (zimaboard-0, zimaboard-1, zimaboard-2) and explicitly forbid it on acer. The bootstrap script refuses to mutate the cluster if these selectors fail. The protected node-label apply in the runbook checks allocatable requests and live memory before adding a gateway agent, using the pinned Octelium v0.35.0 Genesis budget for fresh bootstraps or the live DaemonSet template afterward. The worker’s LAN IPv4 annotation preserves the existing tailnet route, and existing proxies keep their placements until a subsequent scheduling event.
CI Integration and Platform Transfer
The terragrunt apply pipeline (terragrunt-apply.sh) now invokes descheduler-release-check.py --activation-preflight when the descheduler Argo CD app is in the change set, and the test harness (terragrunt-apply-test.py) copies the descheduler check scripts into the CI environment. The architecture doc records a December 1, 2026 finding that the QNAP iSCSI block-storage path is unavailable, with a migration plan that decouples volume moves from memory-request changes and keeps PVC and node-fit eviction protections during descheduler activation. This pattern — stage a suspended controller, validate rendered config and live capacity, then gate activation with a protected manual apply — transfers to any platform team that needs to introduce cluster-level controllers (descheduler, cluster-autoscaler, node-problem-detector) without risking uncontrolled evictions.