DevOps Classroom Series – 18/Apr/2021
Horizonal pod autoscaler HPA
- HPA automatically scales number of pods in Replica Set, deployment based on observed CPU utilization or with custom metrics support.
- Deploy any application and execute the following command
kubectl autoscale deployment admin-service-deployment --cpu-percent=50 --min=1 --max=5
- Refer Here for the sample hpa
- Refer Here for official docs