-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfio-visualizer.yaml
More file actions
71 lines (71 loc) · 1.29 KB
/
Copy pathfio-visualizer.yaml
File metadata and controls
71 lines (71 loc) · 1.29 KB
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
---
apiVersion: v1
kind: Pod
metadata:
name: fio-visualizer
namespace: simple-fio
labels:
app: fio-visualizer
spec:
volumes:
- name: storage-fio
persistentVolumeClaim:
claimName: fio-data-pvc
containers:
- name: fio-visualizer
image: quay.io/abose/simple-fio-visualizer:latest
volumeMounts:
- name: storage-fio
mountPath: /mnt
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
capabilities:
drop:
- ALL
ports:
- containerPort: 5000
protocol: TCP
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "2Gi"
cpu: "1"
---
apiVersion: v1
kind: Service
metadata:
name: fio-visualizer
namespace: simple-fio
labels:
app: fio-visualizer
spec:
type: ClusterIP
ports:
- port: 5000
targetPort: 5000
protocol: TCP
name: http-5000
selector:
app: fio-visualizer
---
apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: fio-visualizer
namespace: simple-fio
labels:
app: fio-visualizer
spec:
to:
kind: Service
name: fio-visualizer
port:
targetPort: http-5000
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect