Kubernetes - Pods
Which of the following is the correct syntax to create a Pod named 'testpod' using the busybox image with kubectl?
kubectl run command with --restart=Never creates a Pod directly.kubectl create pod which is invalid. kubectl deploy testpod --image=busybox uses kubectl deploy which is not a kubectl command. kubectl pod create testpod --image=busybox uses kubectl pod create which is invalid. Only kubectl run testpod --image=busybox --restart=Never is correct syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions