ServiceMeshProps
Properties for defining a ServiceMesh
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-asm-servicemesh
Initializer
import ros_cdk_asm
ros_cdk_asm.ServiceMeshProps(
vpc_id: typing.Union[str, IResolvable],
v_switches: typing.Union[typing.List[typing.Any], IResolvable],
api_server_public_eip: typing.Union[bool, IResolvable] = None,
audit_project: typing.Union[str, IResolvable] = None,
customized_zipkin: typing.Union[bool, IResolvable] = None,
enable_audit: typing.Union[bool, IResolvable] = None,
include_ip_ranges: typing.Union[str, IResolvable] = None,
istio_version: typing.Union[str, IResolvable] = None,
locality_load_balancing: typing.Union[bool, IResolvable] = None,
name: typing.Union[str, IResolvable] = None,
opa: typing.Union[IResolvable, OPAProperty] = None,
outbound_traffic_policy: typing.Union[str, IResolvable] = None,
pilot_public_eip: typing.Union[bool, IResolvable] = None,
proxy: typing.Union[IResolvable, ProxyProperty] = None,
telemetry: typing.Union[bool, IResolvable] = None,
trace_sampling: typing.Union[typing.Union[int, float], IResolvable] = None,
tracing: typing.Union[bool, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
vpc_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property vpcId: The ID of the virtual private cloud (VPC). |
v_switches |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property vSwitches: The ID of the vSwitch, eg: ["vsw-xzegf5dndkbf4m6eg****"]. |
api_server_public_eip |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property apiServerPublicEip: Specifies whether to expose the API server to the Internet. |
audit_project |
typing.Union[str, ros_cdk_core.IResolvable] |
Property auditProject: The name of the Log Service project that is used for mesh audit. |
customized_zipkin |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property customizedZipkin: Specifies whether to use a user-created Zipkin system. |
enable_audit |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property enableAudit: Specifies whether to enable the mesh audit feature. |
include_ip_ranges |
typing.Union[str, ros_cdk_core.IResolvable] |
Property includeIpRanges: The Classless Inter-Domain Routing (CIDR) block in the ASM instance that are denied to access external services. |
istio_version |
typing.Union[str, ros_cdk_core.IResolvable] |
Property istioVersion: The Istio version of the ASM instance. |
locality_load_balancing |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property localityLoadBalancing: Specifies whether to route traffic to the nearest instance. |
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: The name of the ASM instance. |
opa |
typing.Union[ros_cdk_core.IResolvable, OPAProperty] |
Property opa: OPA settings. |
outbound_traffic_policy |
typing.Union[str, ros_cdk_core.IResolvable] |
Property outboundTrafficPolicy: The outbound traffic policy of the ASM instance. |
pilot_public_eip |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property pilotPublicEip: Specifies whether to expose Istio Pilot to the Internet. |
proxy |
typing.Union[ros_cdk_core.IResolvable, ProxyProperty] |
Property proxy: Proxy settings. |
telemetry |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property telemetry: Specifies whether to enable Prometheus monitoring. |
trace_sampling |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property traceSampling: The sampling percentage of tracing. |
tracing |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property tracing: Specifies whether to enable the tracing feature. |
vpc_id
Required
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpcId: The ID of the virtual private cloud (VPC).
v_switches
Required
v_switches: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property vSwitches: The ID of the vSwitch, eg: ["vsw-xzegf5dndkbf4m6eg****"].
api_server_public_eip
Optional
api_server_public_eip: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
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.
audit_project
Optional
audit_project: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property auditProject: The name of the Log Service project that is used for mesh audit.
Default value: mesh-log-{meshId}.
customized_zipkin
Optional
customized_zipkin: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property customizedZipkin: Specifies whether to use a user-created Zipkin system.
enable_audit
Optional
enable_audit: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
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.
include_ip_ranges
Optional
include_ip_ranges: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property includeIpRanges: The Classless Inter-Domain Routing (CIDR) block in the ASM instance that are denied to access external services.
istio_version
Optional
istio_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property istioVersion: The Istio version of the ASM instance.
locality_load_balancing
Optional
locality_load_balancing: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property localityLoadBalancing: Specifies whether to route traffic to the nearest instance.
Valid values: true and false. Default value: false.
name
Optional
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: The name of the ASM instance.
opa
Optional
opa: typing.Union[IResolvable, OPAProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, OPAProperty]
Property opa: OPA settings.
outbound_traffic_policy
Optional
outbound_traffic_policy: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property outboundTrafficPolicy: The outbound traffic policy of the ASM instance.
pilot_public_eip
Optional
pilot_public_eip: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
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: typing.Union[IResolvable, ProxyProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, ProxyProperty]
Property proxy: Proxy settings.
telemetry
Optional
telemetry: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property telemetry: Specifies whether to enable Prometheus monitoring.
We recommend that you use Application Real-Time Monitoring Service (ARMS).
trace_sampling
Optional
trace_sampling: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property traceSampling: The sampling percentage of tracing.
tracing
Optional
tracing: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
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.