hs-test: restrict concurrency on envoy
[vpp.git] / extras / hs-test / topo-containers / ns.yaml
1 ---
2 volumes:
3   - volume: &shared-vol
4       host-dir: shared-vol
5
6 # $HST_DIR will be replaced during runtime by path to hs-test directory
7 containers:
8   - name: "vpp"
9     volumes:
10       - <<: *shared-vol
11         container-dir: "/tmp/vpp"
12         is-default-work-dir: true
13   - name: "envoy"
14     volumes:
15       - host-dir: "$HST_DIR/envoy/proxy.yaml"
16         container-dir: "/etc/envoy/envoy.yaml"
17       - <<: *shared-vol
18         container-dir: "/tmp/vpp-envoy"
19         is-default-work-dir: true
20       - host-dir: "$HST_DIR/envoy"
21         container-dir: "/tmp"
22     vars:
23       - name: "ENVOY_UID"
24         value: "0"
25       - name: "VCL_CONFIG"
26         value: "/tmp/vcl.conf"
27     image: "envoyproxy/envoy-contrib:v1.21-latest"
28     extra-args: "--concurrency 2 -c /etc/envoy/envoy.yaml"
29     is-optional: true