How to easily start a Pod in k8s for debugging purposes

You can run the following command to start an alpine container:

kubectl run -i --tty alpine --image=alpine --restart=Never -- sh

Leave a Reply

Your email address will not be published. Required fields are marked *