pulumi-alicloud 3.74.0a1737782319__py3-none-any.whl → 3.75.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +310 -0
- pulumi_alicloud/_inputs.py +33 -0
- pulumi_alicloud/_utilities.py +8 -4
- pulumi_alicloud/ackone/__init__.py +1 -0
- pulumi_alicloud/ackone/cluster.py +73 -8
- pulumi_alicloud/ackone/membership_attachment.py +223 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +1109 -246
- pulumi_alicloud/alb/get_server_groups.py +55 -25
- pulumi_alicloud/alb/listener.py +269 -174
- pulumi_alicloud/alb/load_balancer.py +211 -118
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
- pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +856 -220
- pulumi_alicloud/alb/server_group.py +661 -96
- pulumi_alicloud/aligreen/audit_callback.py +2 -2
- pulumi_alicloud/aligreen/biz_type.py +2 -2
- pulumi_alicloud/aligreen/callback.py +2 -2
- pulumi_alicloud/aligreen/image_lib.py +2 -2
- pulumi_alicloud/aligreen/keyword_lib.py +2 -2
- pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
- pulumi_alicloud/apigateway/instance.py +51 -4
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
- pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
- pulumi_alicloud/cfg/aggregator.py +6 -4
- pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
- pulumi_alicloud/cloudcontrol/get_products.py +2 -2
- pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
- pulumi_alicloud/cloudcontrol/resource.py +2 -2
- pulumi_alicloud/cloudfirewall/__init__.py +2 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
- pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
- pulumi_alicloud/cloudfirewall/outputs.py +362 -0
- pulumi_alicloud/cloudphone/__init__.py +12 -0
- pulumi_alicloud/cloudphone/_inputs.py +175 -0
- pulumi_alicloud/cloudphone/image.py +323 -0
- pulumi_alicloud/cloudphone/key_pair.py +294 -0
- pulumi_alicloud/cloudphone/outputs.py +138 -0
- pulumi_alicloud/cloudphone/policy.py +522 -0
- pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
- pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
- pulumi_alicloud/cloudphoneinstance/group.py +961 -0
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/config/outputs.py +20 -0
- pulumi_alicloud/cs/_inputs.py +358 -10
- pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/kubernetes.py +15 -15
- pulumi_alicloud/cs/managed_kubernetes.py +47 -35
- pulumi_alicloud/cs/node_pool.py +126 -23
- pulumi_alicloud/cs/outputs.py +271 -7
- pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
- pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/ebs/replica_group_drill.py +2 -2
- pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
- pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
- pulumi_alicloud/ecs/eip.py +1 -1
- pulumi_alicloud/ecs/eip_address.py +1 -1
- pulumi_alicloud/ecs/instance.py +43 -30
- pulumi_alicloud/eds/command.py +10 -2
- pulumi_alicloud/emrv2/__init__.py +1 -0
- pulumi_alicloud/emrv2/_inputs.py +47 -7
- pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
- pulumi_alicloud/emrv2/outputs.py +195 -5
- pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
- pulumi_alicloud/ens/nat_gateway.py +6 -6
- pulumi_alicloud/ens/vswitch.py +36 -36
- pulumi_alicloud/esa/__init__.py +22 -0
- pulumi_alicloud/esa/_inputs.py +512 -0
- pulumi_alicloud/esa/cache_rule.py +1405 -0
- pulumi_alicloud/esa/certificate.py +724 -0
- pulumi_alicloud/esa/client_ca_certificate.py +388 -0
- pulumi_alicloud/esa/client_certificate.py +452 -0
- pulumi_alicloud/esa/compression_rule.py +582 -0
- pulumi_alicloud/esa/get_sites.py +421 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
- pulumi_alicloud/esa/http_response_header_modification_rule.py +560 -0
- pulumi_alicloud/esa/https_application_configuration.py +925 -0
- pulumi_alicloud/esa/https_basic_configuration.py +1027 -0
- pulumi_alicloud/esa/image_transform.py +484 -0
- pulumi_alicloud/esa/kv_namespace.py +276 -0
- pulumi_alicloud/esa/list.py +361 -0
- pulumi_alicloud/esa/network_optimization.py +750 -0
- pulumi_alicloud/esa/origin_pool.py +485 -0
- pulumi_alicloud/esa/origin_rule.py +768 -0
- pulumi_alicloud/esa/outputs.py +473 -0
- pulumi_alicloud/esa/page.py +376 -0
- pulumi_alicloud/esa/rate_plan_instance.py +63 -7
- pulumi_alicloud/esa/record.py +2 -2
- pulumi_alicloud/esa/redirect_rule.py +734 -0
- pulumi_alicloud/esa/rewrite_url_rule.py +702 -0
- pulumi_alicloud/esa/site.py +307 -2
- pulumi_alicloud/esa/waiting_room.py +1257 -0
- pulumi_alicloud/esa/waiting_room_event.py +1392 -0
- pulumi_alicloud/esa/waiting_room_rule.py +504 -0
- pulumi_alicloud/ess/get_scaling_groups.py +64 -10
- pulumi_alicloud/ess/get_scaling_rules.py +74 -10
- pulumi_alicloud/ess/outputs.py +357 -17
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/eventbridge/get_service.py +2 -6
- pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
- pulumi_alicloud/fc/_inputs.py +75 -75
- pulumi_alicloud/fc/outputs.py +50 -50
- pulumi_alicloud/fc/v3_function.py +53 -6
- pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
- pulumi_alicloud/ga/outputs.py +10 -4
- pulumi_alicloud/gpdb/db_resource_group.py +6 -6
- pulumi_alicloud/gpdb/external_data_service.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
- pulumi_alicloud/hbr/policy.py +67 -6
- pulumi_alicloud/hbr/vault.py +210 -9
- pulumi_alicloud/kms/__init__.py +1 -0
- pulumi_alicloud/kms/get_instances.py +160 -0
- pulumi_alicloud/kms/get_keys.py +10 -0
- pulumi_alicloud/kms/instance.py +0 -60
- pulumi_alicloud/kms/outputs.py +19 -0
- pulumi_alicloud/maxcompute/__init__.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +615 -42
- pulumi_alicloud/maxcompute/outputs.py +486 -28
- pulumi_alicloud/maxcompute/project.py +63 -31
- pulumi_alicloud/maxcompute/quota_plan.py +412 -0
- pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
- pulumi_alicloud/maxcompute/role.py +423 -0
- pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
- pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
- pulumi_alicloud/message/__init__.py +3 -0
- pulumi_alicloud/message/_inputs.py +149 -0
- pulumi_alicloud/message/outputs.py +112 -0
- pulumi_alicloud/message/service_endpoint.py +218 -0
- pulumi_alicloud/message/service_endpoint_acl.py +306 -0
- pulumi_alicloud/message/service_queue.py +49 -0
- pulumi_alicloud/message/service_subscription.py +91 -14
- pulumi_alicloud/mse/nacos_config.py +4 -0
- pulumi_alicloud/nlb/_inputs.py +114 -24
- pulumi_alicloud/nlb/listener.py +87 -20
- pulumi_alicloud/nlb/outputs.py +93 -16
- pulumi_alicloud/nlb/server_group.py +55 -20
- pulumi_alicloud/ots/_inputs.py +3 -3
- pulumi_alicloud/ots/outputs.py +2 -2
- pulumi_alicloud/pai/workspace_code_source.py +2 -2
- pulumi_alicloud/pai/workspace_dataset.py +2 -2
- pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
- pulumi_alicloud/pai/workspace_experiment.py +2 -2
- pulumi_alicloud/pai/workspace_run.py +2 -2
- pulumi_alicloud/pai/workspace_workspace.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
- pulumi_alicloud/privatelink/outputs.py +11 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/access_key.py +20 -4
- pulumi_alicloud/ram/user.py +10 -2
- pulumi_alicloud/rds/instance.py +75 -0
- pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
- pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
- pulumi_alicloud/tag/__init__.py +1 -0
- pulumi_alicloud/tag/associated_rule.py +306 -0
- pulumi_alicloud/tag/policy.py +27 -36
- pulumi_alicloud/vpc/__init__.py +2 -0
- pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/flow_log.py +184 -49
- pulumi_alicloud/vpc/forward_entry.py +8 -4
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
- pulumi_alicloud/vpc/get_forward_entries.py +2 -2
- pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
- pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
- pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
- pulumi_alicloud/vpc/get_snat_entries.py +5 -2
- pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
- pulumi_alicloud/vpc/ipam_ipam.py +2 -9
- pulumi_alicloud/vpc/ipam_ipam_pool.py +49 -30
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
- pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
- pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +49 -9
- pulumi_alicloud/vpc/ipam_service.py +144 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
- pulumi_alicloud/vpc/nat_gateway.py +8 -0
- pulumi_alicloud/vpc/outputs.py +12 -2
- pulumi_alicloud/vpc/router_interface_connection.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
- pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +11 -2
- pulumi_alicloud/vpn/get_gateways.py +21 -1
- pulumi_alicloud/vpn/outputs.py +23 -12
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/RECORD +197 -149
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/top_level.txt +0 -0
pulumi_alicloud/cs/node_pool.py
CHANGED
|
@@ -62,6 +62,7 @@ class NodePoolArgs:
|
|
|
62
62
|
platform: Optional[pulumi.Input[str]] = None,
|
|
63
63
|
pre_user_data: Optional[pulumi.Input[str]] = None,
|
|
64
64
|
private_pool_options: Optional[pulumi.Input['NodePoolPrivatePoolOptionsArgs']] = None,
|
|
65
|
+
ram_role_name: Optional[pulumi.Input[str]] = None,
|
|
65
66
|
rds_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
66
67
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
67
68
|
rolling_policy: Optional[pulumi.Input['NodePoolRollingPolicyArgs']] = None,
|
|
@@ -148,6 +149,11 @@ class NodePoolArgs:
|
|
|
148
149
|
:param pulumi.Input[str] platform: Operating system release, using `image_type` instead.
|
|
149
150
|
:param pulumi.Input[str] pre_user_data: Node pre custom data, base64-encoded, the script executed before the node is initialized.
|
|
150
151
|
:param pulumi.Input['NodePoolPrivatePoolOptionsArgs'] private_pool_options: Private node pool configuration. See `private_pool_options` below.
|
|
152
|
+
:param pulumi.Input[str] ram_role_name: The name of the Worker RAM role.
|
|
153
|
+
* If it is empty, the default Worker RAM role created in the cluster will be used.
|
|
154
|
+
* If the specified RAM role is not empty, the specified RAM role must be a **Common Service role**, and its **trusted service** configuration must be **cloud server**. For more information, see [Create a common service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default Worker RAM role created in the cluster, the role name cannot start with 'KubernetesMasterRole-'or 'KubernetesWorkerRole.
|
|
155
|
+
|
|
156
|
+
> **NOTE:** This parameter is only supported for ACK-managed clusters of 1.22 or later versions.
|
|
151
157
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: The list of RDS instances.
|
|
152
158
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
153
159
|
:param pulumi.Input['NodePoolRollingPolicyArgs'] rolling_policy: Rotary configuration. See `rolling_policy` below.
|
|
@@ -169,8 +175,8 @@ class NodePoolArgs:
|
|
|
169
175
|
- `SpotWithPriceLimit` : Set the upper limit of the preemptible instance price.
|
|
170
176
|
- `SpotAsPriceGo` : The system automatically bids, following the actual price of the current market.
|
|
171
177
|
:param pulumi.Input[bool] system_disk_bursting_enabled: Specifies whether to enable the burst feature for system disks. Valid values:`true`: enables the burst feature. `false`: disables the burst feature. This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
172
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] system_disk_categories: The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values
|
|
173
|
-
:param pulumi.Input[str] system_disk_category: The
|
|
178
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] system_disk_categories: The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values see `system_disk_category`.
|
|
179
|
+
:param pulumi.Input[str] system_disk_category: The category of the system disk for nodes. Default value: `cloud_efficiency`. Valid values:
|
|
174
180
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The encryption algorithm used by the system disk. Value range: aes-256.
|
|
175
181
|
:param pulumi.Input[bool] system_disk_encrypted: Whether to encrypt the system disk. Value range: `true`: encryption. `false`: Do not encrypt.
|
|
176
182
|
:param pulumi.Input[str] system_disk_kms_key: The ID of the KMS key used by the system disk.
|
|
@@ -180,7 +186,11 @@ class NodePoolArgs:
|
|
|
180
186
|
- `PL2`: highest random read/write IOPS 100000 for a single disk.
|
|
181
187
|
- `PL3`: maximum random read/write IOPS 1 million for a single disk.
|
|
182
188
|
:param pulumi.Input[int] system_disk_provisioned_iops: The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
183
|
-
:param pulumi.Input[int] system_disk_size: The system disk
|
|
189
|
+
:param pulumi.Input[int] system_disk_size: The size of the system disk. Unit: GiB. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
|
|
190
|
+
- Basic disk: 20 to 500.
|
|
191
|
+
- ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD. PL0 ESSD: 1 to 2048. PL1 ESSD: 20 to 2048. PL2 ESSD: 461 to 2048. PL3 ESSD: 1261 to 2048.
|
|
192
|
+
- ESSD AutoPL disk (cloud_auto): 1 to 2048.
|
|
193
|
+
- Other disk categories: 20 to 2048.
|
|
184
194
|
:param pulumi.Input[str] system_disk_snapshot_policy_id: The ID of the automatic snapshot policy used by the system disk.
|
|
185
195
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Add tags only for ECS instances. The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://.
|
|
186
196
|
:param pulumi.Input[Sequence[pulumi.Input['NodePoolTaintArgs']]] taints: A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
|
|
@@ -280,6 +290,8 @@ class NodePoolArgs:
|
|
|
280
290
|
pulumi.set(__self__, "pre_user_data", pre_user_data)
|
|
281
291
|
if private_pool_options is not None:
|
|
282
292
|
pulumi.set(__self__, "private_pool_options", private_pool_options)
|
|
293
|
+
if ram_role_name is not None:
|
|
294
|
+
pulumi.set(__self__, "ram_role_name", ram_role_name)
|
|
283
295
|
if rds_instances is not None:
|
|
284
296
|
pulumi.set(__self__, "rds_instances", rds_instances)
|
|
285
297
|
if resource_group_id is not None:
|
|
@@ -854,6 +866,22 @@ class NodePoolArgs:
|
|
|
854
866
|
def private_pool_options(self, value: Optional[pulumi.Input['NodePoolPrivatePoolOptionsArgs']]):
|
|
855
867
|
pulumi.set(self, "private_pool_options", value)
|
|
856
868
|
|
|
869
|
+
@property
|
|
870
|
+
@pulumi.getter(name="ramRoleName")
|
|
871
|
+
def ram_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
872
|
+
"""
|
|
873
|
+
The name of the Worker RAM role.
|
|
874
|
+
* If it is empty, the default Worker RAM role created in the cluster will be used.
|
|
875
|
+
* If the specified RAM role is not empty, the specified RAM role must be a **Common Service role**, and its **trusted service** configuration must be **cloud server**. For more information, see [Create a common service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default Worker RAM role created in the cluster, the role name cannot start with 'KubernetesMasterRole-'or 'KubernetesWorkerRole.
|
|
876
|
+
|
|
877
|
+
> **NOTE:** This parameter is only supported for ACK-managed clusters of 1.22 or later versions.
|
|
878
|
+
"""
|
|
879
|
+
return pulumi.get(self, "ram_role_name")
|
|
880
|
+
|
|
881
|
+
@ram_role_name.setter
|
|
882
|
+
def ram_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
883
|
+
pulumi.set(self, "ram_role_name", value)
|
|
884
|
+
|
|
857
885
|
@property
|
|
858
886
|
@pulumi.getter(name="rdsInstances")
|
|
859
887
|
def rds_instances(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
@@ -1056,7 +1084,7 @@ class NodePoolArgs:
|
|
|
1056
1084
|
@pulumi.getter(name="systemDiskCategories")
|
|
1057
1085
|
def system_disk_categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1058
1086
|
"""
|
|
1059
|
-
The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values
|
|
1087
|
+
The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values see `system_disk_category`.
|
|
1060
1088
|
"""
|
|
1061
1089
|
return pulumi.get(self, "system_disk_categories")
|
|
1062
1090
|
|
|
@@ -1068,7 +1096,7 @@ class NodePoolArgs:
|
|
|
1068
1096
|
@pulumi.getter(name="systemDiskCategory")
|
|
1069
1097
|
def system_disk_category(self) -> Optional[pulumi.Input[str]]:
|
|
1070
1098
|
"""
|
|
1071
|
-
The
|
|
1099
|
+
The category of the system disk for nodes. Default value: `cloud_efficiency`. Valid values:
|
|
1072
1100
|
"""
|
|
1073
1101
|
return pulumi.get(self, "system_disk_category")
|
|
1074
1102
|
|
|
@@ -1144,7 +1172,11 @@ class NodePoolArgs:
|
|
|
1144
1172
|
@pulumi.getter(name="systemDiskSize")
|
|
1145
1173
|
def system_disk_size(self) -> Optional[pulumi.Input[int]]:
|
|
1146
1174
|
"""
|
|
1147
|
-
The system disk
|
|
1175
|
+
The size of the system disk. Unit: GiB. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
|
|
1176
|
+
- Basic disk: 20 to 500.
|
|
1177
|
+
- ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD. PL0 ESSD: 1 to 2048. PL1 ESSD: 20 to 2048. PL2 ESSD: 461 to 2048. PL3 ESSD: 1261 to 2048.
|
|
1178
|
+
- ESSD AutoPL disk (cloud_auto): 1 to 2048.
|
|
1179
|
+
- Other disk categories: 20 to 2048.
|
|
1148
1180
|
"""
|
|
1149
1181
|
return pulumi.get(self, "system_disk_size")
|
|
1150
1182
|
|
|
@@ -1281,6 +1313,7 @@ class _NodePoolState:
|
|
|
1281
1313
|
platform: Optional[pulumi.Input[str]] = None,
|
|
1282
1314
|
pre_user_data: Optional[pulumi.Input[str]] = None,
|
|
1283
1315
|
private_pool_options: Optional[pulumi.Input['NodePoolPrivatePoolOptionsArgs']] = None,
|
|
1316
|
+
ram_role_name: Optional[pulumi.Input[str]] = None,
|
|
1284
1317
|
rds_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1285
1318
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1286
1319
|
rolling_policy: Optional[pulumi.Input['NodePoolRollingPolicyArgs']] = None,
|
|
@@ -1369,6 +1402,11 @@ class _NodePoolState:
|
|
|
1369
1402
|
:param pulumi.Input[str] platform: Operating system release, using `image_type` instead.
|
|
1370
1403
|
:param pulumi.Input[str] pre_user_data: Node pre custom data, base64-encoded, the script executed before the node is initialized.
|
|
1371
1404
|
:param pulumi.Input['NodePoolPrivatePoolOptionsArgs'] private_pool_options: Private node pool configuration. See `private_pool_options` below.
|
|
1405
|
+
:param pulumi.Input[str] ram_role_name: The name of the Worker RAM role.
|
|
1406
|
+
* If it is empty, the default Worker RAM role created in the cluster will be used.
|
|
1407
|
+
* If the specified RAM role is not empty, the specified RAM role must be a **Common Service role**, and its **trusted service** configuration must be **cloud server**. For more information, see [Create a common service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default Worker RAM role created in the cluster, the role name cannot start with 'KubernetesMasterRole-'or 'KubernetesWorkerRole.
|
|
1408
|
+
|
|
1409
|
+
> **NOTE:** This parameter is only supported for ACK-managed clusters of 1.22 or later versions.
|
|
1372
1410
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: The list of RDS instances.
|
|
1373
1411
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
1374
1412
|
:param pulumi.Input['NodePoolRollingPolicyArgs'] rolling_policy: Rotary configuration. See `rolling_policy` below.
|
|
@@ -1391,8 +1429,8 @@ class _NodePoolState:
|
|
|
1391
1429
|
- `SpotWithPriceLimit` : Set the upper limit of the preemptible instance price.
|
|
1392
1430
|
- `SpotAsPriceGo` : The system automatically bids, following the actual price of the current market.
|
|
1393
1431
|
:param pulumi.Input[bool] system_disk_bursting_enabled: Specifies whether to enable the burst feature for system disks. Valid values:`true`: enables the burst feature. `false`: disables the burst feature. This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
1394
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] system_disk_categories: The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values
|
|
1395
|
-
:param pulumi.Input[str] system_disk_category: The
|
|
1432
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] system_disk_categories: The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values see `system_disk_category`.
|
|
1433
|
+
:param pulumi.Input[str] system_disk_category: The category of the system disk for nodes. Default value: `cloud_efficiency`. Valid values:
|
|
1396
1434
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The encryption algorithm used by the system disk. Value range: aes-256.
|
|
1397
1435
|
:param pulumi.Input[bool] system_disk_encrypted: Whether to encrypt the system disk. Value range: `true`: encryption. `false`: Do not encrypt.
|
|
1398
1436
|
:param pulumi.Input[str] system_disk_kms_key: The ID of the KMS key used by the system disk.
|
|
@@ -1402,7 +1440,11 @@ class _NodePoolState:
|
|
|
1402
1440
|
- `PL2`: highest random read/write IOPS 100000 for a single disk.
|
|
1403
1441
|
- `PL3`: maximum random read/write IOPS 1 million for a single disk.
|
|
1404
1442
|
:param pulumi.Input[int] system_disk_provisioned_iops: The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
1405
|
-
:param pulumi.Input[int] system_disk_size: The system disk
|
|
1443
|
+
:param pulumi.Input[int] system_disk_size: The size of the system disk. Unit: GiB. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
|
|
1444
|
+
- Basic disk: 20 to 500.
|
|
1445
|
+
- ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD. PL0 ESSD: 1 to 2048. PL1 ESSD: 20 to 2048. PL2 ESSD: 461 to 2048. PL3 ESSD: 1261 to 2048.
|
|
1446
|
+
- ESSD AutoPL disk (cloud_auto): 1 to 2048.
|
|
1447
|
+
- Other disk categories: 20 to 2048.
|
|
1406
1448
|
:param pulumi.Input[str] system_disk_snapshot_policy_id: The ID of the automatic snapshot policy used by the system disk.
|
|
1407
1449
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Add tags only for ECS instances. The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://.
|
|
1408
1450
|
:param pulumi.Input[Sequence[pulumi.Input['NodePoolTaintArgs']]] taints: A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
|
|
@@ -1506,6 +1548,8 @@ class _NodePoolState:
|
|
|
1506
1548
|
pulumi.set(__self__, "pre_user_data", pre_user_data)
|
|
1507
1549
|
if private_pool_options is not None:
|
|
1508
1550
|
pulumi.set(__self__, "private_pool_options", private_pool_options)
|
|
1551
|
+
if ram_role_name is not None:
|
|
1552
|
+
pulumi.set(__self__, "ram_role_name", ram_role_name)
|
|
1509
1553
|
if rds_instances is not None:
|
|
1510
1554
|
pulumi.set(__self__, "rds_instances", rds_instances)
|
|
1511
1555
|
if resource_group_id is not None:
|
|
@@ -2084,6 +2128,22 @@ class _NodePoolState:
|
|
|
2084
2128
|
def private_pool_options(self, value: Optional[pulumi.Input['NodePoolPrivatePoolOptionsArgs']]):
|
|
2085
2129
|
pulumi.set(self, "private_pool_options", value)
|
|
2086
2130
|
|
|
2131
|
+
@property
|
|
2132
|
+
@pulumi.getter(name="ramRoleName")
|
|
2133
|
+
def ram_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
2134
|
+
"""
|
|
2135
|
+
The name of the Worker RAM role.
|
|
2136
|
+
* If it is empty, the default Worker RAM role created in the cluster will be used.
|
|
2137
|
+
* If the specified RAM role is not empty, the specified RAM role must be a **Common Service role**, and its **trusted service** configuration must be **cloud server**. For more information, see [Create a common service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default Worker RAM role created in the cluster, the role name cannot start with 'KubernetesMasterRole-'or 'KubernetesWorkerRole.
|
|
2138
|
+
|
|
2139
|
+
> **NOTE:** This parameter is only supported for ACK-managed clusters of 1.22 or later versions.
|
|
2140
|
+
"""
|
|
2141
|
+
return pulumi.get(self, "ram_role_name")
|
|
2142
|
+
|
|
2143
|
+
@ram_role_name.setter
|
|
2144
|
+
def ram_role_name(self, value: Optional[pulumi.Input[str]]):
|
|
2145
|
+
pulumi.set(self, "ram_role_name", value)
|
|
2146
|
+
|
|
2087
2147
|
@property
|
|
2088
2148
|
@pulumi.getter(name="rdsInstances")
|
|
2089
2149
|
def rds_instances(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
@@ -2298,7 +2358,7 @@ class _NodePoolState:
|
|
|
2298
2358
|
@pulumi.getter(name="systemDiskCategories")
|
|
2299
2359
|
def system_disk_categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2300
2360
|
"""
|
|
2301
|
-
The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values
|
|
2361
|
+
The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values see `system_disk_category`.
|
|
2302
2362
|
"""
|
|
2303
2363
|
return pulumi.get(self, "system_disk_categories")
|
|
2304
2364
|
|
|
@@ -2310,7 +2370,7 @@ class _NodePoolState:
|
|
|
2310
2370
|
@pulumi.getter(name="systemDiskCategory")
|
|
2311
2371
|
def system_disk_category(self) -> Optional[pulumi.Input[str]]:
|
|
2312
2372
|
"""
|
|
2313
|
-
The
|
|
2373
|
+
The category of the system disk for nodes. Default value: `cloud_efficiency`. Valid values:
|
|
2314
2374
|
"""
|
|
2315
2375
|
return pulumi.get(self, "system_disk_category")
|
|
2316
2376
|
|
|
@@ -2386,7 +2446,11 @@ class _NodePoolState:
|
|
|
2386
2446
|
@pulumi.getter(name="systemDiskSize")
|
|
2387
2447
|
def system_disk_size(self) -> Optional[pulumi.Input[int]]:
|
|
2388
2448
|
"""
|
|
2389
|
-
The system disk
|
|
2449
|
+
The size of the system disk. Unit: GiB. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
|
|
2450
|
+
- Basic disk: 20 to 500.
|
|
2451
|
+
- ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD. PL0 ESSD: 1 to 2048. PL1 ESSD: 20 to 2048. PL2 ESSD: 461 to 2048. PL3 ESSD: 1261 to 2048.
|
|
2452
|
+
- ESSD AutoPL disk (cloud_auto): 1 to 2048.
|
|
2453
|
+
- Other disk categories: 20 to 2048.
|
|
2390
2454
|
"""
|
|
2391
2455
|
return pulumi.get(self, "system_disk_size")
|
|
2392
2456
|
|
|
@@ -2536,6 +2600,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2536
2600
|
platform: Optional[pulumi.Input[str]] = None,
|
|
2537
2601
|
pre_user_data: Optional[pulumi.Input[str]] = None,
|
|
2538
2602
|
private_pool_options: Optional[pulumi.Input[Union['NodePoolPrivatePoolOptionsArgs', 'NodePoolPrivatePoolOptionsArgsDict']]] = None,
|
|
2603
|
+
ram_role_name: Optional[pulumi.Input[str]] = None,
|
|
2539
2604
|
rds_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2540
2605
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
2541
2606
|
rolling_policy: Optional[pulumi.Input[Union['NodePoolRollingPolicyArgs', 'NodePoolRollingPolicyArgsDict']]] = None,
|
|
@@ -2576,7 +2641,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2576
2641
|
|
|
2577
2642
|
## Import
|
|
2578
2643
|
|
|
2579
|
-
ACK Nodepool can be imported using the id, e.g.
|
|
2644
|
+
Container Service for Kubernetes (ACK) Nodepool can be imported using the id, e.g.
|
|
2580
2645
|
|
|
2581
2646
|
```sh
|
|
2582
2647
|
$ pulumi import alicloud:cs/nodePool:NodePool example <cluster_id>:<node_pool_id>
|
|
@@ -2636,6 +2701,11 @@ class NodePool(pulumi.CustomResource):
|
|
|
2636
2701
|
:param pulumi.Input[str] platform: Operating system release, using `image_type` instead.
|
|
2637
2702
|
:param pulumi.Input[str] pre_user_data: Node pre custom data, base64-encoded, the script executed before the node is initialized.
|
|
2638
2703
|
:param pulumi.Input[Union['NodePoolPrivatePoolOptionsArgs', 'NodePoolPrivatePoolOptionsArgsDict']] private_pool_options: Private node pool configuration. See `private_pool_options` below.
|
|
2704
|
+
:param pulumi.Input[str] ram_role_name: The name of the Worker RAM role.
|
|
2705
|
+
* If it is empty, the default Worker RAM role created in the cluster will be used.
|
|
2706
|
+
* If the specified RAM role is not empty, the specified RAM role must be a **Common Service role**, and its **trusted service** configuration must be **cloud server**. For more information, see [Create a common service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default Worker RAM role created in the cluster, the role name cannot start with 'KubernetesMasterRole-'or 'KubernetesWorkerRole.
|
|
2707
|
+
|
|
2708
|
+
> **NOTE:** This parameter is only supported for ACK-managed clusters of 1.22 or later versions.
|
|
2639
2709
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: The list of RDS instances.
|
|
2640
2710
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
2641
2711
|
:param pulumi.Input[Union['NodePoolRollingPolicyArgs', 'NodePoolRollingPolicyArgsDict']] rolling_policy: Rotary configuration. See `rolling_policy` below.
|
|
@@ -2657,8 +2727,8 @@ class NodePool(pulumi.CustomResource):
|
|
|
2657
2727
|
- `SpotWithPriceLimit` : Set the upper limit of the preemptible instance price.
|
|
2658
2728
|
- `SpotAsPriceGo` : The system automatically bids, following the actual price of the current market.
|
|
2659
2729
|
:param pulumi.Input[bool] system_disk_bursting_enabled: Specifies whether to enable the burst feature for system disks. Valid values:`true`: enables the burst feature. `false`: disables the burst feature. This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
2660
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] system_disk_categories: The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values
|
|
2661
|
-
:param pulumi.Input[str] system_disk_category: The
|
|
2730
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] system_disk_categories: The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values see `system_disk_category`.
|
|
2731
|
+
:param pulumi.Input[str] system_disk_category: The category of the system disk for nodes. Default value: `cloud_efficiency`. Valid values:
|
|
2662
2732
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The encryption algorithm used by the system disk. Value range: aes-256.
|
|
2663
2733
|
:param pulumi.Input[bool] system_disk_encrypted: Whether to encrypt the system disk. Value range: `true`: encryption. `false`: Do not encrypt.
|
|
2664
2734
|
:param pulumi.Input[str] system_disk_kms_key: The ID of the KMS key used by the system disk.
|
|
@@ -2668,7 +2738,11 @@ class NodePool(pulumi.CustomResource):
|
|
|
2668
2738
|
- `PL2`: highest random read/write IOPS 100000 for a single disk.
|
|
2669
2739
|
- `PL3`: maximum random read/write IOPS 1 million for a single disk.
|
|
2670
2740
|
:param pulumi.Input[int] system_disk_provisioned_iops: The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
2671
|
-
:param pulumi.Input[int] system_disk_size: The system disk
|
|
2741
|
+
:param pulumi.Input[int] system_disk_size: The size of the system disk. Unit: GiB. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
|
|
2742
|
+
- Basic disk: 20 to 500.
|
|
2743
|
+
- ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD. PL0 ESSD: 1 to 2048. PL1 ESSD: 20 to 2048. PL2 ESSD: 461 to 2048. PL3 ESSD: 1261 to 2048.
|
|
2744
|
+
- ESSD AutoPL disk (cloud_auto): 1 to 2048.
|
|
2745
|
+
- Other disk categories: 20 to 2048.
|
|
2672
2746
|
:param pulumi.Input[str] system_disk_snapshot_policy_id: The ID of the automatic snapshot policy used by the system disk.
|
|
2673
2747
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Add tags only for ECS instances. The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://.
|
|
2674
2748
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NodePoolTaintArgs', 'NodePoolTaintArgsDict']]]] taints: A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
|
|
@@ -2691,7 +2765,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2691
2765
|
|
|
2692
2766
|
## Import
|
|
2693
2767
|
|
|
2694
|
-
ACK Nodepool can be imported using the id, e.g.
|
|
2768
|
+
Container Service for Kubernetes (ACK) Nodepool can be imported using the id, e.g.
|
|
2695
2769
|
|
|
2696
2770
|
```sh
|
|
2697
2771
|
$ pulumi import alicloud:cs/nodePool:NodePool example <cluster_id>:<node_pool_id>
|
|
@@ -2752,6 +2826,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2752
2826
|
platform: Optional[pulumi.Input[str]] = None,
|
|
2753
2827
|
pre_user_data: Optional[pulumi.Input[str]] = None,
|
|
2754
2828
|
private_pool_options: Optional[pulumi.Input[Union['NodePoolPrivatePoolOptionsArgs', 'NodePoolPrivatePoolOptionsArgsDict']]] = None,
|
|
2829
|
+
ram_role_name: Optional[pulumi.Input[str]] = None,
|
|
2755
2830
|
rds_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2756
2831
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
2757
2832
|
rolling_policy: Optional[pulumi.Input[Union['NodePoolRollingPolicyArgs', 'NodePoolRollingPolicyArgsDict']]] = None,
|
|
@@ -2837,6 +2912,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2837
2912
|
__props__.__dict__["platform"] = platform
|
|
2838
2913
|
__props__.__dict__["pre_user_data"] = pre_user_data
|
|
2839
2914
|
__props__.__dict__["private_pool_options"] = private_pool_options
|
|
2915
|
+
__props__.__dict__["ram_role_name"] = ram_role_name
|
|
2840
2916
|
__props__.__dict__["rds_instances"] = rds_instances
|
|
2841
2917
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
2842
2918
|
__props__.__dict__["rolling_policy"] = rolling_policy
|
|
@@ -2926,6 +3002,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2926
3002
|
platform: Optional[pulumi.Input[str]] = None,
|
|
2927
3003
|
pre_user_data: Optional[pulumi.Input[str]] = None,
|
|
2928
3004
|
private_pool_options: Optional[pulumi.Input[Union['NodePoolPrivatePoolOptionsArgs', 'NodePoolPrivatePoolOptionsArgsDict']]] = None,
|
|
3005
|
+
ram_role_name: Optional[pulumi.Input[str]] = None,
|
|
2929
3006
|
rds_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2930
3007
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
2931
3008
|
rolling_policy: Optional[pulumi.Input[Union['NodePoolRollingPolicyArgs', 'NodePoolRollingPolicyArgsDict']]] = None,
|
|
@@ -3019,6 +3096,11 @@ class NodePool(pulumi.CustomResource):
|
|
|
3019
3096
|
:param pulumi.Input[str] platform: Operating system release, using `image_type` instead.
|
|
3020
3097
|
:param pulumi.Input[str] pre_user_data: Node pre custom data, base64-encoded, the script executed before the node is initialized.
|
|
3021
3098
|
:param pulumi.Input[Union['NodePoolPrivatePoolOptionsArgs', 'NodePoolPrivatePoolOptionsArgsDict']] private_pool_options: Private node pool configuration. See `private_pool_options` below.
|
|
3099
|
+
:param pulumi.Input[str] ram_role_name: The name of the Worker RAM role.
|
|
3100
|
+
* If it is empty, the default Worker RAM role created in the cluster will be used.
|
|
3101
|
+
* If the specified RAM role is not empty, the specified RAM role must be a **Common Service role**, and its **trusted service** configuration must be **cloud server**. For more information, see [Create a common service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default Worker RAM role created in the cluster, the role name cannot start with 'KubernetesMasterRole-'or 'KubernetesWorkerRole.
|
|
3102
|
+
|
|
3103
|
+
> **NOTE:** This parameter is only supported for ACK-managed clusters of 1.22 or later versions.
|
|
3022
3104
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: The list of RDS instances.
|
|
3023
3105
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
3024
3106
|
:param pulumi.Input[Union['NodePoolRollingPolicyArgs', 'NodePoolRollingPolicyArgsDict']] rolling_policy: Rotary configuration. See `rolling_policy` below.
|
|
@@ -3041,8 +3123,8 @@ class NodePool(pulumi.CustomResource):
|
|
|
3041
3123
|
- `SpotWithPriceLimit` : Set the upper limit of the preemptible instance price.
|
|
3042
3124
|
- `SpotAsPriceGo` : The system automatically bids, following the actual price of the current market.
|
|
3043
3125
|
:param pulumi.Input[bool] system_disk_bursting_enabled: Specifies whether to enable the burst feature for system disks. Valid values:`true`: enables the burst feature. `false`: disables the burst feature. This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
3044
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] system_disk_categories: The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values
|
|
3045
|
-
:param pulumi.Input[str] system_disk_category: The
|
|
3126
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] system_disk_categories: The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values see `system_disk_category`.
|
|
3127
|
+
:param pulumi.Input[str] system_disk_category: The category of the system disk for nodes. Default value: `cloud_efficiency`. Valid values:
|
|
3046
3128
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The encryption algorithm used by the system disk. Value range: aes-256.
|
|
3047
3129
|
:param pulumi.Input[bool] system_disk_encrypted: Whether to encrypt the system disk. Value range: `true`: encryption. `false`: Do not encrypt.
|
|
3048
3130
|
:param pulumi.Input[str] system_disk_kms_key: The ID of the KMS key used by the system disk.
|
|
@@ -3052,7 +3134,11 @@ class NodePool(pulumi.CustomResource):
|
|
|
3052
3134
|
- `PL2`: highest random read/write IOPS 100000 for a single disk.
|
|
3053
3135
|
- `PL3`: maximum random read/write IOPS 1 million for a single disk.
|
|
3054
3136
|
:param pulumi.Input[int] system_disk_provisioned_iops: The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
3055
|
-
:param pulumi.Input[int] system_disk_size: The system disk
|
|
3137
|
+
:param pulumi.Input[int] system_disk_size: The size of the system disk. Unit: GiB. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
|
|
3138
|
+
- Basic disk: 20 to 500.
|
|
3139
|
+
- ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD. PL0 ESSD: 1 to 2048. PL1 ESSD: 20 to 2048. PL2 ESSD: 461 to 2048. PL3 ESSD: 1261 to 2048.
|
|
3140
|
+
- ESSD AutoPL disk (cloud_auto): 1 to 2048.
|
|
3141
|
+
- Other disk categories: 20 to 2048.
|
|
3056
3142
|
:param pulumi.Input[str] system_disk_snapshot_policy_id: The ID of the automatic snapshot policy used by the system disk.
|
|
3057
3143
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Add tags only for ECS instances. The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://.
|
|
3058
3144
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NodePoolTaintArgs', 'NodePoolTaintArgsDict']]]] taints: A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
|
|
@@ -3107,6 +3193,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3107
3193
|
__props__.__dict__["platform"] = platform
|
|
3108
3194
|
__props__.__dict__["pre_user_data"] = pre_user_data
|
|
3109
3195
|
__props__.__dict__["private_pool_options"] = private_pool_options
|
|
3196
|
+
__props__.__dict__["ram_role_name"] = ram_role_name
|
|
3110
3197
|
__props__.__dict__["rds_instances"] = rds_instances
|
|
3111
3198
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
3112
3199
|
__props__.__dict__["rolling_policy"] = rolling_policy
|
|
@@ -3486,6 +3573,18 @@ class NodePool(pulumi.CustomResource):
|
|
|
3486
3573
|
"""
|
|
3487
3574
|
return pulumi.get(self, "private_pool_options")
|
|
3488
3575
|
|
|
3576
|
+
@property
|
|
3577
|
+
@pulumi.getter(name="ramRoleName")
|
|
3578
|
+
def ram_role_name(self) -> pulumi.Output[str]:
|
|
3579
|
+
"""
|
|
3580
|
+
The name of the Worker RAM role.
|
|
3581
|
+
* If it is empty, the default Worker RAM role created in the cluster will be used.
|
|
3582
|
+
* If the specified RAM role is not empty, the specified RAM role must be a **Common Service role**, and its **trusted service** configuration must be **cloud server**. For more information, see [Create a common service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default Worker RAM role created in the cluster, the role name cannot start with 'KubernetesMasterRole-'or 'KubernetesWorkerRole.
|
|
3583
|
+
|
|
3584
|
+
> **NOTE:** This parameter is only supported for ACK-managed clusters of 1.22 or later versions.
|
|
3585
|
+
"""
|
|
3586
|
+
return pulumi.get(self, "ram_role_name")
|
|
3587
|
+
|
|
3489
3588
|
@property
|
|
3490
3589
|
@pulumi.getter(name="rdsInstances")
|
|
3491
3590
|
def rds_instances(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
@@ -3632,7 +3731,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3632
3731
|
@pulumi.getter(name="systemDiskCategories")
|
|
3633
3732
|
def system_disk_categories(self) -> pulumi.Output[Sequence[str]]:
|
|
3634
3733
|
"""
|
|
3635
|
-
The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values
|
|
3734
|
+
The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values see `system_disk_category`.
|
|
3636
3735
|
"""
|
|
3637
3736
|
return pulumi.get(self, "system_disk_categories")
|
|
3638
3737
|
|
|
@@ -3640,7 +3739,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3640
3739
|
@pulumi.getter(name="systemDiskCategory")
|
|
3641
3740
|
def system_disk_category(self) -> pulumi.Output[str]:
|
|
3642
3741
|
"""
|
|
3643
|
-
The
|
|
3742
|
+
The category of the system disk for nodes. Default value: `cloud_efficiency`. Valid values:
|
|
3644
3743
|
"""
|
|
3645
3744
|
return pulumi.get(self, "system_disk_category")
|
|
3646
3745
|
|
|
@@ -3692,7 +3791,11 @@ class NodePool(pulumi.CustomResource):
|
|
|
3692
3791
|
@pulumi.getter(name="systemDiskSize")
|
|
3693
3792
|
def system_disk_size(self) -> pulumi.Output[Optional[int]]:
|
|
3694
3793
|
"""
|
|
3695
|
-
The system disk
|
|
3794
|
+
The size of the system disk. Unit: GiB. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
|
|
3795
|
+
- Basic disk: 20 to 500.
|
|
3796
|
+
- ESSD (cloud_essd): The valid values vary based on the performance level of the ESSD. PL0 ESSD: 1 to 2048. PL1 ESSD: 20 to 2048. PL2 ESSD: 461 to 2048. PL3 ESSD: 1261 to 2048.
|
|
3797
|
+
- ESSD AutoPL disk (cloud_auto): 1 to 2048.
|
|
3798
|
+
- Other disk categories: 20 to 2048.
|
|
3696
3799
|
"""
|
|
3697
3800
|
return pulumi.get(self, "system_disk_size")
|
|
3698
3801
|
|