Merge pull request #388 from matthew188/patch-1

Update job.md
pull/389/head
Jimmy Song 2020-02-29 10:49:30 +08:00 committed by GitHub
commit bff0562bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ spec:
$ kubectl create -f ./job.yaml
job "pi" created
$ pods=$(kubectl get pods --selector=job-name=pi --output=jsonpath={.items..metadata.name})
$ kubectl logs $pods
$ kubectl logs $pods -c pi
3.141592653589793238462643383279502...
```