aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/topo-containers/ns.yaml
blob: fddf2d8e37a51b97d06fd5717f8e2ecadc6b133b (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: /tmp/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/resources/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/resources/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