kubectl run ubuntu image straight into bash shell mode
This is really one of my favourite command to use when i troubleshoot issues with pods
kubectl run -it ubuntu-shell --image=ubuntu:22.04 --restart=Never --rm -- bash
This is really one of my favourite command to use when i troubleshoot issues with pods
kubectl run -it ubuntu-shell --image=ubuntu:22.04 --restart=Never --rm -- bash
Comments