-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnode_debug_pod.yaml
53 lines (52 loc) · 1.05 KB
/
node_debug_pod.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
46
47
48
49
50
51
52
apiVersion: v1
kind: Pod
metadata:
annotations:
openshift.io/scc: privileged
name: master-0-bench
spec:
containers:
- command:
- /bin/fio
args:
- --name=randwrite
- --iodepth=1 -
- --rw=randwrite
- --bs=4m
- --size=256M
image: quay.io/gbsalinetti/perf-utils:latest
imagePullPolicy: IfNotPresent
name: perf-utils-00
resources: {}
securityContext:
privileged: true
runAsUser: 0
stdin: true
stdinOnce: true
tty: true
volumeMounts:
- mountPath: /host
name: host
hostNetwork: true
hostPID: true
nodeName: master-0
priority: 0
restartPolicy: Never
securityContext: {}
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- hostPath:
path: /
type: Directory
name: host