Karan Gupta

The above is a basic representation of how scaling works with Kubernetes. When a person executes the scale command, they are essentially updating a deployment spec. Then the deployment controller updates it’s replica set spec. And the replica set changes it pod count to 2 — (it created the new pod). This triggers and control plane now decides which nodes the pods (both the new and the existing one) need to exist in.

--

--

Karan Gupta

Karan Gupta

Just a curious developer, a proud uncle, a weightlifter, & your neighborhood yogi.