AWS EKS Cluster Scaled to 8 Nodes Live Under k6 Load Test With Karpenter and HPA
A hands-on experiment tested whether an AWS EKS cluster running Google's Online Boutique (11 microservices) could handle large-scale traffic using Kubernetes autoscaling tools. HorizontalPodAutoscalers (HPA) were configured for 10 services with CPU and memory targets, while Karpenter replaced the fixed node group to enable dynamic node provisioning. A k6 load test ramped up to 3,000 virtual users in-cluster, causing replica counts to climb across multiple services as CPU and memory thresholds were crossed. The cluster's node count grew from 2 to 8 at peak load, with Karpenter provisioning new EC2 instances in response to pending pods, then consolidating back to 2 nodes once the test ended. A key finding was that metrics-server must be verified before relying on HPA, as its absence causes HPA to silently fail rather than report an error.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in