pulumi-alicloud 3.63.1__py3-none-any.whl → 3.64.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 +16 -0
- pulumi_alicloud/amqp/instance.py +8 -8
- pulumi_alicloud/bss/get_open_api_pricing_modules.py +4 -4
- pulumi_alicloud/bss/get_open_api_products.py +4 -4
- pulumi_alicloud/cas/get_certificates.py +17 -1
- pulumi_alicloud/cas/get_service_certificates.py +153 -17
- pulumi_alicloud/cas/outputs.py +40 -36
- pulumi_alicloud/cen/instance.py +108 -53
- pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
- pulumi_alicloud/cloudfirewall/instance.py +64 -36
- pulumi_alicloud/cs/_inputs.py +390 -26
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +48 -35
- pulumi_alicloud/cs/managed_kubernetes.py +91 -35
- pulumi_alicloud/cs/node_pool.py +68 -14
- pulumi_alicloud/cs/outputs.py +293 -16
- pulumi_alicloud/cs/serverless_kubernetes.py +157 -63
- pulumi_alicloud/databasefilesystem/_inputs.py +0 -6
- pulumi_alicloud/databasefilesystem/instance.py +31 -0
- pulumi_alicloud/databasefilesystem/outputs.py +0 -4
- pulumi_alicloud/dns/get_alidns_records.py +26 -4
- pulumi_alicloud/dns/outputs.py +2 -2
- pulumi_alicloud/eais/instance.py +55 -57
- pulumi_alicloud/ecp/instance.py +177 -219
- pulumi_alicloud/ecs/disk.py +2 -2
- pulumi_alicloud/ecs/ecs_disk.py +142 -58
- pulumi_alicloud/ecs/ecs_key_pair.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +169 -0
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +172 -6
- pulumi_alicloud/ecs/instance.py +131 -98
- pulumi_alicloud/ecs/key_pair.py +1 -1
- pulumi_alicloud/ecs/launch_template.py +102 -0
- pulumi_alicloud/ecs/outputs.py +57 -24
- pulumi_alicloud/ens/disk.py +2 -2
- pulumi_alicloud/ens/disk_instance_attachment.py +2 -2
- pulumi_alicloud/ess/_inputs.py +342 -2
- pulumi_alicloud/ess/eci_scaling_configuration.py +202 -0
- pulumi_alicloud/ess/outputs.py +226 -2
- pulumi_alicloud/ess/scaling_configuration.py +376 -0
- pulumi_alicloud/ga/_inputs.py +57 -22
- pulumi_alicloud/ga/outputs.py +39 -15
- pulumi_alicloud/gpdb/__init__.py +1 -0
- pulumi_alicloud/gpdb/database.py +545 -0
- pulumi_alicloud/gpdb/instance.py +1 -1
- pulumi_alicloud/kvstore/instance.py +24 -5
- pulumi_alicloud/mse/cluster.py +149 -51
- pulumi_alicloud/mse/engine_namespace.py +176 -74
- pulumi_alicloud/mse/get_clusters.py +70 -10
- pulumi_alicloud/mse/get_engine_namespaces.py +93 -15
- pulumi_alicloud/mse/outputs.py +36 -8
- pulumi_alicloud/nas/data_flow.py +6 -6
- pulumi_alicloud/nas/fileset.py +6 -6
- pulumi_alicloud/nas/lifecycle_policy.py +6 -6
- pulumi_alicloud/nas/recycle_bin.py +6 -6
- pulumi_alicloud/nas/snapshot.py +6 -6
- pulumi_alicloud/polardb/cluster.py +162 -0
- pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +51 -7
- pulumi_alicloud/privatelink/outputs.py +17 -6
- pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +54 -17
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +7 -21
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +50 -3
- pulumi_alicloud/resourcemanager/get_folders.py +35 -28
- pulumi_alicloud/resourcemanager/outputs.py +8 -8
- pulumi_alicloud/servicemesh/_inputs.py +656 -174
- pulumi_alicloud/servicemesh/outputs.py +507 -117
- pulumi_alicloud/servicemesh/service_mesh.py +120 -78
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +307 -0
- pulumi_alicloud/sls/collection_policy.py +561 -0
- pulumi_alicloud/sls/outputs.py +263 -0
- pulumi_alicloud/threatdetection/instance.py +331 -43
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/RECORD +76 -74
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/top_level.txt +0 -0
pulumi_alicloud/cs/kubernetes.py
CHANGED
|
@@ -92,11 +92,11 @@ class KubernetesArgs:
|
|
|
92
92
|
:param pulumi.Input[bool] enable_ssh: Enable login to the node through SSH. Default to `false`.
|
|
93
93
|
:param pulumi.Input[str] image_id: Custom Image support. Must based on CentOS7 or AliyunLinux2.
|
|
94
94
|
:param pulumi.Input[bool] install_cloud_monitor: Install cloud monitor agent on ECS. Default to `true`.
|
|
95
|
-
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
95
|
+
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). Only works for **Create** Operation.
|
|
96
96
|
:param pulumi.Input[str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
97
97
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
98
98
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a cs kubernetes with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
99
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
99
|
+
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
100
100
|
:param pulumi.Input[bool] master_auto_renew: Enable master payment auto-renew, defaults to false.
|
|
101
101
|
:param pulumi.Input[int] master_auto_renew_period: Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
|
|
102
102
|
:param pulumi.Input[str] master_disk_category: The system disk category of master node. Its valid value are `cloud_ssd`, `cloud_essd` and `cloud_efficiency`. Default to `cloud_efficiency`.
|
|
@@ -109,14 +109,14 @@ class KubernetesArgs:
|
|
|
109
109
|
:param pulumi.Input[int] master_period: Master payment period.Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
110
110
|
:param pulumi.Input[str] master_period_unit: Master payment period unit, the valid value is `Month`.
|
|
111
111
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
112
|
-
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.
|
|
112
|
+
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules. Only works for **Create** Operation.
|
|
113
113
|
:param pulumi.Input[int] node_cidr_mask: The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
|
|
114
114
|
:param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, an IP substring, and a suffix, the input format is `customized,<prefix>,IPSubStringLen,<suffix>`. For example "customized,aliyun.com-,5,-test", if the node IP address is 192.168.59.176, the prefix is aliyun.com-, IP substring length is 5, and the suffix is -test, the node name will be aliyun.com-59176-test.
|
|
115
115
|
:param pulumi.Input[str] os_type: The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.
|
|
116
116
|
:param pulumi.Input[str] password: The password of ssh login cluster node. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
117
117
|
:param pulumi.Input[str] platform: The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.
|
|
118
118
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
119
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones.
|
|
119
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
120
120
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
|
|
121
121
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: RDS instance list, You can choose which RDS instances whitelist to add instances to.
|
|
122
122
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
@@ -124,7 +124,7 @@ class KubernetesArgs:
|
|
|
124
124
|
:param pulumi.Input[str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
125
125
|
:param pulumi.Input[str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
|
|
126
126
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
127
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
127
|
+
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
128
128
|
|
|
129
129
|
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
130
130
|
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
@@ -169,6 +169,9 @@ class KubernetesArgs:
|
|
|
169
169
|
pulumi.set(__self__, "kms_encrypted_password", kms_encrypted_password)
|
|
170
170
|
if kms_encryption_context is not None:
|
|
171
171
|
pulumi.set(__self__, "kms_encryption_context", kms_encryption_context)
|
|
172
|
+
if load_balancer_spec is not None:
|
|
173
|
+
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""", DeprecationWarning)
|
|
174
|
+
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""")
|
|
172
175
|
if load_balancer_spec is not None:
|
|
173
176
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
174
177
|
if master_auto_renew is not None:
|
|
@@ -415,7 +418,7 @@ class KubernetesArgs:
|
|
|
415
418
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
416
419
|
def is_enterprise_security_group(self) -> Optional[pulumi.Input[bool]]:
|
|
417
420
|
"""
|
|
418
|
-
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
421
|
+
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). Only works for **Create** Operation.
|
|
419
422
|
"""
|
|
420
423
|
return pulumi.get(self, "is_enterprise_security_group")
|
|
421
424
|
|
|
@@ -461,9 +464,10 @@ class KubernetesArgs:
|
|
|
461
464
|
|
|
462
465
|
@property
|
|
463
466
|
@pulumi.getter(name="loadBalancerSpec")
|
|
467
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""")
|
|
464
468
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
465
469
|
"""
|
|
466
|
-
The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
470
|
+
The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
467
471
|
"""
|
|
468
472
|
return pulumi.get(self, "load_balancer_spec")
|
|
469
473
|
|
|
@@ -607,7 +611,7 @@ class KubernetesArgs:
|
|
|
607
611
|
@pulumi.getter(name="newNatGateway")
|
|
608
612
|
def new_nat_gateway(self) -> Optional[pulumi.Input[bool]]:
|
|
609
613
|
"""
|
|
610
|
-
Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.
|
|
614
|
+
Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules. Only works for **Create** Operation.
|
|
611
615
|
"""
|
|
612
616
|
return pulumi.get(self, "new_nat_gateway")
|
|
613
617
|
|
|
@@ -691,7 +695,7 @@ class KubernetesArgs:
|
|
|
691
695
|
@pulumi.getter(name="podVswitchIds")
|
|
692
696
|
def pod_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
693
697
|
"""
|
|
694
|
-
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones.
|
|
698
|
+
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
695
699
|
"""
|
|
696
700
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
697
701
|
|
|
@@ -796,7 +800,7 @@ class KubernetesArgs:
|
|
|
796
800
|
@pulumi.getter(name="slbInternetEnabled")
|
|
797
801
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
798
802
|
"""
|
|
799
|
-
Whether to create internet load balancer for API Server. Default to true.
|
|
803
|
+
Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
800
804
|
|
|
801
805
|
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
802
806
|
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
@@ -941,11 +945,11 @@ class _KubernetesState:
|
|
|
941
945
|
:param pulumi.Input[bool] enable_ssh: Enable login to the node through SSH. Default to `false`.
|
|
942
946
|
:param pulumi.Input[str] image_id: Custom Image support. Must based on CentOS7 or AliyunLinux2.
|
|
943
947
|
:param pulumi.Input[bool] install_cloud_monitor: Install cloud monitor agent on ECS. Default to `true`.
|
|
944
|
-
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
948
|
+
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). Only works for **Create** Operation.
|
|
945
949
|
:param pulumi.Input[str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
946
950
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
947
951
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a cs kubernetes with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
948
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
952
|
+
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
949
953
|
:param pulumi.Input[bool] master_auto_renew: Enable master payment auto-renew, defaults to false.
|
|
950
954
|
:param pulumi.Input[int] master_auto_renew_period: Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
|
|
951
955
|
:param pulumi.Input[str] master_disk_category: The system disk category of master node. Its valid value are `cloud_ssd`, `cloud_essd` and `cloud_efficiency`. Default to `cloud_efficiency`.
|
|
@@ -962,14 +966,14 @@ class _KubernetesState:
|
|
|
962
966
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] master_vswitch_ids: The vswitches used by master, you can specific 3 or 5 vswitches because of the amount of masters. Detailed below.
|
|
963
967
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
964
968
|
:param pulumi.Input[str] nat_gateway_id: The ID of nat gateway used to launch kubernetes cluster.
|
|
965
|
-
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.
|
|
969
|
+
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules. Only works for **Create** Operation.
|
|
966
970
|
:param pulumi.Input[int] node_cidr_mask: The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
|
|
967
971
|
:param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, an IP substring, and a suffix, the input format is `customized,<prefix>,IPSubStringLen,<suffix>`. For example "customized,aliyun.com-,5,-test", if the node IP address is 192.168.59.176, the prefix is aliyun.com-, IP substring length is 5, and the suffix is -test, the node name will be aliyun.com-59176-test.
|
|
968
972
|
:param pulumi.Input[str] os_type: The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.
|
|
969
973
|
:param pulumi.Input[str] password: The password of ssh login cluster node. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
970
974
|
:param pulumi.Input[str] platform: The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.
|
|
971
975
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
972
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones.
|
|
976
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
973
977
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
|
|
974
978
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: RDS instance list, You can choose which RDS instances whitelist to add instances to.
|
|
975
979
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
@@ -979,7 +983,7 @@ class _KubernetesState:
|
|
|
979
983
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
980
984
|
:param pulumi.Input[str] slb_id: The ID of APIServer load balancer.
|
|
981
985
|
:param pulumi.Input[str] slb_internet: The public ip of load balancer.
|
|
982
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
986
|
+
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
983
987
|
|
|
984
988
|
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
985
989
|
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
@@ -1029,6 +1033,9 @@ class _KubernetesState:
|
|
|
1029
1033
|
pulumi.set(__self__, "kms_encrypted_password", kms_encrypted_password)
|
|
1030
1034
|
if kms_encryption_context is not None:
|
|
1031
1035
|
pulumi.set(__self__, "kms_encryption_context", kms_encryption_context)
|
|
1036
|
+
if load_balancer_spec is not None:
|
|
1037
|
+
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""", DeprecationWarning)
|
|
1038
|
+
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""")
|
|
1032
1039
|
if load_balancer_spec is not None:
|
|
1033
1040
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
1034
1041
|
if master_auto_renew is not None:
|
|
@@ -1293,7 +1300,7 @@ class _KubernetesState:
|
|
|
1293
1300
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
1294
1301
|
def is_enterprise_security_group(self) -> Optional[pulumi.Input[bool]]:
|
|
1295
1302
|
"""
|
|
1296
|
-
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
1303
|
+
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). Only works for **Create** Operation.
|
|
1297
1304
|
"""
|
|
1298
1305
|
return pulumi.get(self, "is_enterprise_security_group")
|
|
1299
1306
|
|
|
@@ -1339,9 +1346,10 @@ class _KubernetesState:
|
|
|
1339
1346
|
|
|
1340
1347
|
@property
|
|
1341
1348
|
@pulumi.getter(name="loadBalancerSpec")
|
|
1349
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""")
|
|
1342
1350
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
1343
1351
|
"""
|
|
1344
|
-
The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
1352
|
+
The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
1345
1353
|
"""
|
|
1346
1354
|
return pulumi.get(self, "load_balancer_spec")
|
|
1347
1355
|
|
|
@@ -1533,7 +1541,7 @@ class _KubernetesState:
|
|
|
1533
1541
|
@pulumi.getter(name="newNatGateway")
|
|
1534
1542
|
def new_nat_gateway(self) -> Optional[pulumi.Input[bool]]:
|
|
1535
1543
|
"""
|
|
1536
|
-
Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.
|
|
1544
|
+
Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules. Only works for **Create** Operation.
|
|
1537
1545
|
"""
|
|
1538
1546
|
return pulumi.get(self, "new_nat_gateway")
|
|
1539
1547
|
|
|
@@ -1617,7 +1625,7 @@ class _KubernetesState:
|
|
|
1617
1625
|
@pulumi.getter(name="podVswitchIds")
|
|
1618
1626
|
def pod_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1619
1627
|
"""
|
|
1620
|
-
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones.
|
|
1628
|
+
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
1621
1629
|
"""
|
|
1622
1630
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
1623
1631
|
|
|
@@ -1746,7 +1754,7 @@ class _KubernetesState:
|
|
|
1746
1754
|
@pulumi.getter(name="slbInternetEnabled")
|
|
1747
1755
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1748
1756
|
"""
|
|
1749
|
-
Whether to create internet load balancer for API Server. Default to true.
|
|
1757
|
+
Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
1750
1758
|
|
|
1751
1759
|
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
1752
1760
|
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
@@ -1904,6 +1912,8 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1904
1912
|
"""
|
|
1905
1913
|
This resource will help you to manage a Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see [What is kubernetes](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/create-an-ask-cluster-1).
|
|
1906
1914
|
|
|
1915
|
+
> **NOTE:** From August 21, 2024, Container Service for Kubernetes (ACK) discontinues the creation of ACK dedicated clusters, see [Product announcement](https://www.alibabacloud.com/help/en/ack/product-overview/product-announcement-announcement-on-stopping-new-ack-dedicated-cluster) for more details.
|
|
1916
|
+
|
|
1907
1917
|
> **NOTE:** Available since v1.9.0.
|
|
1908
1918
|
|
|
1909
1919
|
> **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster.
|
|
@@ -1962,11 +1972,11 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1962
1972
|
:param pulumi.Input[bool] enable_ssh: Enable login to the node through SSH. Default to `false`.
|
|
1963
1973
|
:param pulumi.Input[str] image_id: Custom Image support. Must based on CentOS7 or AliyunLinux2.
|
|
1964
1974
|
:param pulumi.Input[bool] install_cloud_monitor: Install cloud monitor agent on ECS. Default to `true`.
|
|
1965
|
-
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
1975
|
+
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). Only works for **Create** Operation.
|
|
1966
1976
|
:param pulumi.Input[str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
1967
1977
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
1968
1978
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a cs kubernetes with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
1969
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
1979
|
+
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
1970
1980
|
:param pulumi.Input[bool] master_auto_renew: Enable master payment auto-renew, defaults to false.
|
|
1971
1981
|
:param pulumi.Input[int] master_auto_renew_period: Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
|
|
1972
1982
|
:param pulumi.Input[str] master_disk_category: The system disk category of master node. Its valid value are `cloud_ssd`, `cloud_essd` and `cloud_efficiency`. Default to `cloud_efficiency`.
|
|
@@ -1981,14 +1991,14 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1981
1991
|
:param pulumi.Input[str] master_period_unit: Master payment period unit, the valid value is `Month`.
|
|
1982
1992
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] master_vswitch_ids: The vswitches used by master, you can specific 3 or 5 vswitches because of the amount of masters. Detailed below.
|
|
1983
1993
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
1984
|
-
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.
|
|
1994
|
+
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules. Only works for **Create** Operation.
|
|
1985
1995
|
:param pulumi.Input[int] node_cidr_mask: The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
|
|
1986
1996
|
:param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, an IP substring, and a suffix, the input format is `customized,<prefix>,IPSubStringLen,<suffix>`. For example "customized,aliyun.com-,5,-test", if the node IP address is 192.168.59.176, the prefix is aliyun.com-, IP substring length is 5, and the suffix is -test, the node name will be aliyun.com-59176-test.
|
|
1987
1997
|
:param pulumi.Input[str] os_type: The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.
|
|
1988
1998
|
:param pulumi.Input[str] password: The password of ssh login cluster node. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
1989
1999
|
:param pulumi.Input[str] platform: The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.
|
|
1990
2000
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
1991
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones.
|
|
2001
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
1992
2002
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
|
|
1993
2003
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: RDS instance list, You can choose which RDS instances whitelist to add instances to.
|
|
1994
2004
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
@@ -1996,7 +2006,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1996
2006
|
:param pulumi.Input[str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
1997
2007
|
:param pulumi.Input[str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
|
|
1998
2008
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
1999
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
2009
|
+
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
2000
2010
|
|
|
2001
2011
|
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
2002
2012
|
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
@@ -2016,6 +2026,8 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2016
2026
|
"""
|
|
2017
2027
|
This resource will help you to manage a Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see [What is kubernetes](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/create-an-ask-cluster-1).
|
|
2018
2028
|
|
|
2029
|
+
> **NOTE:** From August 21, 2024, Container Service for Kubernetes (ACK) discontinues the creation of ACK dedicated clusters, see [Product announcement](https://www.alibabacloud.com/help/en/ack/product-overview/product-announcement-announcement-on-stopping-new-ack-dedicated-cluster) for more details.
|
|
2030
|
+
|
|
2019
2031
|
> **NOTE:** Available since v1.9.0.
|
|
2020
2032
|
|
|
2021
2033
|
> **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster.
|
|
@@ -2292,11 +2304,11 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2292
2304
|
:param pulumi.Input[bool] enable_ssh: Enable login to the node through SSH. Default to `false`.
|
|
2293
2305
|
:param pulumi.Input[str] image_id: Custom Image support. Must based on CentOS7 or AliyunLinux2.
|
|
2294
2306
|
:param pulumi.Input[bool] install_cloud_monitor: Install cloud monitor agent on ECS. Default to `true`.
|
|
2295
|
-
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
2307
|
+
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). Only works for **Create** Operation.
|
|
2296
2308
|
:param pulumi.Input[str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
2297
2309
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
2298
2310
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a cs kubernetes with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
2299
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
2311
|
+
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
2300
2312
|
:param pulumi.Input[bool] master_auto_renew: Enable master payment auto-renew, defaults to false.
|
|
2301
2313
|
:param pulumi.Input[int] master_auto_renew_period: Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
|
|
2302
2314
|
:param pulumi.Input[str] master_disk_category: The system disk category of master node. Its valid value are `cloud_ssd`, `cloud_essd` and `cloud_efficiency`. Default to `cloud_efficiency`.
|
|
@@ -2313,14 +2325,14 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2313
2325
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] master_vswitch_ids: The vswitches used by master, you can specific 3 or 5 vswitches because of the amount of masters. Detailed below.
|
|
2314
2326
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
2315
2327
|
:param pulumi.Input[str] nat_gateway_id: The ID of nat gateway used to launch kubernetes cluster.
|
|
2316
|
-
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.
|
|
2328
|
+
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules. Only works for **Create** Operation.
|
|
2317
2329
|
:param pulumi.Input[int] node_cidr_mask: The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
|
|
2318
2330
|
:param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, an IP substring, and a suffix, the input format is `customized,<prefix>,IPSubStringLen,<suffix>`. For example "customized,aliyun.com-,5,-test", if the node IP address is 192.168.59.176, the prefix is aliyun.com-, IP substring length is 5, and the suffix is -test, the node name will be aliyun.com-59176-test.
|
|
2319
2331
|
:param pulumi.Input[str] os_type: The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.
|
|
2320
2332
|
:param pulumi.Input[str] password: The password of ssh login cluster node. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
2321
2333
|
:param pulumi.Input[str] platform: The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.
|
|
2322
2334
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
2323
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones.
|
|
2335
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
2324
2336
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
|
|
2325
2337
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: RDS instance list, You can choose which RDS instances whitelist to add instances to.
|
|
2326
2338
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
@@ -2330,7 +2342,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2330
2342
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
2331
2343
|
:param pulumi.Input[str] slb_id: The ID of APIServer load balancer.
|
|
2332
2344
|
:param pulumi.Input[str] slb_internet: The public ip of load balancer.
|
|
2333
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
2345
|
+
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
2334
2346
|
|
|
2335
2347
|
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
2336
2348
|
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
@@ -2530,7 +2542,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2530
2542
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
2531
2543
|
def is_enterprise_security_group(self) -> pulumi.Output[bool]:
|
|
2532
2544
|
"""
|
|
2533
|
-
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
2545
|
+
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). Only works for **Create** Operation.
|
|
2534
2546
|
"""
|
|
2535
2547
|
return pulumi.get(self, "is_enterprise_security_group")
|
|
2536
2548
|
|
|
@@ -2560,9 +2572,10 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2560
2572
|
|
|
2561
2573
|
@property
|
|
2562
2574
|
@pulumi.getter(name="loadBalancerSpec")
|
|
2575
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""")
|
|
2563
2576
|
def load_balancer_spec(self) -> pulumi.Output[Optional[str]]:
|
|
2564
2577
|
"""
|
|
2565
|
-
The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
2578
|
+
The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
2566
2579
|
"""
|
|
2567
2580
|
return pulumi.get(self, "load_balancer_spec")
|
|
2568
2581
|
|
|
@@ -2690,7 +2703,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2690
2703
|
@pulumi.getter(name="newNatGateway")
|
|
2691
2704
|
def new_nat_gateway(self) -> pulumi.Output[Optional[bool]]:
|
|
2692
2705
|
"""
|
|
2693
|
-
Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.
|
|
2706
|
+
Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules. Only works for **Create** Operation.
|
|
2694
2707
|
"""
|
|
2695
2708
|
return pulumi.get(self, "new_nat_gateway")
|
|
2696
2709
|
|
|
@@ -2746,7 +2759,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2746
2759
|
@pulumi.getter(name="podVswitchIds")
|
|
2747
2760
|
def pod_vswitch_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
2748
2761
|
"""
|
|
2749
|
-
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones.
|
|
2762
|
+
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` and `master_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
2750
2763
|
"""
|
|
2751
2764
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
2752
2765
|
|
|
@@ -2831,7 +2844,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2831
2844
|
@pulumi.getter(name="slbInternetEnabled")
|
|
2832
2845
|
def slb_internet_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
2833
2846
|
"""
|
|
2834
|
-
Whether to create internet load balancer for API Server. Default to true.
|
|
2847
|
+
Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
2835
2848
|
|
|
2836
2849
|
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
2837
2850
|
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|