Difference between revisions of "-c"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== Related == | == Related == | ||
− | [[kubectl get pods POD_NAME_HERE -o jsonpath='{.spec.containers[*].name}' | + | [[kubectl get pods]] POD_NAME_HERE -o jsonpath='{.spec.containers[*].name}' |
Revision as of 19:44, 23 August 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}'
Advertising: