-
Notifications
You must be signed in to change notification settings - Fork 3
/
job.yml
329 lines (329 loc) · 8.51 KB
/
job.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
api_version: batch/v1
kind: Job
metadata:
annotations: null
cluster_name: null
creation_timestamp: null
deletion_grace_period_seconds: null
deletion_timestamp: null
finalizers: null
generate_name: null
generation: null
labels:
job_name: job-name
managed_fields: null
name: job-name
namespace: null
owner_references: null
resource_version: null
self_link: null
uid: null
spec:
active_deadline_seconds: null
backoff_limit: 0
completion_mode: null
completions: null
manual_selector: null
parallelism: null
selector: null
suspend: null
template:
metadata:
annotations: null
cluster_name: null
creation_timestamp: null
deletion_grace_period_seconds: null
deletion_timestamp: null
finalizers: null
generate_name: null
generation: null
labels:
pod_name: calrissian_pod
managed_fields: null
name: calrissian_pod
namespace: null
owner_references: null
resource_version: null
self_link: null
uid: null
spec:
active_deadline_seconds: null
affinity: null
automount_service_account_token: null
containers:
- args:
- --stdout
- path to stdout
- --stderr
- path to stderr
- --usage-report
- path to usage_report
- --max-ram
- max_ram
- --max-cores
- '{{max_cores}}'
- --tmp-outdir-prefix
- '{{tmp_outdir_prefix}}'
- --pod-env-vars
- '{{pod_env_vars_path}}'
- --pod-nodeselectors
- '{{pod_nodeselectors_path}}'
- --debug
- --no-read-only
- --outdir
- '{{outdir}}'
- /workflow/workflow.cwl
- /workflow/params.yml
command:
- calrissian
env:
- name: CALRISSIAN_POD_NAME
value: null
value_from:
config_map_key_ref: null
field_ref:
api_version: null
field_path: metadata.name
resource_field_ref: null
secret_key_ref: null
env_from: null
image: terradue/calrissian:0.11.0-sprint1
image_pull_policy: Always
lifecycle: null
liveness_probe: null
name: calrissian
ports: null
readiness_probe: null
resources: null
security_context: null
startup_probe: null
stdin: null
stdin_once: null
termination_message_path: null
termination_message_policy: null
tty: null
volume_devices: null
volume_mounts:
- mount_path: /workflow/workflow.cwl
mount_propagation: null
name: cwl-workflow
read_only: null
sub_path: null
sub_path_expr: null
- mount_path: /workflow/params.yml
mount_propagation: null
name: parameters
read_only: null
sub_path: null
sub_path_expr: null
- mount_path: /calrissian
mount_propagation: null
name: calrissian-wdir
read_only: null
sub_path: null
sub_path_expr: null
working_dir: null
- args:
- while [ -z $(kubectl get pods $HOSTNAME -o jsonpath='{.status.containerStatuses[0].state.terminated}')
]; do sleep 5; done; [ -f {{usage_report}} ] && cat {{usage_report}}
command:
- sh
- -c
env: []
env_from: null
image: bitnami/kubectl
image_pull_policy: Always
lifecycle: null
liveness_probe: null
name: sidecar-container-usage
ports: null
readiness_probe: null
resources: null
security_context: null
startup_probe: null
stdin: null
stdin_once: null
termination_message_path: null
termination_message_policy: null
tty: null
volume_devices: null
volume_mounts:
- mount_path: /calrissian
mount_propagation: null
name: calrissian-wdir
read_only: null
sub_path: null
sub_path_expr: null
working_dir: null
- args:
- while [ -z $(kubectl get pods $HOSTNAME -o jsonpath='{.status.containerStatuses[0].state.terminated}')
]; do sleep 5; done; [ -f {{stdout}} ] && cat {{stdout}}
command:
- sh
- -c
env: []
env_from: null
image: bitnami/kubectl
image_pull_policy: Always
lifecycle: null
liveness_probe: null
name: sidecar-container-output
ports: null
readiness_probe: null
resources: null
security_context: null
startup_probe: null
stdin: null
stdin_once: null
termination_message_path: null
termination_message_policy: null
tty: null
volume_devices: null
volume_mounts:
- mount_path: /calrissian
mount_propagation: null
name: calrissian-wdir
read_only: null
sub_path: null
sub_path_expr: null
working_dir: null
dns_config: null
dns_policy: null
enable_service_links: null
ephemeral_containers: null
host_aliases: null
host_ipc: null
host_network: null
host_pid: null
hostname: null
image_pull_secrets: null
init_containers: null
node_name: null
node_selector: null
os: null
overhead: null
preemption_policy: null
priority: null
priority_class_name: null
readiness_gates: null
restart_policy: Never
runtime_class_name: null
scheduler_name: null
security_context: null
service_account: null
service_account_name: null
set_hostname_as_fqdn: null
share_process_namespace: null
subdomain: null
termination_grace_period_seconds: null
tolerations: null
topology_spread_constraints: null
volumes:
- aws_elastic_block_store: null
azure_disk: null
azure_file: null
cephfs: null
cinder: null
config_map:
default_mode: null
items:
- key: cwl-workflow
mode: null
path: workflow.cwl
name: cwl-volume
optional: false
csi: null
downward_api: null
empty_dir: null
ephemeral: null
fc: null
flex_volume: null
flocker: null
gce_persistent_disk: null
git_repo: null
glusterfs: null
host_path: null
iscsi: null
name: cwl-workflow
nfs: null
persistent_volume_claim: null
photon_persistent_disk: null
portworx_volume: null
projected: null
quobyte: null
rbd: null
scale_io: null
secret: null
storageos: null
vsphere_volume: null
- aws_elastic_block_store: null
azure_disk: null
azure_file: null
cephfs: null
cinder: null
config_map:
default_mode: null
items:
- key: parameters
mode: null
path: params.yml
name: params-volume
optional: false
csi: null
downward_api: null
empty_dir: null
ephemeral: null
fc: null
flex_volume: null
flocker: null
gce_persistent_disk: null
git_repo: null
glusterfs: null
host_path: null
iscsi: null
name: params
nfs: null
persistent_volume_claim: null
photon_persistent_disk: null
portworx_volume: null
projected: null
quobyte: null
rbd: null
scale_io: null
secret: null
storageos: null
vsphere_volume: null
- aws_elastic_block_store: null
azure_disk: null
azure_file: null
cephfs: null
cinder: null
config_map: null
csi: null
downward_api: null
empty_dir: null
ephemeral: null
fc: null
flex_volume: null
flocker: null
gce_persistent_disk: null
git_repo: null
glusterfs: null
host_path: null
iscsi: null
name: calrissian-wdir
nfs: null
persistent_volume_claim:
claim_name: calrissian-wdir
read_only: null
photon_persistent_disk: null
portworx_volume: null
projected: null
quobyte: null
rbd: null
scale_io: null
secret: null
storageos: null
vsphere_volume: null
ttl_seconds_after_finished: null
status: null