Difference between revisions of "-c"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== Related == | == Related == | ||
− | + | * <code>[[kubectl get pods]] POD_NAME_HERE -o [[jsonpath]]='{.spec.containers[*].name}'</code> | |
+ | |||
+ | |||
+ | == See also == |
Revision as of 17:08, 18 October 2022
python -c
kubectl exec -it your-pod -c your-container
kubectl logs my-pod -c my-container
Related
kubectl get pods POD_NAME_HERE -o jsonpath='{.spec.containers[*].name}'
See also
Advertising: