ServiceMeshProps
Properties for defining a ServiceMesh
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-asm-servicemesh
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkasm"
&alicloudroscdkasm.ServiceMeshProps {
VpcId: interface{},
VSwitches: interface{},
ApiServerPublicEip: interface{},
AuditProject: interface{},
CustomizedZipkin: interface{},
EnableAudit: interface{},
IncludeIpRanges: interface{},
IstioVersion: interface{},
LocalityLoadBalancing: interface{},
Name: interface{},
Opa: interface{},
OutboundTrafficPolicy: interface{},
PilotPublicEip: interface{},
Proxy: interface{},
Telemetry: interface{},
TraceSampling: interface{},
Tracing: interface{},
}
Properties
Name | Type | Description |
---|---|---|
VpcId |
interface{} |
Property vpcId: The ID of the virtual private cloud (VPC). |
VSwitches |
interface{} |
Property vSwitches: The ID of the vSwitch, eg: ["vsw-xzegf5dndkbf4m6eg****"]. |
ApiServerPublicEip |
interface{} |
Property apiServerPublicEip: Specifies whether to expose the API server to the Internet. |
AuditProject |
interface{} |
Property auditProject: The name of the Log Service project that is used for mesh audit. |
CustomizedZipkin |
interface{} |
Property customizedZipkin: Specifies whether to use a user-created Zipkin system. |
EnableAudit |
interface{} |
Property enableAudit: Specifies whether to enable the mesh audit feature. |
IncludeIpRanges |
interface{} |
Property includeIpRanges: The Classless Inter-Domain Routing (CIDR) block in the ASM instance that are denied to access external services. |
IstioVersion |
interface{} |
Property istioVersion: The Istio version of the ASM instance. |
LocalityLoadBalancing |
interface{} |
Property localityLoadBalancing: Specifies whether to route traffic to the nearest instance. |
Name |
interface{} |
Property name: The name of the ASM instance. |
Opa |
interface{} |
Property opa: OPA settings. |
OutboundTrafficPolicy |
interface{} |
Property outboundTrafficPolicy: The outbound traffic policy of the ASM instance. |
PilotPublicEip |
interface{} |
Property pilotPublicEip: Specifies whether to expose Istio Pilot to the Internet. |
Proxy |
interface{} |
Property proxy: Proxy settings. |
Telemetry |
interface{} |
Property telemetry: Specifies whether to enable Prometheus monitoring. |
TraceSampling |
interface{} |
Property traceSampling: The sampling percentage of tracing. |
Tracing |
interface{} |
Property tracing: Specifies whether to enable the tracing feature. |
VpcId
Required
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the virtual private cloud (VPC).
VSwitches
Required
VSwitches interface{}
- Type: interface{}
Property vSwitches: The ID of the vSwitch, eg: ["vsw-xzegf5dndkbf4m6eg****"].
ApiServerPublicEip
Optional
ApiServerPublicEip interface{}
- Type: interface{}
Property apiServerPublicEip: Specifies whether to expose the API server to the Internet.
Valid values: true and false. Default value: false. If you do not set this parameter, the API server of clusters added to the ASM instance cannot be accessed from the Internet.
AuditProject
Optional
AuditProject interface{}
- Type: interface{}
Property auditProject: The name of the Log Service project that is used for mesh audit.
Default value: mesh-log-{meshId}.
CustomizedZipkin
Optional
CustomizedZipkin interface{}
- Type: interface{}
Property customizedZipkin: Specifies whether to use a user-created Zipkin system.
EnableAudit
Optional
EnableAudit interface{}
- Type: interface{}
Property enableAudit: Specifies whether to enable the mesh audit feature.
To enable this feature, make sure that you have activated Alibaba Cloud Log Service. Valid values: true and false. Default value: false.
IncludeIpRanges
Optional
IncludeIpRanges interface{}
- Type: interface{}
Property includeIpRanges: The Classless Inter-Domain Routing (CIDR) block in the ASM instance that are denied to access external services.
IstioVersion
Optional
IstioVersion interface{}
- Type: interface{}
Property istioVersion: The Istio version of the ASM instance.
LocalityLoadBalancing
Optional
LocalityLoadBalancing interface{}
- Type: interface{}
Property localityLoadBalancing: Specifies whether to route traffic to the nearest instance.
Valid values: true and false. Default value: false.
Name
Optional
Name interface{}
- Type: interface{}
Property name: The name of the ASM instance.
Opa
Optional
Opa interface{}
- Type: interface{}
Property opa: OPA settings.
OutboundTrafficPolicy
Optional
OutboundTrafficPolicy interface{}
- Type: interface{}
Property outboundTrafficPolicy: The outbound traffic policy of the ASM instance.
PilotPublicEip
Optional
PilotPublicEip interface{}
- Type: interface{}
Property pilotPublicEip: Specifies whether to expose Istio Pilot to the Internet.
Valid values: true and false. Default value: false. If you do not set this parameter, only clusters in the same VPC as the ASM instance can access Istio Pilot of the instance.
Proxy
Optional
Proxy interface{}
- Type: interface{}
Property proxy: Proxy settings.
Telemetry
Optional
Telemetry interface{}
- Type: interface{}
Property telemetry: Specifies whether to enable Prometheus monitoring.
We recommend that you use Application Real-Time Monitoring Service (ARMS).
TraceSampling
Optional
TraceSampling interface{}
- Type: interface{}
Property traceSampling: The sampling percentage of tracing.
Tracing
Optional
Tracing interface{}
- Type: interface{}
Property tracing: Specifies whether to enable the tracing feature.
To enable this feature, make sure that you have activated Alibaba Cloud Tracing Analysis. Valid values: true and false. Default value: false.