I have mentioned 12 replicas in below command. but, It is creating only one pod. . . .

Shahu Pawar:
I have mentioned 12 replicas in below command. but, It is creating only one pod. what is the issue here?
image.png

Tej_Singh_Rana:
Because pod doesn’t support --replicas flag instead try with deployment.

kubectl create deploy deploy-name --replicas=20 --image=<image-name>

Shahu Pawar:
Worked. Thanks for the quick response.