aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/topo-containers/ns.yaml
blob: e472531c8f7740119e55775bb6e15bcd50b5196c (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
28
29
---
volumes:
  - volume: &shared-vol
      host-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:
      - host-dir: "$HST_DIR/envoy/proxy.yaml"
        container-dir: "/etc/envoy/envoy.yaml"
      - <<: *shared-vol
        container-dir: "/tmp/vpp-envoy"
        is-default-work-dir: true
      - host-dir: "$HST_DIR/envoy"
        container-dir: "/tmp"
    vars:
      - name: "ENVOY_UID"
        value: "0"
      - name: "VCL_CONFIG"
        value: "/tmp/vcl.conf"
    image: "envoyproxy/envoy-contrib:v1.21-latest"
    extra-args: "--concurrency 2 -c /etc/envoy/envoy.yaml"
    is-optional: true