Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kubectl exec run command inside pod

kubectl exec pod_name -- sh -c "some_shell_code_run_inside_pod"
Source by kubernetes.io #
 
PREVIOUS NEXT
Tagged: #kubectl #exec #run #command #pod
ADD COMMENT
Topic
Name
9+3 =