Kubernetes HPA Burst Replica, DaemonSet Overhead & Node Bin-Packer
Accounts for kubelet/system-reserved + DaemonSet CPU/GiB tax per node locally to size exact worker instance pools and prevent HPA scale-up `Pending` pod deadlocks.
Governed Workflow Steps (3)
- 1. Parse Deployment Requests/Limits,
Parse Deployment Requests/Limits, HPA maxReplicas & DaemonSet Tax: consume [manifestsJson] via ingest.local_k8s_manifest_parser to emit [clusterSpec]. Verify invariant: clusterSpec.hpaMaxReplicas >= 1.
- 2. Solve Allocatable Bin-Packing,
Solve Allocatable Bin-Packing, Stranded Fragmentation & Node Count: consume [clusterSpec] via vault.vault-k8s-hpa-pod-node-binpack-sizer to emit [requiredNodes, cpuPackingEfficiencyPct, monthlyNodeCents]. Verify invariant: requiredNodes >= 1.
- 3. Certify N+1 Zone Drain Survivability
Certify N+1 Zone Drain Survivability: consume [requiredNodes, cpuPackingEfficiencyPct] via oracle.k8s_zone_drain_binpack_oracle to emit [drainSafe]. Verify invariant: drainSafe === true.