If you have a script you want to be run in a temporary pod, just pass it as container arguments like so:
k run test --image=busybox --restart=Never --rm -it -- /bin/sh -c 'while true; do date; sleep 1; done' If you have a script you want to be run in a temporary pod, just pass it as container arguments like so:
k run test --image=busybox --restart=Never --rm -it -- /bin/sh -c 'while true; do date; sleep 1; done'