summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/pod-rapid.yaml
blob: 6d5e8205ce091a6eb691ec3e9d60be8043bebb39 (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: 512Mi
        memory: 1Gi
        cpu: 8
        intel.com/intel_sriov_vfio: '1'
      limits:
        hugepages-2Mi: 512Mi
        memory: 1Gi
        cpu: 8
        intel.com/intel_sriov_vfio: '1'
  volumes:
  - name: hugepages
    emptyDir:
      medium: HugePages
  restartPolicy: Never