summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/topo-containers/ns.yaml
blob: 3de5af595694c769f49c7545bef5e1ce4db3aa2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
volumes:
  - volume: &shared-vol
      host-dir: "$HST_VOLUME_DIR/shared-vol"

# $HST_DIR will be replaced during runtime by path to hs-test directory
containers:
  - name: "vpp"
    volumes:
      - <<: *shared-vol
        container-dir: "/tmp/vpp"
        is-default-work-dir: true
  - name: "envoy"
    volumes:
      - <<: *shared-vol
        container-dir: "/tmp/vpp-envoy"
        is-default-work-dir: true
      - host-dir: "$HST_DIR/resources/envoy"
        container-dir: "/tmp"
    vars:
      - name: "ENVOY_UID"
        value: "0"
      - name: "VCL_CONFIG"
        value: "/tmp/vcl.conf"
    image: "envoyproxy/envoy-contrib:v1.30-latest"
    extra-args: "--concurrency 2 -c /etc/envoy/envoy.yaml"
    is-optional: true