Skip to content

Commit 43184ab

Browse files
authored
Update job.md
1 parent 3b42299 commit 43184ab

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/job.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ spec:
9292
containers:
9393
- name: echo
9494
image: busybox
95-
command: [for i in 9 8 7 6 5 4 3 2 1 ; do echo $i ; done]
95+
command:
96+
- "/bin/sh"
97+
args:
98+
- "-c"
99+
- "for i in 9 8 7 6 5 4 3 2 1 ; do echo $i ; done"
96100
```
97101

98102
使用命令和 Job 也基本保持一致,这里就不过多赘述。

0 commit comments

Comments
 (0)