-
Notifications
You must be signed in to change notification settings - Fork 22
/
pod_cyclictest.yaml
46 lines (46 loc) · 1.26 KB
/
pod_cyclictest.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
apiVersion: v1
kind: Pod
metadata:
name: cyclictest
annotations:
cpu-load-balancing.crio.io: "disable"
irq-load-balancing.crio.io: "disable"
cpu-quota.crio.io: "disable"
spec:
# Map to the correct performance class in the cluster (from PAO)
# Identify class names with "oc get runtimeclass"
runtimeClassName: performance-openshift-node-performance-profile
restartPolicy: Never
containers:
- name: cyclictest
image: quay.io/container-perf-tools/cyclictest
imagePullPolicy: Always
# Request and Limits must be identical for the Pod to be assigned to the QoS Guarantee
resources:
requests:
memory: "200Mi"
cpu: "4"
limits:
memory: "200Mi"
cpu: "4"
env:
- name: tool
value: "cyclictest"
- name: DURATION
value: "1h"
# cyclictest should run with an RT Priority of 95 when testing for RAN DU
- name: rt_priority
value: "95"
- name: INTERVAL
value: "1000"
- name: delay
value: "0"
- name: TRACE_THRESHOLD
value: ""
- name: EXTRA_ARGS
value: ""
securityContext:
# Required for access to /dev/cpu_dma_latency and /sys/kernel/debug on the host
privileged: true
nodeSelector:
node-role.kubernetes.io/worker: ""