I scale down the deployment and now I'm scaling it up. Can any one explain this . . .

Dilly:
I scale down the deployment and now I’m scaling it up. Can any one explain this command “kubectl scale deploy nginx --replicas=nb-nginx-replicas -n nginx” I’m not getting the replica part

Freddy Paxton:
--replicas= should be a number :slightly_smiling_face: it basically dictates how many individual pods will run nginx

Freddy Paxton:
for that deployment

Dilly:
Buddy it was scaled down the pods using --replicas=0 and some activity done in that node and now want to scale up so they used the above command

Mohamed Ayman:
You need to add a number to --replicas option like this:
kubectl scale deploy nginx --replicas=4 -n nginx