Start with one service’s actual bill
Take a service you can measure and look beyond its pods. Count compute, disks, load balancers, network traffic, and logs. Include the shared cluster costs and any platform fee. Compare periods with similar demand, and agree on the latency and error rates you need to preserve.
Read the peaks before changing requests
Requests affect where Kubernetes can place pods. A CPU limit can throttle an app, and exceeding a memory limit can terminate it. Check cold starts, batch jobs, and busy hours before reducing requests or limits. Test one change and watch latency, errors, throttling, and restarts together.
See whether nodes can actually shrink
Reducing replicas frees space on a node. To lower the compute bill, the freed space often needs to let the cluster remove a node. GKE’s cluster autoscaler takes pod requests and scheduling constraints into account, so a node can look quiet and still be needed. Check minimum node counts and what can safely move.
See what you still pay for at zero pods
Try an idle preview app or request-driven service with scale-to-zero. Time the first request after it wakes. Then check the remaining charges for storage, load balancing, and any nodes you keep running. A lightweight web app and a service that loads a large model can have very different startup costs.
Write down what changed
Record the service, the one setting you changed, and the change in spend at comparable traffic. Keep the test result and a way to reverse the setting if latency or errors rise later. Use your actual account when you compare optimization options and platform pricing.
Originally published
Bring one EKS or GKE workload with a recurring peak, its resource requests and a slice of the bill. We’ll use Inframan to walk through how you could measure idle capacity and judge a scaling change without losing sight of latency.
Check the cost of one Kubernetes workload