We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a88aaa commit 03617d5Copy full SHA for 03617d5
1 file changed
README.md
@@ -1462,7 +1462,11 @@ spec:
1462
containers:
1463
- name: echo
1464
image: busybox
1465
- command: [for i in 9 8 7 6 5 4 3 2 1 ; do echo $i ; done]
+ command:
1466
+ - "/bin/sh"
1467
+ args:
1468
+ - "-c"
1469
+ - "for i in 9 8 7 6 5 4 3 2 1 ; do echo $i ; done"
1470
```
1471
1472
通过下面的命令创建 job,可以通过 `kubectl get pods -w` 来观察 job 创建 pod 的过程和结果。最后可以通过 `logs` 命令查看日志。
0 commit comments