Create a pod that echo "hello world" and then exists. Have the pod deleted automatically when it’s completed

Create a pod that echo "hello world" and then exists. Have the pod deleted automatically when it’s completed
A . Solution:
kubectl run busybox –image=busybox -it –rm –restart=Never — /bin/sh -c ‘echo hello world’
kubectl get po # You shouldn’t see pod with the name "busybox"

Answer: A

Latest CKA Dumps Valid Version with 122 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments