Do the same, but have the pod deleted automatically when it's completed - Casey-lab-95/cka GitHub Wiki

kubectl run busybox --image=busybox -it --rm --restart=Never -- /bin/sh -c 'echo hello world' kubectl get po # nowhere to be found :)