Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.
Application Service Mesh
Application Service Mesh
- What's New
- Service Overview
- Getting Started
- User Guide
- Best Practices
-
FAQs
- Service Mesh Cluster
- Mesh Management
-
Adding a Service
- What Do I Do If an Added Gateway Does Not Take Effect?
- Why Does It Take a Long Time to Start the Demo Application in Experiencing Service Mesh in One Click?
- Why Can't I Access the page of the Demo Application After It Is Successfully Deployed?
- Why Cannot I Select the Corresponding Service When Adding a Route?
- Performing Grayscale Release
- Videos
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:
- 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.
- Click Edit YAML in the Operation column of the target workload.
- 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.
Parent topic: Mesh Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.