Cloud & DevOps / Reference implementation
WhiteFriday Engine
An event-traffic scaling lab combining EKS, Karpenter, application autoscaling, load tests, and disruption scenarios.
- Focus
- Infrastructure & platform engineering
- Project type
- Reference implementation
- Core technologies
- Terraform · EKS · Karpenter · Prometheus

Context
The engineering problem
Large sales events create uneven demand. Capacity planning needs application signals, node provisioning, cost controls, and tests for infrastructure disruption.
Architecture at a glance
A simplified implementation map based on the linked repository. Arrows show the principal relationships; deployment details live in the source.
- clientk6 / Locust trafficLoad scenariosserviceEKS demo services
- serviceEKS demo servicesMetrics endpointinfraPrometheus metrics
- infraPrometheus metricsScaling signalsinfraHPA replicas
- infraHPA replicasPending workload demandinfraKarpenter capacity
- infraKarpenter capacityNode provisioninginfraSpot / On-Demand
All system components (6)
- k6 / Locust trafficclient
- EKS demo servicesservice
- Prometheus metricsinfra
- HPA replicasinfra
- Karpenter capacityinfra
- Spot / On-Demandinfra
Approach
Implementation decisions
Scale at two levels
HPA configuration addresses workload replicas while Karpenter node pools address underlying compute capacity.
Mix capacity deliberately
Separate Spot and On-Demand node-pool definitions make capacity tradeoffs explicit.
Exercise failure paths
Load-test scenarios, zone disruption configuration, and rollback scripts make reliability work inspectable.
Explore the implementation
Start with the source.
These entry points connect the architecture to the implementation.
- Demo order service ↗kubernetes/microservices/order-service/server.js
- Application autoscaling ↗kubernetes/hpa/order-service-hpa.yaml
- Spot node pool ↗kubernetes/karpenter/nodepool-spot.yaml
- Load-test scenario ↗kubernetes/k6-tests/white-friday-load-test.js
Implementation scope
Scaling and resilience reference environment with an in-memory demo order service. The Karpenter manifests target an older API, and the k6 scenario includes an undefined metric. Both need correction for the chosen cluster and test harness before a measured load run.