Skip to content

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.

VpcIdRequired

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the virtual private cloud (VPC).


VSwitchesRequired

VSwitches interface{}
  • Type: interface{}

Property vSwitches: The ID of the vSwitch, eg: ["vsw-xzegf5dndkbf4m6eg****"].


ApiServerPublicEipOptional

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.


AuditProjectOptional

AuditProject interface{}
  • Type: interface{}

Property auditProject: The name of the Log Service project that is used for mesh audit.

Default value: mesh-log-{meshId}.


CustomizedZipkinOptional

CustomizedZipkin interface{}
  • Type: interface{}

Property customizedZipkin: Specifies whether to use a user-created Zipkin system.


EnableAuditOptional

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.


IncludeIpRangesOptional

IncludeIpRanges interface{}
  • Type: interface{}

Property includeIpRanges: The Classless Inter-Domain Routing (CIDR) block in the ASM instance that are denied to access external services.


IstioVersionOptional

IstioVersion interface{}
  • Type: interface{}

Property istioVersion: The Istio version of the ASM instance.


LocalityLoadBalancingOptional

LocalityLoadBalancing interface{}
  • Type: interface{}

Property localityLoadBalancing: Specifies whether to route traffic to the nearest instance.

Valid values: true and false. Default value: false.


NameOptional

Name interface{}
  • Type: interface{}

Property name: The name of the ASM instance.


OpaOptional

Opa interface{}
  • Type: interface{}

Property opa: OPA settings.


OutboundTrafficPolicyOptional

OutboundTrafficPolicy interface{}
  • Type: interface{}

Property outboundTrafficPolicy: The outbound traffic policy of the ASM instance.


PilotPublicEipOptional

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.


ProxyOptional

Proxy interface{}
  • Type: interface{}

Property proxy: Proxy settings.


TelemetryOptional

Telemetry interface{}
  • Type: interface{}

Property telemetry: Specifies whether to enable Prometheus monitoring.

We recommend that you use Application Real-Time Monitoring Service (ARMS).


TraceSamplingOptional

TraceSampling interface{}
  • Type: interface{}

Property traceSampling: The sampling percentage of tracing.


TracingOptional

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.