Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 963 Bytes

File metadata and controls

32 lines (23 loc) · 963 Bytes

Feature Targeting for Istio 1.6+, using envoy filter (WASM)

  1. install Istio 1.6 to a cluster (see readme)

  2. install the echo-service pod (see readme)

  3. test that you get a response (without feature header injection):

    curl --resolve echo.localhost:80:127.0.0.1 -vvv http://echo.localhost
  4. ensure you have the wasm target added (rustup target add wasm32-unknown-unknown).

  5. build the filter and copy it to /tmp/envoy-filters, so that it will be mounted in the sidecar container:

    cd ../../../adapter-proxy-wasm
    make build-image
    mkdir -p /tmp/envoy-filters
    cp feature_targeting.wasm /tmp/envoy-filters
  6. deploy the EnvoyFilter resource to the cluster:

    make
  7. test that you get a response (with default feature header injection):

    curl --resolve echo.localhost:80:127.0.0.1 -vvv http://echo.localhost