go.ligato.io/vpp-agent/v3@v3.5.0/k8s/perf-demo/scenario2/vswitch/vswitch.yaml (about)

     1  ---
     2  apiVersion: v1
     3  kind: Pod
     4  metadata:
     5    name: vswitch-vpp
     6  spec:
     7    hostNetwork: true
     8    containers:
     9      - name: "vswitch"
    10        image: ligato/vpp-agent
    11        imagePullPolicy: IfNotPresent
    12        securityContext:
    13          privileged: true
    14        ports:
    15          - containerPort: 5002
    16          - containerPort: 9191
    17        readinessProbe:
    18          httpGet:
    19            path: /readiness
    20            port: 9191
    21          periodSeconds: 1
    22        livenessProbe:
    23          httpGet:
    24            path: /liveness
    25            port: 9191
    26          periodSeconds: 1
    27          initialDelaySeconds: 15
    28        env:
    29          - name: MICROSERVICE_LABEL
    30            value: vswitch
    31        volumeMounts:
    32          - name: vpp-config
    33            mountPath: /etc/vpp
    34          - name: agent-config
    35            mountPath: /opt/vpp-agent/dev
    36          - name: memif-sockets
    37            mountPath: /tmp
    38    volumes:
    39      - name: vpp-config
    40        configMap:
    41          name: vswitch-vpp-cfg
    42      - name: agent-config
    43        configMap:
    44          name: vswitch-agent-cfg
    45      - name: memif-sockets
    46        hostPath:
    47          path: /tmp