Envoy filters are used to configure filters and listeners for Envoy proxies to provide rich features for the control plane of an Alibaba Cloud Service Mesh (ASM) instance. This topic describes how to create, modify, and delete an Envoy filter.

Create an Envoy filter

  1. Log on to the ASM console.
  2. In the left-side navigation pane, choose Service Mesh > Mesh Management.
  3. On the Mesh Management page, find the ASM instance that you want to configure. Click the name of the ASM instance or click Manage in the Actions column of the ASM instance.
  4. On the details page of the ASM instance, choose Traffic Management > EnvoyFilter in the left-side navigation pane. On the EnvoyFilter page, click Create.
  5. In the Create panel, set the parameters and click OK.
    1. Select a namespace from the Namespaces drop-down list.
    2. In the code editor, enter code to configure an Envoy filter.
    On the EnvoyFilter page, you can view the created Envoy filter.

Modify an Envoy filter

  1. Log on to the ASM console.
  2. In the left-side navigation pane, choose Service Mesh > Mesh Management.
  3. On the Mesh Management page, find the ASM instance that you want to configure. Click the name of the ASM instance or click Manage in the Actions column of the ASM instance.
  4. On the details page of the ASM instance, choose Traffic Management > EnvoyFilter in the left-side navigation pane.
  5. On the EnvoyFilter page, find the Envoy filter that you want to modify and click YAML in the Actions column.
  6. In the Edit panel, modify the Envoy filter and click OK.

Delete an Envoy filter

  1. Log on to the ASM console.
  2. In the left-side navigation pane, choose Service Mesh > Mesh Management.
  3. On the Mesh Management page, find the ASM instance that you want to configure. Click the name of the ASM instance or click Manage in the Actions column of the ASM instance.
  4. On the details page of the ASM instance, choose Traffic Management > EnvoyFilter in the left-side navigation pane.
  5. On the EnvoyFilter page, find the Envoy filter that you want to delete and click Delete in the Actions column.
  6. In the Submit message, click OK.
    The Envoy filter disappears from the EnvoyFilter page.