---
apiVersion: v1
kind: Pod
metadata:
  name: trex
  namespace: trex
  annotations:
    "cni.projectcalico.org/vpp.memif.ports":  "tcp:4444-20000,udp:4444-20000"
    "cni.projectcalico.org/vpp.tuntap.ports": "default"
spec:
  containers:
  - name: trex
    image: calicovpp/test-trex
    imagePullPolicy: IfNotPresent
    securityContext:
      privileged: true
    ports:
    - containerPort: 4444
    resources:
      limits:
        memory: 2Gi
        hugepages-2Mi: 2Gi
    volumeMounts:
    - mountPath: /hugepages
      name: hugepage
  nodeName: _NODE_2_
  volumes:
  - name: hugepage
    emptyDir:
      medium: HugePages
