調用DescribeServiceMeshDetail擷取服務網格詳情。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
servicemesh:DescribeServiceMeshDetail |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ServiceMeshId |
string |
是 |
服務網格執行個體 ID。 |
c08ba3fd1e6484b0f8cc1ad8fe10d**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
11fd0027-c27e-41bb-a565-75583054**** |
| ServiceMesh |
object |
服務網格詳情。 |
|
| Endpoints |
object |
端點詳情。 |
|
| IntranetPilotEndpoint |
string |
Istio Pilot 地址(內網)。 |
192.168.**.**:15011 |
| PublicPilotEndpoint |
string |
Istio Pilot 地址(公網)。 |
182.92.**.**:15011 |
| IntranetApiServerEndpoint |
string |
API Server 地址(內網)。 |
https://192.168.**.**:6443 |
| PublicApiServerEndpoint |
string |
API Server 地址(公網)。 |
https://123.56.**.**:6443 |
| IntranetCanaryPilotEndpoint |
string |
金絲雀版本 Istio Pilot 地址(內網)。 |
192.168.**.**:15011 |
| PublicCanaryPilotEndpoint |
string |
金絲雀版本 Istio Pilot 地址(公網)。 |
182.92.**.**:15011 |
| ServiceMeshInfo |
object |
服務網格基本資料。 |
|
| Profile |
string |
網格規格。取值:
|
Default |
| CreationTime |
string |
服務網格建立時間。 |
2020-04-21T09:42:20+08:00 |
| UpdateTime |
string |
服務網格最後修改時間。 |
2020-06-03T14:48:54+08:00 |
| ErrorMessage |
string |
異常資訊。 |
error |
| Version |
string |
服務網格版本號碼。 |
v1.7.4.0-gfb34ba99-aliyun |
| State |
string |
服務網格狀態。 |
running |
| ServiceMeshId |
string |
服務網格執行個體 ID.。 |
c08ba3fd1e6484b0f8cc1ad8fe10d**** |
| Name |
string |
服務網格名稱。 |
mesh1 |
| RegionId |
string |
服務網格所在地區 ID。 |
cn-beijing |
| Spec |
object |
服務網格規格資訊。 |
|
| Network |
object |
服務網格網路設定資訊。 |
|
| VpcId |
string |
專用網路 ID。 |
vpc-2zew0rajjkmxy2369**** |
| SecurityGroupId |
string |
安全性群組 ID。 |
sg-2ze384sxttxbctnj**** |
| VSwitches |
array |
虛擬機器.。 |
|
|
string |
虛擬交換器 ID。 |
vsw-2ze66z3ntvsej0mdo**** |
|
| LoadBalancer |
object |
負載平衡資訊。 |
|
| PilotPublicLoadbalancerId |
string |
公網地址暴露 Istio Pilot 對應的負載平衡 ID。 |
lb-2zesa8qs8kbkj9jkl**** |
| PilotPublicEip |
boolean |
是否使用公網地址暴露 Istio Pilot。取值:
|
true |
| PilotPublicEipId |
string |
Istio Pilot 對應的公網地址 ID。 |
eip-wz9gtwau6b2aklgjk**** |
| CanaryPilotPublicEipId |
string |
金絲雀版本 Istio Pilot 對應的公網地址 ID。 |
eip-wz9gtwau6b2aklgjk**** |
| ApiServerLoadbalancerId |
string |
公網地址暴露 API Server 對應的負載平衡 ID。 |
lb-2zekaak10uxds44vx**** |
| ApiServerPublicEip |
boolean |
是否使用公網地址暴露 API Server。取值:
|
true |
| ApiServerPublicEipId |
string |
API Server 對應的公網地址 ID。 |
eip-wz9gtwau6b2aklgjk**** |
| CanaryPilotLoadBalancerId |
string |
金絲雀版本 Istio Pilot 對應的負載平衡 ID。 |
lb-2zesa8qs8kbkj9jkl**** |
| MeshConfig |
object |
服務網格配置資訊。 |
|
| OPA |
object |
開放策略代理(OPA)外掛程式資訊。 |
|
| RequestMemory |
string |
OPA 代理容器的記憶體資源請求。 |
1024Mi |
| LogLevel |
string |
OPA 代理容器記錄層級。 |
info |
| Enabled |
boolean |
是否整合開放策略代理(OPA)外掛程式。取值:
|
true |
| LimitMemory |
string |
OPA 代理容器的記憶體資源限制。 |
512Mi |
| RequestCPU |
string |
OPA 代理容器的 CPU 資源請求。 |
2 |
| LimitCPU |
string |
OPA 代理容器的 CPU 資源限制。 |
1 |
| Prometheus |
object |
Prometheus 配置。 |
|
| UseExternal |
boolean |
是否啟用外部 Prometheus。取值:
|
false |
| ExternalUrl |
string |
Prometheus 服務地址(在啟用外部 Prometheus 時,系統自動填滿)。 |
http://prometheus:9090 |
| AccessLog |
object |
訪問日誌配置。 |
|
| Enabled |
boolean |
是否啟用訪問日誌。取值:
|
true |
| Project |
string |
訪問記錄項目名稱。 |
k8s-log-b7b05d08670e41ca8c8fc0b7718f***** |
| Pilot |
object |
Pilot 配置。 |
|
| Http10Enabled |
boolean |
是否支援 HTTP1.0。取值:
|
false |
| TraceSampling |
number |
鏈路追蹤採樣百分比。 |
100 |
| Feature |
object |
Pilot 功能配置。 |
|
| FilterGatewayClusterConfig |
boolean |
是否啟用 Gateway 配置過濾。取值:
|
false |
| EnableSDSServer |
boolean |
是否啟用 SDS 服務。取值:
|
false |
| ConfigSource |
object |
外部服務接入配置。 |
|
| Enabled |
boolean |
是否接入外部服務。取值:
|
false |
| NacosID |
string |
提供外部服務資訊的 Nacos 執行個體 ID。 |
mse-cn-tl326****** |
| MSE |
object |
MSE 配置。 |
|
| Enabled |
boolean |
是否啟用 MSE。取值:
|
false |
| CustomizedZipkin |
boolean |
是否啟用自訂 zipkin。取值:
|
false |
| SidecarInjector |
object |
Sidecar 注入器的配置。 |
|
| EnableNamespacesByDefault |
boolean |
是否為所有命名空間開啟自動注入功能。取值:
|
false |
| RequestMemory |
string |
Sidecar 注入器 Pod 的記憶體請求資源。 |
512Mi |
| LimitMemory |
string |
Sidecar 注入器 Pod 的記憶體限制資源。 |
2048Mi |
| RequestCPU |
string |
Sidecar 注入器 Pod 的 CPU 請求資源。 |
1000m |
| AutoInjectionPolicyEnabled |
boolean |
是否開啟通過 Pod Annotations 實現自動注入 Sidecar。取值:
|
true |
| LimitCPU |
string |
Sidecar 注入器 Pod 的 CPU 限制資源。 |
4000m |
| InitCNIConfiguration |
object |
CNI 配置。 |
|
| ExcludeNamespaces |
string |
排除的命名空間。 |
kube-system,istio-system |
| Enabled |
boolean |
是否啟用 CNI。取值:
|
false |
| SidecarInjectorWebhookAsYaml |
string |
其他自動注入 Sidecar 的配置(YAML 格式)。更多資訊,請參見多種方式靈活開啟自動注入。 |
{"injectedAnnotations":{"test/istio-init":"runtime/default2","test/istio-proxy":"runtime/default"},"replicaCount":2,"nodeSelector":{"beta.kubernetes.io/os":"linux"}} |
| SidecarInjectorNum |
integer |
負責進行 Sidecar 注入的組件副本數。預設為 |
1 |
| IncludeIPRanges |
string |
包含的 IP 位址段。 |
192.168.0.0/16 |
| ExcludeIPRanges |
string |
不攔截指定 IP 範圍。 |
172.16.0.0 |
| ExcludeOutboundPorts |
string |
不攔截指定 Outbound 連接埠。 |
80,81 |
| ExcludeInboundPorts |
string |
不攔截指定 Inbound 連接埠。 |
80,81 |
| Telemetry |
boolean |
是否開啟採集 Prometheus 監控指標(建議使用阿里雲 Prometheus 監控)。取值:
|
true |
| Edition |
object |
版本資訊。 |
|
| Name |
string |
版本名稱。 |
Pro |
| IstiodImageTag |
string |
Istiod 鏡像版本。 |
v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun |
| ProxyImageTag |
string |
Istio Proxy 鏡像版本。 |
v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun |
| ProtocolSupport |
object |
協議支援配置。 |
|
| MysqlFilterEnabled |
boolean |
是否啟用 MysqlFilter。取值:
|
false |
| RedisFilterEnabled |
boolean |
是否啟用 RedisFilter。取值:
|
false |
| ThriftFilterEnabled |
boolean |
是否啟用 ThriftFilter。取值:
|
false |
| DubboFilterEnabled |
boolean |
是否啟用 DubboFilter。取值:
|
false |
| OutboundTrafficPolicy |
string |
出向流量策略。取值:
|
ALLOW_ANY |
| Kiali |
object |
網格拓撲配置。 |
|
| Enabled |
boolean |
是否啟用網格拓撲(必須先開啟採集 Prometheus 監控指標,當該項配置更新為
|
false |
| Url |
string |
網格拓撲服務地址。 |
http://1.2.**.**:20001 |
| Tracing |
boolean |
是否啟用鏈路追蹤(需要開通可觀測鏈路 OpenTelemetry 版)。取值:
|
true |
| WebAssemblyFilterDeployment |
object |
WebAssemblyFilter 配置。 |
|
| Enabled |
boolean |
是否啟用 WebAssemblyFilter。取值:
|
false |
| EnableLocalityLB |
boolean |
是否啟用服務就近訪問。取值:
|
true |
| Audit |
object |
服務網格審計資訊。 |
|
| Enabled |
boolean |
是否啟用網格審計。取值:
|
true |
| Project |
string |
服務網格審計對應的記錄項目。 |
audit-project |
| AuditProjectStatus |
string |
服務網格審計專案的狀態。取值:
|
audit_project_not_exist |
| Proxy |
object |
Proxy 配置。 |
|
| RequestMemory |
string |
記憶體請求資源。 |
128Mi |
| ClusterDomain |
string |
信任域。 |
cluster.domain |
| LimitMemory |
string |
記憶體限制資源。 |
1024Mi |
| RequestCPU |
string |
CPU 請求資源。 |
100m |
| EnableDNSProxying |
boolean |
是否啟用 DNS Proxying。取值:
|
false |
| LimitCPU |
string |
CPU 限制資源。 |
2000m |
| AccessLogServiceEnabled |
boolean |
是否啟用 Envoy 的 gRPC Log Service(ALS)。取值:
|
false |
| AccessLogServiceHost |
string |
啟用 Envoy 的 gRPC Log Service(ALS)的地址。 |
0.0.0.0 |
| AccessLogServicePort |
integer |
啟用 Envoy 的 gRPC Log Service(ALS)的連接埠。 |
9999 |
| AccessLogFormat |
string |
Sidecar 訪問日誌的格式。 |
{"authority_for":"%REQ(:AUTHORITY)%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","duration":"%DURATION%","istio_policy_status":"%DYNAMIC_METADATA(istio.mixer:status)%","method":"%REQ(:METHOD)%","path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","request_id":"%REQ(X-REQUEST-ID)%","requested_server_name":"%REQUESTED_SERVER_NAME%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","route_name":"%ROUTE_NAME%","start_time":"%START_TIME%","trace_id":"%REQ(X-B3-TRACEID)%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_host":"%UPSTREAM_HOST%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","upstream_service_time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","user_agent":"%REQ(USER-AGENT)%","x_forwarded_for":"%REQ(X-FORWARDED-FOR)%"} |
| AccessLogFile |
string |
Sidecar 訪問日誌輸出的檔案路徑。 |
/dev/stdout |
| K8sNewAPIsSupport |
object |
Kubernetes API 支援。 |
|
| GatewayAPIEnabled |
boolean |
是否啟用 Gateway API。取值:
|
false |
| LocalityLB |
object |
跨地區負載平衡配置。 |
|
| Enabled |
boolean |
是否啟用跨地區負載平衡。取值:
|
false |
| Failover |
object |
跨地區容錯移轉配置 說明
只能與 |
{"failover":[{"from":"cn-hangzhou","to":"cn-shanghai"}]} |
| Distribute |
object |
跨地區流量分布配置 說明
只能與 |
[{"from":"cn-shanghai","to":{"cn-hangzhou/*":50,"cn-shanghai/*":25,"cn-zhangjiakou/*":25}},{"from":"cn-hangzhou","to":{"cn-hangzhou/*":50,"cn-shanghai/*":25,"cn-zhangjiakou/*":25}}] |
| FailoverPriority |
object |
地理位置負載平衡優先順序列表。 |
["topology.istio.io/network","topology.kubernetes.io/region","topology.kubernetes.io/zone","topology.istio.io/subzone"] |
| ControlPlaneLogInfo |
object |
控制面日誌採集配置。 |
|
| Enabled |
boolean |
是否啟用控制面日誌採集。取值:
|
false |
| Project |
string |
控制面日誌採集目標 SLS Project 名稱。 |
mesh-log-cbeb85a09161b4a26ab73e0ac**** |
| LogTTL |
integer |
控制面日誌採集的儲存時間(天)。 |
30 |
| ExtraConfiguration |
object |
服務網格的功能增強配置。 |
|
| IstioCRHistory |
object |
Istio 資源歷史版本功能設定。 |
|
| EnableHistory |
boolean |
是否啟用 ASM 的 Istio 資源歷史版本管理功能。取值:
|
false |
| CRAggregationEnabled |
boolean |
是否啟用資料面叢集 Kubernetes API 訪問 Istio 資源。取值:
|
false |
| MultiBuffer |
object |
基於 MulitiBuffer 的 TLS 效能最佳化。 |
|
| Enabled |
boolean |
是否啟用基於 MulitiBuffer 的 TLS 效能最佳化。取值:
|
false |
| PollDelay |
string |
拉取延遲。 |
0.02s |
| TerminationDrainDuration |
string |
Istio Proxy 終止等待時間長度。 |
5s |
| Lifecycle |
object |
Istio Proxy 生命週期。 |
|
| postStart |
object |
Istio Proxy 啟動後執行指令碼。 |
|
| exec |
object |
執行命令。 |
|
| command |
array |
字串數組表示的執行具體的命令。 |
|
|
string |
命令內容。 |
sleep 3s |
|
| httpGet |
object |
執行 HTTP Get 請求。 |
|
| port |
string |
連接埠。 |
80 |
| host |
string |
調用的服務地址。 |
127.xx.xx.1 |
| scheme |
string |
調用方式。取值: |
http |
| httpHeaders |
array<object> |
發送網路請求時的 Header 內容。 |
|
|
object |
Header 的索引值對。 |
||
| name |
string |
Header 中的鍵。 |
key |
| value |
string |
Header 中的鍵對應的值。 |
value |
| tcpSocket |
object |
使用 TCP Socket 方式請求。 |
|
| port |
string |
TCP Socket 連接埠。 |
888 |
| host |
string |
遠程 TCP Socket 地址。 |
127.xx.xx.1 |
| preStop |
object |
Istio Proxy 終止前執行的指令碼。 |
|
| exec |
object |
執行命令。 |
|
| command |
array |
字串數組表示的執行具體的命令。 |
|
|
string |
命令內容。 |
sleep 3s |
|
| httpGet |
object |
執行 HTTP Get 請求。 |
|
| port |
string |
連接埠。 |
80 |
| host |
string |
調用的服務地址。 |
127.xx.xx.1 |
| scheme |
string |
調用方式。取值: |
http |
| httpHeaders |
array<object> |
發送網路請求時的 Header 內容。 |
|
|
object |
Header 的索引值對。 |
||
| name |
string |
Header 中的鍵。 |
key |
| value |
string |
Header 中的值。 |
value |
| tcpSocket |
object |
使用 TCP Socket 方式請求。 |
|
| port |
string |
連接埠。 |
888 |
| host |
string |
地址。 |
127.xx.xx.1 |
| SidecarProxyInitResourceLimit |
object |
istio-init 初始化容器資源限制。 |
|
| ResourceCPULimit |
string |
istio-init 初始化容器 CPU 資源限制。 |
2000m |
| ResourceMemoryLimit |
string |
istio-init 初始化容器記憶體資源限制。 |
1024Mi |
| SidecarProxyInitResourceRequest |
object |
istio-init 初始化容器資源所需。 |
|
| ResourceCPURequest |
string |
istio-init 初始化容器所需 CPU 資源。 |
10m |
| ResourceMemoryRequest |
string |
istio-init 初始化容器所需記憶體資源。 |
10Mi |
| DiscoverySelectors |
array<object> |
用於選擇性服務發現的資料一般命名空間標籤選取器列表。 |
|
|
object |
用於選擇性服務發現的資料一般命名空間標籤選取器列表。 |
[{"matchExpressions":[{"key":"asm-discovery","operator":"Exists"}]}] |
|
| OPAScopeInjection |
object |
OPA 注入範圍控制。 |
|
| OPAScopeInjected |
boolean |
是否啟用 OPA 注入範圍控制能力。取值:
|
false |
| CRAggregationConfiguration |
object |
資料面 KubeAPI 訪問能力 |
|
| Enabled |
boolean |
是否啟用資料面 KubeAPI 訪問能力。 |
true |
| NFDConfiguration |
object |
節點特徵自動擷取配置。 |
|
| Enabled |
boolean |
節點特徵自動擷取能力是否啟用。 |
true |
| NFDLabelPruned |
boolean |
禁用節點特徵自動擷取能力時,是否清除了節點上的特徵相關標籤。 |
true |
| AccessLogExtraConf |
object |
訪問日誌功能增強配置。 |
|
| GatewayLifecycle |
integer |
採集到 SLS 的入口網關訪問日誌的儲存周期(天)。例如 30 代表 30 天。 |
30 |
| SidecarLifecycle |
integer |
採集到 SLS 的 Sidecar 訪問日誌的儲存周期(天)。例如 30 代表 30 天。 |
30 |
| GatewayEnabled |
boolean |
是否啟用網關日誌採集。 |
true |
| SidecarEnabled |
boolean |
是否啟用 Sidecar 日誌採集。 |
true |
| AutoDiagnosis |
object |
網格自動診斷功能配置 |
|
| AutoDiagnosisEnabled |
boolean |
是否在修改 Istio 資源後自動診斷網格,開啟時,當修改任意 Istio 資源時,將在五分鐘後觸發一次服務網格的自動診斷。 |
true |
| AdaptiveXdsConfiguration |
object |
自適應配置推送最佳化功能配置。 |
|
| Enabled |
boolean |
是否啟用自適應配置推送最佳化功能。 |
true |
| EgressResources |
object |
自適應配置推送最佳化出口網關資源配置。 |
|
| Requests |
object |
自適應配置推送最佳化出口網關資源需求。 |
{"cpu":"100m", "memory": "256Mi"} |
| Limits |
object |
自適應配置推送最佳化出口網關資源限制。 |
{"cpu":"200m", "memory": "512Mi"} |
| EgressReplicaCount |
integer |
自適應配置推送最佳化出口網關副本數。 |
2 |
| EgressAutoscaleEnabled |
boolean |
是否為自適應配置推送最佳化出口網關啟用自動擴縮容能力(HPA)。 |
true |
| EgressMinReplica |
integer |
自適應配置推送最佳化出口網關啟用 HPA 的最低副本數。 |
1 |
| EgressMaxReplica |
integer |
自適應配置推送最佳化出口網關啟用 HPA 的最高副本數。 |
2 |
| EgressHpaCpu |
object |
自適應配置推送最佳化出口網關 HPA 的 CPU 指標配置。 |
|
| TargetAverageUtilization |
integer |
自適應配置推送最佳化出口網關開啟 HPA 時的 CPU 目標使用率。取值為 1~100。如果超過該值,會增加副本;如果低於該值,會減少副本。 |
80 |
| EgressHpaMemory |
object |
自適應配置推送最佳化出口網關 HPA 的記憶體指標配置。 |
|
| TargetAverageUtilization |
integer |
自適應配置推送最佳化出口網關開啟 HPA 時的記憶體目標使用率。取值為 1~100。如果超過該值,會增加副本;如果低於該值,會減少副本。 |
80 |
| IstiodExtraConfiguration |
object |
Istiod 額外配置。 |
|
| LabelsForOffloadedWorkloads |
string |
隔離工作負載的標籤。 |
name=xx,region=xx |
| PilotEnableQuicListeners |
boolean |
是否啟用 QUIC 協議監聽。 |
false |
| Playground |
object |
ASM 實驗室配置。 |
|
| Scene |
string |
ASM 實驗室情境。 |
ewmaLb |
| Clusters |
array |
叢集列表。 |
|
|
string |
叢集列表。 |
["caf089e56daba4c51a8906fe43ea1****","c80f45444b3da447da60a911390c2****"] |
|
| ClusterSpec |
string |
服務網格執行個體規格。取值:
|
standard |
| OwnerType |
string |
建立網格的雲產品類型。取值:
|
ackone |
| OwnerId |
string |
建立網格的雲產品執行個體 ID。 |
cc3e96f249d124eb38b72718ec5***** |
樣本
正常返回樣本
JSON格式
{
"RequestId": "11fd0027-c27e-41bb-a565-75583054****",
"ServiceMesh": {
"Endpoints": {
"IntranetPilotEndpoint": "192.168.**.**:15011",
"PublicPilotEndpoint": "182.92.**.**:15011",
"IntranetApiServerEndpoint": "https://192.168.**.**:6443",
"PublicApiServerEndpoint": "https://123.56.**.**:6443",
"IntranetCanaryPilotEndpoint": "192.168.**.**:15011",
"PublicCanaryPilotEndpoint": "182.92.**.**:15011"
},
"ServiceMeshInfo": {
"Profile": "Default",
"CreationTime": "2020-04-21T09:42:20+08:00",
"UpdateTime": "2020-06-03T14:48:54+08:00",
"ErrorMessage": " error",
"Version": "v1.7.4.0-gfb34ba99-aliyun",
"State": "running",
"ServiceMeshId": "c08ba3fd1e6484b0f8cc1ad8fe10d****",
"Name": "mesh1",
"RegionId": "cn-beijing"
},
"Spec": {
"Network": {
"VpcId": "vpc-2zew0rajjkmxy2369****",
"SecurityGroupId": "sg-2ze384sxttxbctnj****",
"VSwitches": [
"vsw-2ze66z3ntvsej0mdo****"
]
},
"LoadBalancer": {
"PilotPublicLoadbalancerId": "lb-2zesa8qs8kbkj9jkl****",
"PilotPublicEip": true,
"PilotPublicEipId": "eip-wz9gtwau6b2aklgjk****",
"CanaryPilotPublicEipId": "eip-wz9gtwau6b2aklgjk****",
"ApiServerLoadbalancerId": "lb-2zekaak10uxds44vx****",
"ApiServerPublicEip": true,
"ApiServerPublicEipId": "eip-wz9gtwau6b2aklgjk****",
"CanaryPilotLoadBalancerId": "lb-2zesa8qs8kbkj9jkl****\n"
},
"MeshConfig": {
"OPA": {
"RequestMemory": "1024Mi",
"LogLevel": "info",
"Enabled": true,
"LimitMemory": "512Mi",
"RequestCPU": "2",
"LimitCPU": "1"
},
"Prometheus": {
"UseExternal": false,
"ExternalUrl": "http://prometheus:9090"
},
"AccessLog": {
"Enabled": true,
"Project": "k8s-log-b7b05d08670e41ca8c8fc0b7718f*****"
},
"Pilot": {
"Http10Enabled": false,
"TraceSampling": 100,
"Feature": {
"FilterGatewayClusterConfig": false,
"EnableSDSServer": false
},
"ConfigSource": {
"Enabled": false,
"NacosID": "mse-cn-tl326******"
}
},
"MSE": {
"Enabled": false
},
"CustomizedZipkin": false,
"SidecarInjector": {
"EnableNamespacesByDefault": false,
"RequestMemory": "512Mi",
"LimitMemory": "2048Mi",
"RequestCPU": "1000m",
"AutoInjectionPolicyEnabled": true,
"LimitCPU": "4000m",
"InitCNIConfiguration": {
"ExcludeNamespaces": "kube-system,istio-system",
"Enabled": false
},
"SidecarInjectorWebhookAsYaml": "{\"injectedAnnotations\":{\"test/istio-init\":\"runtime/default2\",\"test/istio-proxy\":\"runtime/default\"},\"replicaCount\":2,\"nodeSelector\":{\"beta.kubernetes.io/os\":\"linux\"}}",
"SidecarInjectorNum": 1
},
"IncludeIPRanges": "192.168.0.0/16",
"ExcludeIPRanges": "172.16.0.0",
"ExcludeOutboundPorts": "80,81",
"ExcludeInboundPorts": "80,81",
"Telemetry": true,
"Edition": {
"Name": "Pro",
"IstiodImageTag": "v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun",
"ProxyImageTag": "v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun"
},
"ProtocolSupport": {
"MysqlFilterEnabled": false,
"RedisFilterEnabled": false,
"ThriftFilterEnabled": false,
"DubboFilterEnabled": false
},
"OutboundTrafficPolicy": "ALLOW_ANY",
"Kiali": {
"Enabled": false,
"Url": "http://1.2.**.**:20001"
},
"Tracing": true,
"WebAssemblyFilterDeployment": {
"Enabled": false
},
"EnableLocalityLB": true,
"Audit": {
"Enabled": true,
"Project": "audit-project",
"AuditProjectStatus": "audit_project_not_exist"
},
"Proxy": {
"RequestMemory": "128Mi",
"ClusterDomain": "cluster.domain",
"LimitMemory": "1024Mi",
"RequestCPU": "100m",
"EnableDNSProxying": false,
"LimitCPU": "2000m",
"AccessLogServiceEnabled": false,
"AccessLogServiceHost": "0.0.0.0",
"AccessLogServicePort": 9999,
"AccessLogFormat": "{\"authority_for\":\"%REQ(:AUTHORITY)%\",\"bytes_received\":\"%BYTES_RECEIVED%\",\"bytes_sent\":\"%BYTES_SENT%\",\"downstream_local_address\":\"%DOWNSTREAM_LOCAL_ADDRESS%\",\"downstream_remote_address\":\"%DOWNSTREAM_REMOTE_ADDRESS%\",\"duration\":\"%DURATION%\",\"istio_policy_status\":\"%DYNAMIC_METADATA(istio.mixer:status)%\",\"method\":\"%REQ(:METHOD)%\",\"path\":\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\",\"protocol\":\"%PROTOCOL%\",\"request_id\":\"%REQ(X-REQUEST-ID)%\",\"requested_server_name\":\"%REQUESTED_SERVER_NAME%\",\"response_code\":\"%RESPONSE_CODE%\",\"response_flags\":\"%RESPONSE_FLAGS%\",\"route_name\":\"%ROUTE_NAME%\",\"start_time\":\"%START_TIME%\",\"trace_id\":\"%REQ(X-B3-TRACEID)%\",\"upstream_cluster\":\"%UPSTREAM_CLUSTER%\",\"upstream_host\":\"%UPSTREAM_HOST%\",\"upstream_local_address\":\"%UPSTREAM_LOCAL_ADDRESS%\",\"upstream_service_time\":\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\",\"upstream_transport_failure_reason\":\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\",\"user_agent\":\"%REQ(USER-AGENT)%\",\"x_forwarded_for\":\"%REQ(X-FORWARDED-FOR)%\"}",
"AccessLogFile": "/dev/stdout"
},
"K8sNewAPIsSupport": {
"GatewayAPIEnabled": false
},
"LocalityLB": {
"Enabled": false,
"Failover": {
"failover": [
{
"from": "cn-hangzhou",
"to": "cn-shanghai"
}
]
},
"Distribute": [
{
"from": "cn-shanghai",
"to": {
"cn-hangzhou/*": 50,
"cn-shanghai/*": 25,
"cn-zhangjiakou/*": 25
}
},
{
"from": "cn-hangzhou",
"to": {
"cn-hangzhou/*": 50,
"cn-shanghai/*": 25,
"cn-zhangjiakou/*": 25
}
}
],
"FailoverPriority": [
"topology.istio.io/network",
"topology.kubernetes.io/region",
"topology.kubernetes.io/zone",
"topology.istio.io/subzone"
]
},
"ControlPlaneLogInfo": {
"Enabled": false,
"Project": "mesh-log-cbeb85a09161b4a26ab73e0ac****",
"LogTTL": 30
},
"ExtraConfiguration": {
"IstioCRHistory": {
"EnableHistory": false
},
"CRAggregationEnabled": false,
"MultiBuffer": {
"Enabled": false,
"PollDelay": "0.02s"
},
"TerminationDrainDuration": "5s",
"Lifecycle": {
"postStart": {
"exec": {
"command": [
"sleep 3s"
]
},
"httpGet": {
"port": "80",
"host": "127.xx.xx.1",
"scheme": "http",
"httpHeaders": [
{
"name": "key",
"value": "value"
}
]
},
"tcpSocket": {
"port": "888",
"host": "127.xx.xx.1"
}
},
"preStop": {
"exec": {
"command": [
"sleep 3s"
]
},
"httpGet": {
"port": "80",
"host": "127.xx.xx.1",
"scheme": "http",
"httpHeaders": [
{
"name": "key",
"value": "value"
}
]
},
"tcpSocket": {
"port": "888",
"host": "127.xx.xx.1"
}
}
},
"SidecarProxyInitResourceLimit": {
"ResourceCPULimit": "2000m",
"ResourceMemoryLimit": "1024Mi"
},
"SidecarProxyInitResourceRequest": {
"ResourceCPURequest": "10m",
"ResourceMemoryRequest": "10Mi"
},
"DiscoverySelectors": [
[
{
"matchExpressions": [
{
"key": "asm-discovery",
"operator": "Exists"
}
]
}
]
],
"OPAScopeInjection": {
"OPAScopeInjected": false
},
"CRAggregationConfiguration": {
"Enabled": true
},
"NFDConfiguration": {
"Enabled": true,
"NFDLabelPruned": true
},
"AccessLogExtraConf": {
"GatewayLifecycle": 30,
"SidecarLifecycle": 30,
"GatewayEnabled": true,
"SidecarEnabled": true
},
"AutoDiagnosis": {
"AutoDiagnosisEnabled": true
},
"AdaptiveXdsConfiguration": {
"Enabled": true,
"EgressResources": {
"Requests": {
"cpu": "100m",
"memory": "256Mi"
},
"Limits": {
"cpu": "200m",
"memory": "512Mi"
}
},
"EgressReplicaCount": 2,
"EgressAutoscaleEnabled": true,
"EgressMinReplica": 1,
"EgressMaxReplica": 2,
"EgressHpaCpu": {
"TargetAverageUtilization": 80
},
"EgressHpaMemory": {
"TargetAverageUtilization": 80
}
},
"IstiodExtraConfiguration": {
"LabelsForOffloadedWorkloads": "name=xx,region=xx",
"PilotEnableQuicListeners": false
},
"Playground": {
"Scene": "ewmaLb"
}
}
}
},
"Clusters": [
"[\"caf089e56daba4c51a8906fe43ea1****\",\"c80f45444b3da447da60a911390c2****\"]"
],
"ClusterSpec": "standard",
"OwnerType": "ackone",
"OwnerId": "cc3e96f249d124eb38b72718ec5*****"
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。