Create a busybox pod that echoes 'hello world' and then exits - Casey-lab-95/cka GitHub Wiki

kubectl run busybox --image=busybox -it --restart=Never -- echo 'hello world'

or

kubectl run busybox --image=busybox -it --restart=Never -- /bin/sh -c 'echo hello world'