optimize-costs-for-google-kubernetes-engine
Optimize Costs for Google Kubernetes Engine
Optimize Costs for Google Kubernetes Engine: Challenge Lab
Set your Zone
1. Create the cluster with 2 nodes and Rapid release channel
2. Authenticate the cluster
3. Create the namespaces
4. Clone and deploy the application
1. Create the optimized node pool (Custom Machine Type)
2. Cordon the old nodes (Mark them as unschedulable)
3. Drain the old nodes (Evict pods to the new pool)
4. Delete the old pool
1. Set the Pod Disruption Budget
2. Update the frontend image to v2.1
3. Set Image Pull Policy to Always
1. Set Horizontal Pod Autoscaler for Frontend (Max 11)
2. Enable Cluster Autoscaler (Scale nodes 1 to 6)
3. Run the load test (Update with your Frontend External IP)
4. Autoscale Recommendation Service (Max 5)
Check Pod status in dev
Check HPA scaling progress
Check node scaling
Check resource usage per pod
Last updated