调用DescribeServiceMeshDetail接口获取服务网格详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| Action | String | 是 | DescribeServiceMeshDetail | 系统规定参数。取值:DescribeServiceMeshDetail。 |
| ServiceMeshId | String | 是 | c08ba3fd1e6484b0f8cc1ad8fe10d**** | 服务网格实例ID。 |
返回数据
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| RequestId | String | 11fd0027-c27e-41bb-a565-75583054**** | 请求ID。 |
| ServiceMesh | Object | 服务网格详情。 |
|
| Endpoints | Object | 端点详情。 |
|
| IntranetPilotEndpoint | String | 192.168.**.**:15011 | Istio Pilot地址(内网)。 |
| PublicPilotEndpoint | String | 182.92.**.**:15011 | Istio Pilot地址(公网)。 |
| IntranetApiServerEndpoint | String | https://192.168.**.**:6443 | API Server地址(内网)。 |
| PublicApiServerEndpoint | String | https://123.56.**.**:6443 | API Server地址(公网)。 |
| 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 | c08ba3fd1e6484b0f8cc1ad8fe10d**** | 服务网格实例ID.。 |
| Name | String | mesh1 | 服务网格名称。 |
| RegionId | String | cn-beijing | 服务网格所在地域ID。 |
| Spec | Object | 服务网格规格信息。 |
|
| Network | Object | 服务网格网络配置信息。 |
|
| VpcId | String | vpc-2zew0rajjkmxy2369**** | 专有网络ID。 |
| SecurityGroupId | String | sg-2ze384sxttxbctnj**** | 安全组ID。 |
| VSwitches | Array of String | vsw-2ze66z3ntvsej0mdo**** | 虚拟交换机ID。 |
| LoadBalancer | Object | 负载均衡信息。 |
|
| PilotPublicEip | Boolean | true | 是否使用公网地址暴露Istio Pilot。取值:
|
| PilotPublicLoadbalancerId | String | lb-2zesa8qs8kbkj9jkl**** | 公网地址暴露Istio Pilot对应的负载均衡ID。 |
| ApiServerLoadbalancerId | String | lb-2zekaak10uxds44vx**** | 公网地址暴露API Server对应的负载均衡ID。 |
| ApiServerPublicEip | Boolean | true | 是否使用公网地址暴露API Server。取值:
|
| MeshConfig | Object | 服务网格配置信息。 |
|
| OPA | Object | 开放策略代理(OPA)插件信息。 |
|
| RequestMemory | String | 1024Mi | OPA代理容器的内存资源请求。 |
| LogLevel | String | info | OPA代理容器日志级别。 |
| Enabled | Boolean | true | 是否集成开放策略代理(OPA)插件。取值:
|
| LimitMemory | String | 512Mi | OPA代理容器的内存资源限制。 |
| RequestCPU | String | 2 | OPA代理容器的CPU资源请求。 |
| LimitCPU | String | 1 | OPA代理容器的CPU资源限制。 |
| Prometheus | Object | Prometheus配置。 |
|
| UseExternal | Boolean | false | 是否启用外部Prometheus。取值:
|
| ExternalUrl | String | http://prometheus:9090 | Prometheus服务地址(在启用外部Prometheus时,系统自动填充)。 |
| AccessLog | Object | 访问日志配置。 |
|
| Enabled | Boolean | true | 是否启用访问日志。取值:
|
| Project | String | k8s-log-b7b05d08670e41ca8c8fc0b7718f***** | 访问日志项目名称。 |
| Pilot | Object | Pilot配置。 |
|
| Http10Enabled | Boolean | false | 是否支持HTTP1.0。取值:
|
| TraceSampling | Float | 100 | 链路追踪采样百分比。 |
| Feature | Object | Pilot功能配置。 |
|
| FilterGatewayClusterConfig | Boolean | false | 是否启用Gateway配置过滤。取值:
|
| EnableSDSServer | Boolean | false | 是否启用SDS服务。取值:
|
| ConfigSource | Object | 外部服务接入配置。 |
|
| Enabled | Boolean | false | 是否接入外部服务。取值:
|
| NacosID | String | mse-cn-tl326****** | 提供外部服务信息的Nacos实例ID。 |
| MSE | Object | MSE配置。 |
|
| Enabled | Boolean | false | 是否启用MSE。取值:
|
| CustomizedZipkin | Boolean | false | 是否启用自定义zipkin。取值:
|
| SidecarInjector | Object | Sidecar注入器的配置。 |
|
| EnableNamespacesByDefault | Boolean | false | 是否为所有命名空间开启自动注入功能。取值:
|
| RequestMemory | String | 512Mi | Sidecar注入器Pod的内存请求资源。 |
| LimitMemory | String | 2048Mi | Sidecar注入器Pod的内存限制资源。 |
| RequestCPU | String | 1000m | Sidecar注入器Pod的CPU请求资源。 |
| AutoInjectionPolicyEnabled | Boolean | true | 是否开启通过Pod Annotations实现自动注入Sidecar。取值:
|
| LimitCPU | String | 4000m | Sidecar注入器Pod的CPU限制资源。 |
| InitCNIConfiguration | Object | CNI配置。 |
|
| ExcludeNamespaces | String | kube-system,istio-system | 排除的命名空间。 |
| Enabled | Boolean | false | 是否启用CNI。取值:
|
| SidecarInjectorWebhookAsYaml | String | {"injectedAnnotations":{"test/istio-init":"runtime/default2","test/istio-proxy":"runtime/default"},"replicaCount":2,"nodeSelector":{"beta.kubernetes.io/os":"linux"}} | 其他自动注入Sidecar的配置(YAML格式)。更多信息,请参见多种方式灵活开启自动注入。 |
| SidecarInjectorNum | Integer | 1 | 负责进行Sidecar注入的组件副本数。默认为 |
| IncludeIPRanges | String | 192.168.0.0/16 | 包含的IP地址段。 |
| ExcludeIPRanges | String | 172.16.0.0 | 不拦截指定IP范围。 |
| ExcludeOutboundPorts | String | 80,81 | 不拦截指定Outbound端口。 |
| ExcludeInboundPorts | String | 80,81 | 不拦截指定Inbound端口。 |
| Telemetry | Boolean | true | 是否开启采集Prometheus监控指标(建议使用阿里云Prometheus监控)。取值:
|
| Edition | Object | 版本信息。 |
|
| Name | String | Pro | 版本名称。 |
| IstiodImageTag | String | v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun | Istiod镜像版本。 |
| ProxyImageTag | String | v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun | Istio Proxy镜像版本。 |
| ProtocolSupport | Object | 协议支持配置。 |
|
| MysqlFilterEnabled | Boolean | false | 是否启用MysqlFilter。取值:
|
| RedisFilterEnabled | Boolean | false | 是否启用RedisFilter。取值:
|
| ThriftFilterEnabled | Boolean | false | 是否启用ThriftFilter。取值:
|
| DubboFilterEnabled | Boolean | false | 是否启用DubboFilter。取值:
|
| OutboundTrafficPolicy | String | ALLOW_ANY | 出向流量策略。取值:
|
| Kiali | Object | 网格拓扑配置。 |
|
| Enabled | Boolean | false | 是否启用网格拓扑(必须先开启采集Prometheus监控指标,当该项配置更新为
|
| Url | String | http://1.2.**.**:20001 | 网格拓扑服务地址。 |
| Tracing | Boolean | true | 是否启用链路追踪(需要开通阿里云链路追踪服务)。取值:
|
| WebAssemblyFilterDeployment | Object | WebAssemblyFilter配置。 |
|
| Enabled | Boolean | false | 是否启用WebAssemblyFilter。取值:
|
| 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 | 100m | CPU请求资源。 |
| EnableDNSProxying | Boolean | false | 是否启用DNS Proxying。取值:
|
| LimitCPU | String | 2000m | CPU限制资源。 |
| AccessLogServiceEnabled | Boolean | false | 是否启用Envoy的gRPC日志服务(ALS)。取值:
|
| AccessLogServiceHost | String | 0.0.0.0 | 启用Envoy的gRPC日志服务(ALS)的地址。 |
| AccessLogServicePort | Integer | 9999 | 启用Envoy的gRPC日志服务(ALS)的端口。 |
| AccessLogFormat | String | {"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)%"} | Sidecar访问日志的格式。 |
| AccessLogFile | String | /dev/stdout | Sidecar访问日志输出的文件路径。 |
| K8sNewAPIsSupport | Object | Kubernetes API支持。 |
|
| GatewayAPIEnabled | Boolean | false | 是否启用Gateway API。取值:
|
| LocalityLB | Object | 跨地域负载均衡配置。 |
|
| Enabled | Boolean | false | 是否启用跨地域负载均衡。取值:
|
| Failover | Map | 跨地域故障转移配置 说明 只能与 Distribute二选一。例如,配置Failover就不能配置Distribute。 |
|
| Distribute | Map | 跨地域流量分布配置 说明 只能与 Failover二选一。例如,配置Distribute就不能配置Failover。 |
|
| ControlPlaneLogInfo | Object | 控制面日志采集配置。 |
|
| Enabled | Boolean | false | 是否启用控制面日志采集。取值:
|
| Project | String | mesh-log-cbeb85a09161b4a26ab73e0ac**** | 控制面日志采集目标SLS Project名称。 |
| ExtraConfiguration | Object | 服务网格的功能增强配置。 |
|
| IstioCRHistory | Object | Istio资源历史版本功能设置。 |
|
| EnableHistory | Boolean | false | 是否启用ASM的Istio资源历史版本管理功能。取值:
|
| CRAggregationEnabled | Boolean | false | 是否启用数据面集群Kubernetes API访问Istio资源。取值:
|
| MultiBuffer | Object | 基于MulitiBuffer的TLS性能优化。 |
|
| Enabled | Boolean | false | 是否启用基于MulitiBuffer的TLS性能优化。取值:
|
| PollDelay | String | 0.02s | 拉取延迟。 |
| TerminationDrainDuration | String | 5s | Istio Proxy终止等待时长。 |
| Lifecycle | Object | Istio Proxy生命周期。 |
|
| postStart | Object | Istio Proxy启动后执行脚本。 |
|
| exec | Object | 执行命令。 |
|
| command | Array of String | sleep 3s | 命令内容。 |
| httpGet | Object | 执行HTTP Get请求。 |
|
| port | String | 80 | 端口。 |
| host | String | 127.xx.xx.1 | 调用的服务地址。 |
| scheme | String | http | 调用方式。取值: |
| httpHeaders | Array of httpHeaders | 发送网络请求时的Header内容。 |
|
| name | String | key | Header中的键。 |
| value | String | value | Header中的键对应的值。 |
| tcpSocket | Object | 使用TCP Socket方式请求。 |
|
| port | String | 888 | TCP Socket端口。 |
| host | String | 127.xx.xx.1 | 远程TCP Socket地址。 |
| preStop | Object | Istio Proxy终止前执行的脚本。 |
|
| exec | Object | 执行命令。 |
|
| command | Array of String | sleep 3s | 命令内容。 |
| httpGet | Object | 执行HTTP Get请求。 |
|
| port | String | 80 | 端口。 |
| host | String | 127.xx.xx.1 | 调用的服务地址。 |
| scheme | String | http | 调用方式。取值: |
| httpHeaders | Array of httpHeaders | 发送网络请求时的Header内容。 |
|
| name | String | key | Header中的键。 |
| value | String | value | Header中的值。 |
| tcpSocket | Object | 使用TCP Socket方式请求。 |
|
| port | String | 888 | 端口。 |
| host | String | 127.xx.xx.1 | 地址。 |
| SidecarProxyInitResourceLimit | Object | istio-init初始化容器资源限制。 |
|
| ResourceCPULimit | String | 2000m | istio-init初始化容器CPU资源限制。 |
| ResourceMemoryLimit | String | 1024Mi | istio-init初始化容器内存资源限制。 |
| SidecarProxyInitResourceRequest | Object | istio-init初始化容器资源所需。 |
|
| ResourceCPURequest | String | 10m | istio-init初始化容器所需CPU资源。 |
| ResourceMemoryRequest | String | 10Mi | istio-init初始化容器所需内存资源。 |
| DiscoverySelectors | Array of Object | [{"matchExpressions":[{"key":"asm-discovery","operator":"Exists"}]}] | 用于选择性服务发现的数据平面命名空间标签选择器列表。 |
| OPAScopeInjection | Object | OPA注入范围控制。 |
|
| OPAScopeInjected | Boolean | false | 是否启用OPA注入范围控制能力。取值:
|
| CRAggregationConfiguration | Object | 数据面KubeAPI访问能力 |
|
| Enabled | Boolean | true | 是否启用数据面KubeAPI访问能力。 |
| NFDConfiguration | Object | 节点特征自动获取配置。 |
|
| Enabled | Boolean | true | 节点特征自动获取能力是否启用。 |
| NFDLabelPruned | Boolean | true | 禁用节点特征自动获取能力时,是否清除了节点上的特征相关标签。 |
| AccessLogExtraConf | Object | 访问日志功能增强配置。 |
|
| GatewayLifecycle | Integer | 30 | 采集到SLS的入口网关访问日志的存储周期(天)。例如30代表30天。 |
| SidecarLifecycle | Integer | 30 | 采集到SLS的Sidecar访问日志的存储周期(天)。例如30代表30天。 |
| AutoDiagnosis | Object | 网格自动诊断功能配置 |
|
| AutoDiagnosisEnabled | Boolean | true | 是否在修改Istio资源后自动诊断网格,开启时,当修改任意Istio资源时,将在五分钟后触发一次服务网格的自动诊断。 |
| AdaptiveXdsConfiguration | Object | 自适应配置推送优化功能配置。 |
|
| Enabled | Boolean | true | 是否启用自适应配置推送优化功能。 |
| EgressResources | Object | 自适应配置推送优化出口网关资源配置。 |
|
| Requests | Map | 自适应配置推送优化出口网关资源需求。 |
|
| Limits | Map | 自适应配置推送优化出口网关资源限制。 |
|
| EgressReplicaCount | Integer | 2 | 自适应配置推送优化出口网关副本数。 |
| EgressAutoscaleEnabled | Boolean | true | 是否为自适应配置推送优化出口网关启用自动扩缩容能力(HPA)。 |
| EgressMinReplica | Integer | 1 | 自适应配置推送优化出口网关启用HPA的最低副本数。 |
| EgressMaxReplica | Integer | 2 | 自适应配置推送优化出口网关启用HPA的最高副本数。 |
| EgressHpaCpu | Object | 自适应配置推送优化出口网关HPA的CPU指标配置。 |
|
| TargetAverageUtilization | Integer | 80 | 自适应配置推送优化出口网关开启HPA时的CPU目标使用率。取值为1~100。如果超过该值,会增加副本;如果低于该值,会减少副本。 |
| EgressHpaMemory | Object | 自适应配置推送优化出口网关HPA的内存指标配置。 |
|
| TargetAverageUtilization | Integer | 80 | 自适应配置推送优化出口网关开启HPA时的内存目标使用率。取值为1~100。如果超过该值,会增加副本;如果低于该值,会减少副本。 |
| Clusters | Array of String | ["caf089e56daba4c51a8906fe43ea1****","c80f45444b3da447da60a911390c2****"] | 集群列表。 |
| ClusterSpec | String | standard | 服务网格实例规格。取值:
|
| OwnerType | String | ackone | 创建网格的云产品类型。取值:
|
| OwnerId | String | cc3e96f249d124eb38b72718ec5***** | 创建网格的云产品实例ID。 |
示例
请求示例
http(s)://[Endpoint]/?Action=DescribeServiceMeshDetail
&ServiceMeshId=c08ba3fd1e6484b0f8cc1ad8fe10d****
&公共请求参数
正常返回示例
XML格式
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeServiceMeshDetailResponse>
<RequestId>11fd0027-c27e-41bb-a565-75583054****</RequestId>
<ServiceMesh>
<Endpoints>
<IntranetPilotEndpoint>192.168.**.**:15011</IntranetPilotEndpoint>
<PublicPilotEndpoint>182.92.**.**:15011</PublicPilotEndpoint>
<IntranetApiServerEndpoint>https://192.168.**.**:6443</IntranetApiServerEndpoint>
<PublicApiServerEndpoint>https://123.56.**.**:6443</PublicApiServerEndpoint>
</Endpoints>
<ServiceMeshInfo>
<Profile>Default</Profile>
<CreationTime>2020-04-21T09:42:20+08:00</CreationTime>
<UpdateTime>2020-06-03T14:48:54+08:00</UpdateTime>
<ErrorMessage> error</ErrorMessage>
<Version>v1.7.4.0-gfb34ba99-aliyun</Version>
<State>running</State>
<ServiceMeshId>c08ba3fd1e6484b0f8cc1ad8fe10d****</ServiceMeshId>
<Name>mesh1</Name>
<RegionId>cn-beijing</RegionId>
</ServiceMeshInfo>
<Spec>
<Network>
<VpcId>vpc-2zew0rajjkmxy2369****</VpcId>
<SecurityGroupId>sg-2ze384sxttxbctnj****</SecurityGroupId>
<VSwitches>vsw-2ze66z3ntvsej0mdo****</VSwitches>
</Network>
<LoadBalancer>
<PilotPublicEip>true</PilotPublicEip>
<PilotPublicLoadbalancerId>lb-2zesa8qs8kbkj9jkl****</PilotPublicLoadbalancerId>
<ApiServerLoadbalancerId>lb-2zekaak10uxds44vx****</ApiServerLoadbalancerId>
<ApiServerPublicEip>true</ApiServerPublicEip>
</LoadBalancer>
<MeshConfig>
<OPA>
<RequestMemory>1024Mi</RequestMemory>
<LogLevel>info</LogLevel>
<Enabled>true</Enabled>
<LimitMemory>512Mi</LimitMemory>
<RequestCPU>2</RequestCPU>
<LimitCPU>1</LimitCPU>
</OPA>
<Prometheus>
<UseExternal>false</UseExternal>
<ExternalUrl>http://prometheus:9090</ExternalUrl>
</Prometheus>
<AccessLog>
<Enabled>true</Enabled>
<Project>k8s-log-b7b05d08670e41ca8c8fc0b7718f*****</Project>
</AccessLog>
<Pilot>
<Http10Enabled>false</Http10Enabled>
<TraceSampling>100</TraceSampling>
<Feature>
<FilterGatewayClusterConfig>false</FilterGatewayClusterConfig>
<EnableSDSServer>false</EnableSDSServer>
</Feature>
<ConfigSource>
<Enabled>false</Enabled>
<NacosID>mse-cn-tl326******</NacosID>
</ConfigSource>
</Pilot>
<MSE>
<Enabled>false</Enabled>
</MSE>
<CustomizedZipkin>false</CustomizedZipkin>
<SidecarInjector>
<EnableNamespacesByDefault>false</EnableNamespacesByDefault>
<RequestMemory>512Mi</RequestMemory>
<LimitMemory>2048Mi</LimitMemory>
<RequestCPU>1000m</RequestCPU>
<AutoInjectionPolicyEnabled>true</AutoInjectionPolicyEnabled>
<LimitCPU>4000m</LimitCPU>
<InitCNIConfiguration>
<ExcludeNamespaces>kube-system,istio-system</ExcludeNamespaces>
<Enabled>false</Enabled>
</InitCNIConfiguration>
<SidecarInjectorWebhookAsYaml>{"injectedAnnotations":{"test/istio-init":"runtime/default2","test/istio-proxy":"runtime/default"},"replicaCount":2,"nodeSelector":{"beta.kubernetes.io/os":"linux"}}</SidecarInjectorWebhookAsYaml>
<SidecarInjectorNum>1</SidecarInjectorNum>
</SidecarInjector>
<IncludeIPRanges>192.168.0.0/16</IncludeIPRanges>
<ExcludeIPRanges>172.16.0.0</ExcludeIPRanges>
<ExcludeOutboundPorts>80,81</ExcludeOutboundPorts>
<ExcludeInboundPorts>80,81</ExcludeInboundPorts>
<Telemetry>true</Telemetry>
<Edition>
<Name>Pro</Name>
<IstiodImageTag>v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun</IstiodImageTag>
<ProxyImageTag>v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun</ProxyImageTag>
</Edition>
<ProtocolSupport>
<MysqlFilterEnabled>false</MysqlFilterEnabled>
<RedisFilterEnabled>false</RedisFilterEnabled>
<ThriftFilterEnabled>false</ThriftFilterEnabled>
<DubboFilterEnabled>false</DubboFilterEnabled>
</ProtocolSupport>
<OutboundTrafficPolicy>ALLOW_ANY</OutboundTrafficPolicy>
<Kiali>
<Enabled>false</Enabled>
<Url>http://1.2.**.**:20001</Url>
</Kiali>
<Tracing>true</Tracing>
<WebAssemblyFilterDeployment>
<Enabled>false</Enabled>
</WebAssemblyFilterDeployment>
<EnableLocalityLB>true</EnableLocalityLB>
<Audit>
<Enabled>true</Enabled>
<Project>audit-project</Project>
<AuditProjectStatus>audit_project_not_exist</AuditProjectStatus>
</Audit>
<Proxy>
<RequestMemory>128Mi</RequestMemory>
<ClusterDomain>cluster.domain</ClusterDomain>
<LimitMemory>1024Mi</LimitMemory>
<RequestCPU>100m</RequestCPU>
<EnableDNSProxying>false</EnableDNSProxying>
<LimitCPU>2000m</LimitCPU>
<AccessLogServiceEnabled>false</AccessLogServiceEnabled>
<AccessLogServiceHost>0.0.0.0</AccessLogServiceHost>
<AccessLogServicePort>9999</AccessLogServicePort>
<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)%"}</AccessLogFormat>
<AccessLogFile>/dev/stdout</AccessLogFile>
</Proxy>
<K8sNewAPIsSupport>
<GatewayAPIEnabled>false</GatewayAPIEnabled>
</K8sNewAPIsSupport>
<LocalityLB>
<Enabled>false</Enabled>
</LocalityLB>
<ControlPlaneLogInfo>
<Enabled>false</Enabled>
<Project>mesh-log-cbeb85a09161b4a26ab73e0ac****</Project>
</ControlPlaneLogInfo>
<ExtraConfiguration>
<IstioCRHistory>
<EnableHistory>false</EnableHistory>
</IstioCRHistory>
<CRAggregationEnabled>false</CRAggregationEnabled>
<MultiBuffer>
<Enabled>false</Enabled>
<PollDelay>0.02s</PollDelay>
</MultiBuffer>
<TerminationDrainDuration>5s</TerminationDrainDuration>
<Lifecycle>
<postStart>
<exec>
<command>sleep 3s</command>
</exec>
<httpGet>
<port>80</port>
<host>127.xx.xx.1</host>
<scheme>http</scheme>
<httpHeaders>
<name>key</name>
<value>value</value>
</httpHeaders>
</httpGet>
<tcpSocket>
<port>888</port>
<host>127.xx.xx.1</host>
</tcpSocket>
</postStart>
<preStop>
<exec>
<command>sleep 3s</command>
</exec>
<httpGet>
<port>80</port>
<host>127.xx.xx.1</host>
<scheme>http</scheme>
<httpHeaders>
<name>key</name>
<value>value</value>
</httpHeaders>
</httpGet>
<tcpSocket>
<port>888</port>
<host>127.xx.xx.1</host>
</tcpSocket>
</preStop>
</Lifecycle>
<SidecarProxyInitResourceLimit>
<ResourceCPULimit>2000m</ResourceCPULimit>
<ResourceMemoryLimit>1024Mi</ResourceMemoryLimit>
</SidecarProxyInitResourceLimit>
<SidecarProxyInitResourceRequest>
<ResourceCPURequest>10m</ResourceCPURequest>
<ResourceMemoryRequest>10Mi</ResourceMemoryRequest>
</SidecarProxyInitResourceRequest>
<DiscoverySelectors/>
<OPAScopeInjection>
<OPAScopeInjected>false</OPAScopeInjected>
</OPAScopeInjection>
<CRAggregationConfiguration>
<Enabled>true</Enabled>
</CRAggregationConfiguration>
<NFDConfiguration>
<Enabled>true</Enabled>
<NFDLabelPruned>true</NFDLabelPruned>
</NFDConfiguration>
<AccessLogExtraConf>
<GatewayLifecycle>30</GatewayLifecycle>
<SidecarLifecycle>30</SidecarLifecycle>
</AccessLogExtraConf>
<AutoDiagnosis>
<AutoDiagnosisEnabled>true</AutoDiagnosisEnabled>
</AutoDiagnosis>
<AdaptiveXdsConfiguration>
<Enabled>true</Enabled>
<EgressResources/>
<EgressReplicaCount>2</EgressReplicaCount>
<EgressAutoscaleEnabled>true</EgressAutoscaleEnabled>
<EgressMinReplica>1</EgressMinReplica>
<EgressMaxReplica>2</EgressMaxReplica>
<EgressHpaCpu>
<TargetAverageUtilization>80</TargetAverageUtilization>
</EgressHpaCpu>
<EgressHpaMemory>
<TargetAverageUtilization>80</TargetAverageUtilization>
</EgressHpaMemory>
</AdaptiveXdsConfiguration>
</ExtraConfiguration>
</MeshConfig>
</Spec>
<Clusters>["caf089e56daba4c51a8906fe43ea1****","c80f45444b3da447da60a911390c2****"]</Clusters>
<ClusterSpec>standard</ClusterSpec>
<OwnerType>ackone</OwnerType>
<OwnerId>cc3e96f249d124eb38b72718ec5*****</OwnerId>
</ServiceMesh>
</DescribeServiceMeshDetailResponse>
JSON格式
HTTP/1.1 200 OK
Content-Type:application/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"
},
"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" : {
"PilotPublicEip" : true,
"PilotPublicLoadbalancerId" : "lb-2zesa8qs8kbkj9jkl****",
"ApiServerLoadbalancerId" : "lb-2zekaak10uxds44vx****",
"ApiServerPublicEip" : true
},
"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
},
"ControlPlaneLogInfo" : {
"Enabled" : false,
"Project" : "mesh-log-cbeb85a09161b4a26ab73e0ac****"
},
"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" : [ null ],
"OPAScopeInjection" : {
"OPAScopeInjected" : false
},
"CRAggregationConfiguration" : {
"Enabled" : true
},
"NFDConfiguration" : {
"Enabled" : true,
"NFDLabelPruned" : true
},
"AccessLogExtraConf" : {
"GatewayLifecycle" : 30,
"SidecarLifecycle" : 30
},
"AutoDiagnosis" : {
"AutoDiagnosisEnabled" : true
},
"AdaptiveXdsConfiguration" : {
"Enabled" : true,
"EgressResources" : { },
"EgressReplicaCount" : 2,
"EgressAutoscaleEnabled" : true,
"EgressMinReplica" : 1,
"EgressMaxReplica" : 2,
"EgressHpaCpu" : {
"TargetAverageUtilization" : 80
},
"EgressHpaMemory" : {
"TargetAverageUtilization" : 80
}
}
}
}
},
"Clusters" : [ "[\"caf089e56daba4c51a8906fe43ea1****\",\"c80f45444b3da447da60a911390c2****\"]" ],
"ClusterSpec" : "standard",
"OwnerType" : "ackone",
"OwnerId" : "cc3e96f249d124eb38b72718ec5*****"
}
}
错误码
访问错误中心查看更多错误码。