Detecting a Shell Running on a Container or Node code example Example: kubectl exec bash kubectl exec --stdin --tty shell-demo -- /bin/bash