Kubernetes: Horizontal Pod Autoscaling (HPA)

Number of pods = (60 + 90 + 50) / 50 = 4
kubectl autoscale deployment testAppDeployment testAppHpa --cpu-percentage=30 --min=1 --max=5
kubetl get hpa -A
kubectl describe hpa testAppHpa 
kubectl get hpa testAppHpa -o yaml

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store