generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 47
/
startup-driver-ready.yaml
45 lines (44 loc) · 987 Bytes
/
startup-driver-ready.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: jobset.x-k8s.io/v1alpha2
kind: JobSet
metadata:
name: startup-driver-ready
spec:
startupPolicy:
startupPolicyOrder: InOrder
replicatedJobs:
- name: driver
template:
spec:
parallelism: 1
completions: 1
backoffLimit: 0
template:
spec:
containers:
- name: sleep
image: busybox
command:
- sleep
args:
- 1000s
readinessProbe:
exec:
command:
- echo
- "ready"
initialDelaySeconds: 30
- name: workers
template:
spec:
parallelism: 4
completions: 4
backoffLimit: 0
template:
spec:
containers:
- name: sleep
image: busybox
command:
- sleep
args:
- 100s