[zh-cn]Update content/zh-cn/docs/concepts/workloads/controllers/job.md

pull/35268/head
Kinzhi 2022-07-23 14:49:22 +08:00
parent 1ec0f98695
commit a2166e41b5
1 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ Pod Template:
job-name=pi job-name=pi
Containers: Containers:
pi: pi:
Image: perl Image: perl:5.34.0
Port: <none> Port: <none>
Host Port: <none> Host Port: <none>
Command: Command:
@ -561,7 +561,7 @@ spec:
spec: spec:
containers: containers:
- name: pi - name: pi
image: perl image: perl:5.34.0
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"] command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
restartPolicy: Never restartPolicy: Never
``` ```
@ -639,7 +639,7 @@ spec:
spec: spec:
containers: containers:
- name: pi - name: pi
image: perl image: perl:5.34.0
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"] command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
restartPolicy: Never restartPolicy: Never
``` ```