Istio. How to add Virtual Host to Envoy?

5/4/2021

Using Istio EnvoyFilter https://istio.io/latest/docs/reference/config/networking/envoy-filter/ I want to add new VirtualHost inside Envoy in sidecar of pods. How to do this?

I guess I should create and apply manifest something like:

apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: my-filter
  namespace: default
spec:
  workloadSelector:
    labels:
      run: mylabel
  configPatches:
  - applyTo: ???
    match:
      context: SIDECAR
    patch:
      operation: ADD
      value:
        ???
-- EvideShow
envoyproxy
istio
istio-sidecar
kubernetes

0 Answers