Get a shell on a running container in a POD

PHOTO EMBED

Thu Nov 04 2021 13:18:02 GMT+0000 (Coordinated Universal Time)

Saved by @KobeLenjou #k8s #shell #pod

kubectl exec --stdin --tty <<PODNAME>>> -n cnext-di-tst  -- /bin/bash
content_copyCOPY

https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-running-container/