go.ligato.io/vpp-agent/v3@v3.5.0/k8s/perf-demo/scenario4/vswitch/vswitch.yaml (about) 1 --- 2 apiVersion: v1 3 kind: Pod 4 metadata: 5 name: vswitch-vpp 6 spec: 7 hostNetwork: true 8 hostPID: true 9 containers: 10 - name: "vswitch" 11 image: ligato/vpp-agent 12 imagePullPolicy: IfNotPresent 13 securityContext: 14 privileged: true 15 ports: 16 - containerPort: 5002 17 - containerPort: 9191 18 readinessProbe: 19 httpGet: 20 path: /readiness 21 port: 9191 22 periodSeconds: 1 23 livenessProbe: 24 httpGet: 25 path: /liveness 26 port: 9191 27 periodSeconds: 1 28 initialDelaySeconds: 15 29 env: 30 - name: MICROSERVICE_LABEL 31 value: vswitch 32 volumeMounts: 33 - name: vpp-config 34 mountPath: /etc/vpp 35 - name: agent-config 36 mountPath: /opt/vpp-agent/dev 37 - name: memif-sockets 38 mountPath: /tmp 39 - name: docker-socket 40 mountPath: /var/run/docker.sock 41 volumes: 42 - name: vpp-config 43 configMap: 44 name: vswitch-vpp-cfg 45 - name: agent-config 46 configMap: 47 name: vswitch-agent-cfg 48 - name: memif-sockets 49 hostPath: 50 path: /tmp 51 - name: docker-socket 52 hostPath: 53 path: /var/run/docker.sock