Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ Application Service Mesh/ FAQs/ Mesh Management/ How Do I Disable Sidecar Injection for Workloads?

How Do I Disable Sidecar Injection for Workloads?

Updated on 2023-07-03 GMT+08:00

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, click the target cluster to go to its details page, and choose Resources > Workloads in the navigation pane on the left.
  2. Click Edit YAML in the Operation column of the target workload.
  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.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback