EKS Cost Components
| Component | What to assess | Evaluation focus |
|---|---|---|
| Cluster management | Selected configuration and current provider terms. | Compare the complete deployment. |
| EC2 nodes | Capacity, scheduling and commercial options. | Evaluate against workload requirements |
| Persistent volumes | Retained data, performance and recovery needs. | Confirm ownership before changes. |
| Load balancers | Traffic and architecture requirements. | Include availability and operations. |
| Network transfer and NAT | Actual routes, volumes and current terms. | Assess full configuration costs. |
Karpenter: Replace Cluster Autoscaler
Karpenter (now a CNCF project, AWS-originated) makes smarter node provisioning decisions than Cluster Autoscaler. Key advantages: it selects the optimal instance type and size for each pending pod batch (not just scaling a fixed node group), enables Consolidation (rebalancing pods onto fewer nodes when possible), and responds faster to scale events.
Review consolidation alongside workload demand, disruption settings and recovery requirements. Confirm the supported NodePool configuration for your deployed version, then test behavior before treating a smaller node count as a cost reduction.
Graviton Nodes: Compatibility and Workload Testing
Consider Arm-based instance options where your application and dependencies support them. Build and test compatible container images, benchmark your own workload, and compare performance, resource requirements and current provider terms before changing node pools.
This example targets the Karpenter v1 NodePool API and requires an existing, suitable AWS EC2NodeClass named default. Adapt that reference and validate against your installed CRDs before applying. Allowing both arm64 and amd64 does not express an architecture preference; pod constraints and images must support the nodes on which they run.
Spot Node Groups for EKS
Use Spot capacity for workloads that tolerate interruption. The example allows both Spot and On-Demand; Karpenter prioritizes Spot within those allowed capacity types. spec.weight ranks separate matching NodePools; it does not set capacity-type preference within one pool. A Spot-only requirement excludes On-Demand fallback from that pool. Configure and test interruption handling for your deployment. See the Karpenter NodePool reference.