Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ssh to k8s pod

$ kubectl exec -it <Pod_Name> -c <Container_Name> -- /bin/bash
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ssh #pod
ADD COMMENT
Topic
Name
6+1 =