India’s Leading Domain & Web Hosting Provider
Express logistics firm halves GKE idle capacity and moves route planning to Spot
Courier network with 18,000 pin codes and 11 lakh shipments a day · Google Cloud Mumbai (asia-south1), DR in Delhi (asia-south2) · 10 weeks
As-is situation
Shipment booking, tracking, rider apps and route optimisation ran on four GKE Standard clusters with fixed node pools of n2-standard-8 machines. GKE spend was ₹44 lakh a month. Node utilisation averaged 31% because pools were sized for the 6-9 p.m. booking peak and never shrank. Route optimisation, a nightly batch that recalculated rider routes for 2,400 hubs, ran on the same on-demand nodes. Cost was allocated only by cluster, so the four engineering groups had no view of their share.
- Fixed node pools sized for the evening peak left 46% of node cost idle.
- Nightly route optimisation consumed 30% of cluster CPU-hours on on-demand nodes.
- Allocation stopped at cluster level, so four groups shared one cost figure.
Approach, tools and architecture
NTSPL enabled GKE cost allocation so namespace and label costs appeared in the BigQuery billing export, and built group-level showback with idle cost separate. Cluster autoscaling with the optimize-utilization profile and node auto-provisioning replaced fixed pools, letting nodes shrink after the evening peak. GKE workload rightsizing recommendations drove request changes for 190 deployments. Route optimisation moved to a Spot node pool across three machine families with checkpointing every five minutes, and its start time was spread across a two-hour window to smooth demand.
Implementation approach
Measured results
Operational improvements
- Nodes now shrink after the evening booking peak instead of idling until morning.
- Engineering groups review their own GKE cost monthly with the platform team.
Cost considerations
Spot pre-emptions caused about 3% of route-optimisation shards to rerun from checkpoints, adding minutes, not hours. Enabling cost allocation has no charge beyond billing export storage. CUDs were recalculated after the change to cover only the new on-demand floor.
Return on investment
₹17 lakh a month saved, close to 39% of GKE spend, with payback within the first month after rollout. Route plans became more reliable because the staggered Spot window removed contention with the morning booking start.