Difference between revisions of "-c"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* <code>[[kubectl exec -it]] your-pod -c [[your-container]]</code>
 
* <code>[[kubectl exec -it]] your-pod -c [[your-container]]</code>
 
* <code>[[kubectl logs]] my-pod -c [[my-container]]</code>
 
* <code>[[kubectl logs]] my-pod -c [[my-container]]</code>
 +
 +
 +
== Related ==
 +
[[kubectl get pods POD_NAME_HERE -o jsonpath='{.spec.containers[*].name}']]

Revision as of 19:44, 23 August 2022


Related

[[kubectl get pods POD_NAME_HERE -o jsonpath='{.spec.containers[*].name}']]

Advertising: