[Verse 1]
When your pods are running slow and traffic starts to grow
Your deployment needs some help to handle all the flow
CPU is climbing high, users start to cry
Time to scale it up and down, let Kubernetes try
[Chorus]
H-P-A, scaling pods all day
Min of two, max of ten, keeping load at bay
Seventy percent CPU, that's the magic line
Auto-scale will save the day, working every time
Kubectl auto-scale, never gonna fail
Horizontal pods will rise when metrics tell the tale
[Verse 2]
Start with your deployment name, specify the range
Minimum replicas two, maximum can change
Up to ten pods running when the pressure's really on
Back to two when traffic's light, resources never gone
[Chorus]
H-P-A, scaling pods all day
Min of two, max of ten, keeping load at bay
Seventy percent CPU, that's the magic line
Auto-scale will save the day, working every time
Kubectl auto-scale, never gonna fail
Horizontal pods will rise when metrics tell the tale
[Bridge]
CPU percent seventy is the threshold we define
Above this line we scale up high, below we scale down fine
Deployment slash your app name, then the flags you'll need
Min and max and CPU percent, that's the scaling creed
[Verse 3]
No more manual scaling wars, no more sleepless nights
HPA will watch your load and adjust to traffic spikes
From audiobooks to any app, the pattern stays the same
Horizontal Pod Autoscaler is the scaling game
[Chorus]
H-P-A, scaling pods all day
Min of two, max of ten, keeping load at bay
Seventy percent CPU, that's the magic line
Auto-scale will save the day, working every time
Kubectl auto-scale, never gonna fail
Horizontal pods will rise when metrics tell the tale
[Outro]
Set it once and let it run
Auto-scaling's never done
Min two, max ten, seventy CPU
HPA will see you through