committed by
Kubernetes Prow Robot
parent
b894856e8e
commit
1ef74de2ab
@@ -114,7 +114,7 @@ The job name and pod name are different.
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# Replace "hello-4111706356" with the job name in your system
|
# Replace "hello-4111706356" with the job name in your system
|
||||||
pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[].metadata.name})
|
pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items[*].metadata.name})
|
||||||
```
|
```
|
||||||
Show pod log:
|
Show pod log:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user