Skip to content

Commit 616a766

Browse files
committed
Switch to a parallel job
No sense running the thing forever.
1 parent 41bfc26 commit 616a766

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

fio.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
2-
apiVersion: apps/v1
3-
kind: Deployment
2+
apiVersion: batch/v1
3+
kind: Job
44
metadata:
55
name: fio
66
labels:
77
app: fio
88
spec:
9-
replicas: 3
10-
selector:
11-
matchLabels:
12-
app: fio
9+
parallelism: 3
10+
completions: 3
1311
template:
1412
metadata:
1513
labels:
@@ -36,7 +34,7 @@ spec:
3634
- name: fio-data
3735
mountPath: /scratch
3836
imagePullPolicy: Always
39-
restartPolicy: Always
37+
restartPolicy: Never
4038
volumes:
4139
- name: fio-config-vol
4240
configMap:

0 commit comments

Comments
 (0)