summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/pod-rapid.yaml
blob: 5ce09071b8cc3be25a94f8768d5bbfab2a8bebee (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
apiVersion: v1
kind: Pod
metadata:
  name: pod-rapid-
  annotations:
    k8s.v1.cni.cncf.io/networks: intel-sriov-vfio
spec:
  containers:
  - name: pod-rapid
    image: localhost:5000/prox_slim:latest
    imagePullPolicy: Always
    securityContext:
      capabilities:
        add: ["IPC_LOCK"]
    volumeMounts:
    - mountPath: /dev/hugepages
      name: hugepages
    resources:
      requests:
        hugepages-2Mi: 512Mi
        memory: 1Gi
        intel.com/intel_sriov_vfio: '1'
      limits:
        hugepages-2Mi: 512Mi
        intel.com/intel_sriov_vfio: '1'
  volumes:
  - name: hugepages
    emptyDir:
      medium: HugePages
  restartPolicy: Never