Adds a cluster to a service mesh.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
servicemesh:AddClusterIntoServiceMesh | create | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ServiceMeshId | string | Yes | The ID of the Service Mesh (ASM) instance. | cb8963379255149cb98c8686f274x**** |
ClusterId | string | Yes | The ID of the cluster to add. | ce3c25e247da24f3aab9b7edfae83**** |
IgnoreNamespaceCheck | boolean | No | Specifies whether to skip checking for the `istio-system` namespace in the target cluster. This parameter is typically used when you migrate from a self-managed Istio instance to ASM. | false |
Kubeconfig | string | No | The cluster certificate. | apiVersion: v1 clusters: - cluster: server: https://47.110.xx.xx:6443 certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lVYzBQVy82ejR1aHlxYkRRdnNsV1htSmpJeFdNd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BqRW5NQThHQTFVRUNoTUlhR0Z1WjNwb2IzVXdGQVlEVlFRS0V3MWhiR2xpWVdKaElHTnNiM1ZrTVJNdwpFUVlEVlFRREV3cHJkV0psY201bGRHVnpNQ0FYRFRJeU1EUXdOekExTVRnd01Gb1lEekl3TlRJd016TXdNRFV4Ck9EQXdXakErTVNjd0R3WURWUVFLRXdob1lXNW5lbWh2ZFRBVUJnTlZCQW9URFdGc2FXSmhZbUVnWTJ4dmRXUXgKRXpBUkJnTlZCQU1UQ210MVltVnlibVYwWlhNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJE**** |
DiscoveryOnly | boolean | No | Specifies whether to add the cluster for service discovery only. | false |
Response elements
Element | Type | Description | Example |
object | |||
Message | string | The returned message. | success |
RequestId | string | The request ID. | BD65C0AD-D3C6-48D3-8D93-38D2015C**** |
Code | string | The status code. | 200 |
Examples
Success response
JSON format
{
"Message": "success",
"RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****",
"Code": "200"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.