1
0
forked from docs/doc-exports
doc-exports/docs/asm/umn/asm_faq_0037.html
Dong, Qiu Jian ec0b45029f ASM UMN initial version -20240425
Reviewed-by: Kovács, Zoltán <zkovacs@t-systems.com>
Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
2024-09-18 09:02:28 +00:00

1.9 KiB

How Do I Disable Sidecar Injection for Workloads?

After sidecar injection is enabled for a namespace of a cluster, sidecars are automatically injected for pods of all workloads in the namespace. You can configure sidecars not to be injected into some workloads:

  1. Log in to the CCE console and click the cluster name to go to the cluster console. Then, choose Workloads > Deployments.
  2. Locate the workload and click Edit YAML in the Operation column.
  3. Find the spec.template.metadata.annotations field and add sidecar.istio.io/inject: 'false'.

          annotations:
            sidecar.istio.io/inject: 'false'

    For more details about sidecar injection, see Automatic Sidecar Injection.