I was watching the solutions of Mockups II, and for the first question, they ar . . .

Edith Puclla:
I was watching the solutions of Mockups II, and for the first question, they are using
“kubectl run my-webapp --image=nginx --labels=‘tier=frontend’ --replicas=2” to create a deploy. Is this not a command to create a pod?

Fernando Jimenez:
kubectl run used to create a deployment. Since version 1.19 it creates a pod.

Fernando Jimenez:
Obviously, some of the videos were recorded before that change.

Edith Puclla:
:open_mouth: thank you for this warning Fernando

chris resnik:
pods need --restart=Never

chris resnik:
also, when creating pods, you cannot use --replicas=<number>

Edith Puclla:
@chris resnik true! :blush: