apiVersion: v1 kind: Pod metadata: name: userspace-ovs-pod annotations: k8s.v1.cni.cncf.io/networks: userspace-ovs-net, userspace-ovs-net spec: containers: - name: multi-vhost image: dpdk-app-centos:latest imagePullPolicy: Never securityContext: privileged: true volumeMounts: - mountPath: /etc/podnetinfo name: podinfo readOnly: false - mountPath: /var/run/openvswitch/ name: shared-dir - mountPath: /dev/hugepages name: hugepage resources: requests: cpu: "4000m" hugepages-1Gi: 4Gi limits: cpu: "4000m" hugepages-1Gi: 4Gi command: ["sleep", "infinity"] nodeSelector: vswitch: ovs volumes: - name: podinfo downwardAPI: items: - path: "labels" fieldRef: fieldPath: metadata.labels - path: "annotations" fieldRef: fieldPath: metadata.annotations - name: shared-dir hostPath: path: /usr/local/var/run/openvswitch/ - name: hugepage emptyDir: medium: HugePages