Pod Run
Templates
Get pod manifest
kubectl run POD --image=IMAGE -o yaml --dry-run=client > POD.yaml
Run pod options
kubectl run POD --image=IMAGE:TAG
kubectl run POD --image=IMAGE:TAG --port=PORT
kubectl run POD --image=IMAGE:TAG --labels='KEY=VALUE'
kubectl run POD --image=IMAGE:TAG --restart Never
Useful Apps
kubectl run -it busybox --image=busybox -n default --rm -- sh
kubectl run -it shell --image giantswarm/tiny-tools -n default --rm -- sh
Netshoot
kubectl run -it netshoot --image=nicolaka/netshoot -n default --rm -- sh
kubectl run netshoot --image=nicolaka/netshoot -n default -- sleep infinity