go.ligato.io/vpp-agent/v3@v3.5.0/tests/robot/resources/k8-yaml/novpp.yaml (about)

     1  ---
     2  apiVersion: apps/v1beta1
     3  kind: StatefulSet
     4  metadata:
     5    name: novpp
     6  spec:
     7    selector:
     8      matchLabels:
     9        name: ubuntu-service
    10    serviceName: "ubuntu-service"
    11    replicas: 1
    12    template:
    13      metadata:
    14        labels:
    15          name: ubuntu-service
    16      spec:
    17        terminationGracePeriodSeconds: 3
    18        containers:
    19          - name: ubuntu
    20            image: ligato/dev-cn-infra:latest
    21            imagePullPolicy: IfNotPresent
    22            command: ["sleep"]
    23            args: ["infinity"]
    24            volumeMounts:
    25              - name: veth-pair
    26                mountPath: /var/run/docker.sock
    27            env:
    28              - name: MICROSERVICE_LABEL
    29                valueFrom:
    30                  fieldRef:
    31                    fieldPath: metadata.name
    32        volumes:
    33          - name: veth-pair
    34            hostPath:
    35              path: /var/run/docker.sock