blob: 9e269f60e61fa01fd71ff76b2de918ac619c98e3 (
plain)
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
|
apiVersion: v1
kind: Pod
metadata:
name: pod-rapid-
annotations:
k8s.v1.cni.cncf.io/networks: intel-sriov-vfio
spec:
containers:
- name: pod-rapid
image: opnfv/rapid:latest
imagePullPolicy: Always
securityContext:
capabilities:
add: ["IPC_LOCK", "NET_ADMIN"]
volumeMounts:
- mountPath: /dev/hugepages
name: hugepages
resources:
requests:
hugepages-2Mi: 1Gi
memory: 1Gi
cpu: 8
intel.com/intel_sriov_vfio: '1'
limits:
hugepages-2Mi: 1Gi
memory: 1Gi
cpu: 8
intel.com/intel_sriov_vfio: '1'
volumes:
- name: hugepages
emptyDir:
medium: HugePages
restartPolicy: Never
|