mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
An EKS Auto Mode node from an image whose own kubelet registers it saw the Docker host's CPUs and memory as its capacity, not its instance type's. The instance's NodeConfig now sets the kubelet's systemReserved to the host's size beyond the type's, less what nodeadm's CPU tiers take from the host's extra cores, so the node offers what the type offers on AWS. A host no bigger than the type, or one whose size can't be read, reserves nothing. A launch's candidate types, a node still joining and a consolidation's replacement are sized by what a node of the type offers pods: its CPU less the EKS AMI's kube reservation tiers, and its memory less 11 MiB per pod plus 255 MiB and the 100 MiB eviction threshold, as Karpenter counts it. Pool limits still count the type's capacity. Part of #8914