first commit

This commit is contained in:
iProbe 2022-10-18 16:59:37 +08:00
commit ba848e218d
1001 changed files with 152333 additions and 0 deletions

View file

@ -0,0 +1,19 @@
```
apiVersion: batch/v1
kind: Job
metadata:
name: paral-1
spec:
completions: 8 ## 本pod队列可以执行的次数8表示这个任务被执行8ci
parallelism: 2 ## 并行执行的个数2表示并行执行的pod的数量即会有2个pod同时执行
template:
spec:
containers:
- name: param
image: ubuntu
command: ["bin/sh"]
args: ["-c", "sleep 30;date"]
restartPolicy: OnFailure
```