-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathfio_statefulset.yaml
More file actions
40 lines (40 loc) · 863 Bytes
/
Copy pathfio_statefulset.yaml
File metadata and controls
40 lines (40 loc) · 863 Bytes
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
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: fio
spec:
serviceName: fio
replicas: 3
selector:
matchLabels:
app: fio
template:
metadata:
labels:
app: fio
spec:
containers:
- name: fio
image: joshuarobinson/fio:3.19
command: ["fio"]
args: ["/configs/fio.job", "--eta=never", "--filename_format=$jobnum.$filenum", "--directory=/scratch/"]
volumeMounts:
- name: fio-config-vol
mountPath: /configs
- name: fio-data
mountPath: /scratch
volumes:
- name: fio-config-vol
configMap:
name: fio-job-config
volumeClaimTemplates:
- metadata:
name: fio-data
spec:
storageClassName: pure-block
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 4Ti