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
kubectl run used to create a deployment. Since version 1.19 it creates a pod.
Obviously, some of the videos were recorded before that change.
thank you for this warning Fernando
pods need --restart=Never
also, when creating pods, you cannot use --replicas=<number>
@chris resnik true!