go.ligato.io/vpp-agent/v3@v3.5.0/k8s/dev-setup/vswitch-vpp.yaml (about) 1 --- 2 apiVersion: v1 3 kind: ConfigMap 4 metadata: 5 name: vswitch-vpp-cfg 6 data: 7 vpp.conf: | 8 unix { 9 nodaemon 10 cli-listen 0.0.0.0:5002 11 } 12 dpdk { 13 dev 0000:00:08.0 14 uio-driver igb_uio 15 } 16 --- 17 apiVersion: v1 18 kind: ConfigMap 19 metadata: 20 name: vswitch-agent-cfg 21 data: 22 etcd.conf: | 23 insecure-transport: true 24 dial-timeout: 1s 25 endpoints: 26 - "172.17.0.1:22379" 27 kafka.conf: | 28 addrs: 29 - "172.17.0.1:9092" 30 --- 31 apiVersion: v1 32 kind: Pod 33 metadata: 34 name: vswitch-vpp 35 spec: 36 containers: 37 - name: "vswitch-vpp" 38 image: dev_vpp_agent 39 imagePullPolicy: IfNotPresent 40 securityContext: 41 privileged: true 42 ports: 43 - containerPort: 5002 44 env: 45 - name: MICROSERVICE_LABEL 46 value: vpp1 47 volumeMounts: 48 - name: vpp-config 49 mountPath: /etc/vpp 50 - name: agent-config 51 mountPath: /opt/vpp-agent/dev 52 - name: memif-sockets 53 mountPath: /tmp 54 volumes: 55 - name: vpp-config 56 configMap: 57 name: vswitch-vpp-cfg 58 - name: agent-config 59 configMap: 60 name: vswitch-agent-cfg 61 - name: memif-sockets 62 hostPath: 63 path: /tmp