pulumi-alicloud 3.62.0__py3-none-any.whl → 3.62.0a1724476801__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 +0 -80
- pulumi_alicloud/actiontrail/trail.py +2 -2
- pulumi_alicloud/adb/cluster.py +0 -34
- pulumi_alicloud/adb/db_cluster.py +0 -47
- pulumi_alicloud/amqp/static_account.py +12 -12
- pulumi_alicloud/brain/get_industrial_pid_loops.py +2 -18
- pulumi_alicloud/brain/get_industrial_pid_organizations.py +2 -12
- pulumi_alicloud/brain/get_industrial_pid_projects.py +2 -18
- pulumi_alicloud/brain/get_industrial_serice.py +2 -6
- pulumi_alicloud/brain/industrial_pid_loop.py +2 -6
- pulumi_alicloud/brain/industrial_pid_organization.py +4 -4
- pulumi_alicloud/brain/industrial_pid_project.py +4 -4
- pulumi_alicloud/cas/certificate.py +13 -155
- pulumi_alicloud/cas/service_certificate.py +30 -9
- pulumi_alicloud/cdn/real_time_log_delivery.py +2 -2
- pulumi_alicloud/cen/get_transit_router_route_tables.py +14 -81
- pulumi_alicloud/cen/outputs.py +2 -6
- pulumi_alicloud/cen/transit_router_peer_attachment.py +20 -38
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +2 -2
- pulumi_alicloud/cfg/remediation.py +2 -6
- pulumi_alicloud/clickhouse/account.py +2 -2
- pulumi_alicloud/clickhouse/backup_policy.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +0 -2
- pulumi_alicloud/cs/_inputs.py +21 -141
- pulumi_alicloud/cs/kubernetes.py +7 -7
- pulumi_alicloud/cs/kubernetes_addon.py +8 -4
- pulumi_alicloud/cs/managed_kubernetes.py +45 -506
- pulumi_alicloud/cs/outputs.py +21 -148
- pulumi_alicloud/cs/registry_enterprise_namespace.py +72 -92
- pulumi_alicloud/cs/registry_enterprise_repo.py +74 -96
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +101 -105
- pulumi_alicloud/cs/serverless_kubernetes.py +206 -174
- pulumi_alicloud/databasefilesystem/instance.py +2 -2
- pulumi_alicloud/ddos/_inputs.py +0 -24
- pulumi_alicloud/ddos/outputs.py +0 -37
- pulumi_alicloud/ddos/port.py +40 -110
- pulumi_alicloud/dts/consumer_channel.py +2 -2
- pulumi_alicloud/dts/subscription_job.py +2 -2
- pulumi_alicloud/ecs/auto_provisioning_group.py +2 -2
- pulumi_alicloud/ehpc/get_clusters.py +2 -11
- pulumi_alicloud/ehpc/get_job_templates.py +2 -5
- pulumi_alicloud/ehpc/job_template.py +2 -2
- pulumi_alicloud/ehpc/outputs.py +2 -34
- pulumi_alicloud/emrv2/_inputs.py +8 -8
- pulumi_alicloud/emrv2/get_clusters.py +4 -25
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +0 -87
- pulumi_alicloud/ens/load_balancer.py +25 -74
- pulumi_alicloud/ens/outputs.py +0 -84
- pulumi_alicloud/fc/__init__.py +0 -3
- pulumi_alicloud/fc/_inputs.py +8 -320
- pulumi_alicloud/fc/function.py +6 -6
- pulumi_alicloud/fc/function_async_invoke_config.py +2 -2
- pulumi_alicloud/fc/outputs.py +8 -321
- pulumi_alicloud/fc/trigger.py +2 -2
- pulumi_alicloud/ga/get_endpoint_group_ip_address_cidr_blocks.py +3 -18
- pulumi_alicloud/gpdb/__init__.py +0 -2
- pulumi_alicloud/gpdb/account.py +87 -172
- pulumi_alicloud/gpdb/connection.py +4 -0
- pulumi_alicloud/gpdb/db_resource_group.py +9 -54
- pulumi_alicloud/hbr/_inputs.py +14 -14
- pulumi_alicloud/hbr/outputs.py +14 -14
- pulumi_alicloud/hbr/policy.py +18 -18
- pulumi_alicloud/hbr/policy_binding.py +62 -203
- pulumi_alicloud/log/alert.py +28 -30
- pulumi_alicloud/log/audit.py +0 -2
- pulumi_alicloud/log/dashboard.py +8 -8
- pulumi_alicloud/log/etl.py +26 -26
- pulumi_alicloud/log/ingestion.py +10 -10
- pulumi_alicloud/log/log_tail_attachment.py +14 -14
- pulumi_alicloud/log/log_tail_config.py +10 -10
- pulumi_alicloud/log/machine_group.py +4 -4
- pulumi_alicloud/log/oss_export.py +10 -10
- pulumi_alicloud/log/project.py +4 -4
- pulumi_alicloud/log/store_index.py +10 -10
- pulumi_alicloud/nlb/server_group.py +2 -2
- pulumi_alicloud/oos/service_setting.py +8 -10
- pulumi_alicloud/oss/bucket.py +10 -18
- pulumi_alicloud/oss/bucket_object.py +8 -12
- pulumi_alicloud/oss/bucket_replication.py +2 -2
- pulumi_alicloud/polardb/cluster.py +21 -75
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/zone_record.py +2 -2
- pulumi_alicloud/quotas/__init__.py +0 -1
- pulumi_alicloud/ram/access_key.py +0 -4
- pulumi_alicloud/rds/account_privilege.py +2 -2
- pulumi_alicloud/rds/backup_policy.py +12 -270
- pulumi_alicloud/rds/database.py +7 -49
- pulumi_alicloud/rds/get_instance_class_infos.py +0 -20
- pulumi_alicloud/rds/get_instance_classes.py +0 -22
- pulumi_alicloud/rds/get_instance_engines.py +0 -22
- pulumi_alicloud/rds/instance.py +2 -4
- pulumi_alicloud/rds/rds_db_proxy.py +0 -61
- pulumi_alicloud/rocketmq/group.py +2 -2
- pulumi_alicloud/rocketmq/topic.py +2 -2
- pulumi_alicloud/servicecatalog/__init__.py +0 -4
- pulumi_alicloud/servicecatalog/portfolio.py +31 -31
- pulumi_alicloud/sls/alert.py +6 -6
- pulumi_alicloud/sls/scheduled_sql.py +10 -10
- pulumi_alicloud/vpc/get_route_tables.py +5 -28
- pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
- pulumi_alicloud/vpc/ipv6_internet_bandwidth.py +4 -4
- pulumi_alicloud/vpc/outputs.py +2 -2
- pulumi_alicloud/vpc/route_table_attachment.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +2 -2
- {pulumi_alicloud-3.62.0.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.62.0.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/RECORD +109 -119
- {pulumi_alicloud-3.62.0.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/WHEEL +1 -1
- pulumi_alicloud/fc/v3_layer_version.py +0 -511
- pulumi_alicloud/fc/v3_provision_config.py +0 -676
- pulumi_alicloud/fc/v3_vpc_binding.py +0 -283
- pulumi_alicloud/gpdb/hadoop_data_source.py +0 -1135
- pulumi_alicloud/gpdb/jdbc_data_source.py +0 -643
- pulumi_alicloud/quotas/template_service.py +0 -165
- pulumi_alicloud/servicecatalog/principal_portfolio_association.py +0 -354
- pulumi_alicloud/servicecatalog/product.py +0 -383
- pulumi_alicloud/servicecatalog/product_portfolio_association.py +0 -222
- pulumi_alicloud/servicecatalog/product_version.py +0 -539
- {pulumi_alicloud-3.62.0.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/top_level.txt +0 -0
|
@@ -54,52 +54,11 @@ class ManagedKubernetesArgs:
|
|
|
54
54
|
version: Optional[pulumi.Input[str]] = None):
|
|
55
55
|
"""
|
|
56
56
|
The set of arguments for constructing a ManagedKubernetes resource.
|
|
57
|
-
:param pulumi.Input[
|
|
58
|
-
:param pulumi.Input[
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
:param pulumi.Input[
|
|
62
|
-
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
63
|
-
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
64
|
-
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
65
|
-
|
|
66
|
-
*Removed params*
|
|
67
|
-
:param pulumi.Input[str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
|
|
68
|
-
:param pulumi.Input[str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
69
|
-
* ack.standard : Standard managed clusters.
|
|
70
|
-
* ack.pro.small : Professional managed clusters.
|
|
71
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] control_plane_log_components: List of target components for which logs need to be collected. Supports `apiserver`, `kcm`, `scheduler`, `ccm` and `controlplane-events`.
|
|
72
|
-
:param pulumi.Input[str] control_plane_log_project: Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.
|
|
73
|
-
:param pulumi.Input[str] control_plane_log_ttl: Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `control_plane_log_ttl` and `control_plane_log_components` must be specified.
|
|
74
|
-
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
75
|
-
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
76
|
-
:param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
77
|
-
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
78
|
-
:param pulumi.Input[bool] enable_rrsa: Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
79
|
-
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
80
|
-
: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).
|
|
81
|
-
: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).
|
|
82
|
-
:param pulumi.Input['ManagedKubernetesMaintenanceWindowArgs'] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
83
|
-
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
84
|
-
: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.
|
|
85
|
-
: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
|
|
86
|
-
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
87
|
-
: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` but must be in same availability zones.
|
|
88
|
-
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
89
|
-
: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.
|
|
90
|
-
: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.
|
|
91
|
-
: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.
|
|
92
|
-
: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.
|
|
93
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
94
|
-
|
|
95
|
-
> **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`.
|
|
96
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
97
|
-
|
|
98
|
-
*Computed params*
|
|
99
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
100
|
-
:param pulumi.Input[str] timezone: When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
101
|
-
:param pulumi.Input[str] user_ca: The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
102
|
-
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
|
|
57
|
+
:param pulumi.Input[str] client_cert: The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
|
|
58
|
+
:param pulumi.Input[str] client_key: The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
|
|
59
|
+
:param pulumi.Input[str] cluster_domain: cluster local domain
|
|
60
|
+
:param pulumi.Input[str] encryption_provider_key: disk encryption key, only in ack-pro
|
|
61
|
+
:param pulumi.Input[str] name: Node name.
|
|
103
62
|
"""
|
|
104
63
|
pulumi.set(__self__, "worker_vswitch_ids", worker_vswitch_ids)
|
|
105
64
|
if addons is not None:
|
|
@@ -176,9 +135,6 @@ class ManagedKubernetesArgs:
|
|
|
176
135
|
@property
|
|
177
136
|
@pulumi.getter(name="workerVswitchIds")
|
|
178
137
|
def worker_vswitch_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
179
|
-
"""
|
|
180
|
-
The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
181
|
-
"""
|
|
182
138
|
return pulumi.get(self, "worker_vswitch_ids")
|
|
183
139
|
|
|
184
140
|
@worker_vswitch_ids.setter
|
|
@@ -188,11 +144,6 @@ class ManagedKubernetesArgs:
|
|
|
188
144
|
@property
|
|
189
145
|
@pulumi.getter
|
|
190
146
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]]]:
|
|
191
|
-
"""
|
|
192
|
-
The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
193
|
-
|
|
194
|
-
*Network params*
|
|
195
|
-
"""
|
|
196
147
|
return pulumi.get(self, "addons")
|
|
197
148
|
|
|
198
149
|
@addons.setter
|
|
@@ -202,9 +153,6 @@ class ManagedKubernetesArgs:
|
|
|
202
153
|
@property
|
|
203
154
|
@pulumi.getter(name="apiAudiences")
|
|
204
155
|
def api_audiences(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
205
|
-
"""
|
|
206
|
-
A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
207
|
-
"""
|
|
208
156
|
return pulumi.get(self, "api_audiences")
|
|
209
157
|
|
|
210
158
|
@api_audiences.setter
|
|
@@ -215,7 +163,7 @@ class ManagedKubernetesArgs:
|
|
|
215
163
|
@pulumi.getter(name="clientCert")
|
|
216
164
|
def client_cert(self) -> Optional[pulumi.Input[str]]:
|
|
217
165
|
"""
|
|
218
|
-
The
|
|
166
|
+
The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
|
|
219
167
|
"""
|
|
220
168
|
return pulumi.get(self, "client_cert")
|
|
221
169
|
|
|
@@ -227,7 +175,7 @@ class ManagedKubernetesArgs:
|
|
|
227
175
|
@pulumi.getter(name="clientKey")
|
|
228
176
|
def client_key(self) -> Optional[pulumi.Input[str]]:
|
|
229
177
|
"""
|
|
230
|
-
The
|
|
178
|
+
The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
|
|
231
179
|
"""
|
|
232
180
|
return pulumi.get(self, "client_key")
|
|
233
181
|
|
|
@@ -238,11 +186,6 @@ class ManagedKubernetesArgs:
|
|
|
238
186
|
@property
|
|
239
187
|
@pulumi.getter(name="clusterCaCert")
|
|
240
188
|
def cluster_ca_cert(self) -> Optional[pulumi.Input[str]]:
|
|
241
|
-
"""
|
|
242
|
-
The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
243
|
-
|
|
244
|
-
*Removed params*
|
|
245
|
-
"""
|
|
246
189
|
return pulumi.get(self, "cluster_ca_cert")
|
|
247
190
|
|
|
248
191
|
@cluster_ca_cert.setter
|
|
@@ -253,7 +196,7 @@ class ManagedKubernetesArgs:
|
|
|
253
196
|
@pulumi.getter(name="clusterDomain")
|
|
254
197
|
def cluster_domain(self) -> Optional[pulumi.Input[str]]:
|
|
255
198
|
"""
|
|
256
|
-
|
|
199
|
+
cluster local domain
|
|
257
200
|
"""
|
|
258
201
|
return pulumi.get(self, "cluster_domain")
|
|
259
202
|
|
|
@@ -264,11 +207,6 @@ class ManagedKubernetesArgs:
|
|
|
264
207
|
@property
|
|
265
208
|
@pulumi.getter(name="clusterSpec")
|
|
266
209
|
def cluster_spec(self) -> Optional[pulumi.Input[str]]:
|
|
267
|
-
"""
|
|
268
|
-
The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
269
|
-
* ack.standard : Standard managed clusters.
|
|
270
|
-
* ack.pro.small : Professional managed clusters.
|
|
271
|
-
"""
|
|
272
210
|
return pulumi.get(self, "cluster_spec")
|
|
273
211
|
|
|
274
212
|
@cluster_spec.setter
|
|
@@ -278,9 +216,6 @@ class ManagedKubernetesArgs:
|
|
|
278
216
|
@property
|
|
279
217
|
@pulumi.getter(name="controlPlaneLogComponents")
|
|
280
218
|
def control_plane_log_components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
281
|
-
"""
|
|
282
|
-
List of target components for which logs need to be collected. Supports `apiserver`, `kcm`, `scheduler`, `ccm` and `controlplane-events`.
|
|
283
|
-
"""
|
|
284
219
|
return pulumi.get(self, "control_plane_log_components")
|
|
285
220
|
|
|
286
221
|
@control_plane_log_components.setter
|
|
@@ -290,9 +225,6 @@ class ManagedKubernetesArgs:
|
|
|
290
225
|
@property
|
|
291
226
|
@pulumi.getter(name="controlPlaneLogProject")
|
|
292
227
|
def control_plane_log_project(self) -> Optional[pulumi.Input[str]]:
|
|
293
|
-
"""
|
|
294
|
-
Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.
|
|
295
|
-
"""
|
|
296
228
|
return pulumi.get(self, "control_plane_log_project")
|
|
297
229
|
|
|
298
230
|
@control_plane_log_project.setter
|
|
@@ -302,9 +234,6 @@ class ManagedKubernetesArgs:
|
|
|
302
234
|
@property
|
|
303
235
|
@pulumi.getter(name="controlPlaneLogTtl")
|
|
304
236
|
def control_plane_log_ttl(self) -> Optional[pulumi.Input[str]]:
|
|
305
|
-
"""
|
|
306
|
-
Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `control_plane_log_ttl` and `control_plane_log_components` must be specified.
|
|
307
|
-
"""
|
|
308
237
|
return pulumi.get(self, "control_plane_log_ttl")
|
|
309
238
|
|
|
310
239
|
@control_plane_log_ttl.setter
|
|
@@ -314,10 +243,6 @@ class ManagedKubernetesArgs:
|
|
|
314
243
|
@property
|
|
315
244
|
@pulumi.getter(name="customSan")
|
|
316
245
|
def custom_san(self) -> Optional[pulumi.Input[str]]:
|
|
317
|
-
"""
|
|
318
|
-
Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
319
|
-
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
320
|
-
"""
|
|
321
246
|
return pulumi.get(self, "custom_san")
|
|
322
247
|
|
|
323
248
|
@custom_san.setter
|
|
@@ -327,9 +252,6 @@ class ManagedKubernetesArgs:
|
|
|
327
252
|
@property
|
|
328
253
|
@pulumi.getter(name="deleteOptions")
|
|
329
254
|
def delete_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]]]:
|
|
330
|
-
"""
|
|
331
|
-
Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
332
|
-
"""
|
|
333
255
|
return pulumi.get(self, "delete_options")
|
|
334
256
|
|
|
335
257
|
@delete_options.setter
|
|
@@ -339,9 +261,6 @@ class ManagedKubernetesArgs:
|
|
|
339
261
|
@property
|
|
340
262
|
@pulumi.getter(name="deletionProtection")
|
|
341
263
|
def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
342
|
-
"""
|
|
343
|
-
Whether to enable cluster deletion protection.
|
|
344
|
-
"""
|
|
345
264
|
return pulumi.get(self, "deletion_protection")
|
|
346
265
|
|
|
347
266
|
@deletion_protection.setter
|
|
@@ -351,9 +270,6 @@ class ManagedKubernetesArgs:
|
|
|
351
270
|
@property
|
|
352
271
|
@pulumi.getter(name="enableRrsa")
|
|
353
272
|
def enable_rrsa(self) -> Optional[pulumi.Input[bool]]:
|
|
354
|
-
"""
|
|
355
|
-
Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
356
|
-
"""
|
|
357
273
|
return pulumi.get(self, "enable_rrsa")
|
|
358
274
|
|
|
359
275
|
@enable_rrsa.setter
|
|
@@ -364,7 +280,7 @@ class ManagedKubernetesArgs:
|
|
|
364
280
|
@pulumi.getter(name="encryptionProviderKey")
|
|
365
281
|
def encryption_provider_key(self) -> Optional[pulumi.Input[str]]:
|
|
366
282
|
"""
|
|
367
|
-
|
|
283
|
+
disk encryption key, only in ack-pro
|
|
368
284
|
"""
|
|
369
285
|
return pulumi.get(self, "encryption_provider_key")
|
|
370
286
|
|
|
@@ -375,9 +291,6 @@ class ManagedKubernetesArgs:
|
|
|
375
291
|
@property
|
|
376
292
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
377
293
|
def is_enterprise_security_group(self) -> Optional[pulumi.Input[bool]]:
|
|
378
|
-
"""
|
|
379
|
-
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
380
|
-
"""
|
|
381
294
|
return pulumi.get(self, "is_enterprise_security_group")
|
|
382
295
|
|
|
383
296
|
@is_enterprise_security_group.setter
|
|
@@ -387,9 +300,6 @@ class ManagedKubernetesArgs:
|
|
|
387
300
|
@property
|
|
388
301
|
@pulumi.getter(name="loadBalancerSpec")
|
|
389
302
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
390
|
-
"""
|
|
391
|
-
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).
|
|
392
|
-
"""
|
|
393
303
|
return pulumi.get(self, "load_balancer_spec")
|
|
394
304
|
|
|
395
305
|
@load_balancer_spec.setter
|
|
@@ -399,9 +309,6 @@ class ManagedKubernetesArgs:
|
|
|
399
309
|
@property
|
|
400
310
|
@pulumi.getter(name="maintenanceWindow")
|
|
401
311
|
def maintenance_window(self) -> Optional[pulumi.Input['ManagedKubernetesMaintenanceWindowArgs']]:
|
|
402
|
-
"""
|
|
403
|
-
The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
404
|
-
"""
|
|
405
312
|
return pulumi.get(self, "maintenance_window")
|
|
406
313
|
|
|
407
314
|
@maintenance_window.setter
|
|
@@ -412,7 +319,7 @@ class ManagedKubernetesArgs:
|
|
|
412
319
|
@pulumi.getter
|
|
413
320
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
414
321
|
"""
|
|
415
|
-
|
|
322
|
+
Node name.
|
|
416
323
|
"""
|
|
417
324
|
return pulumi.get(self, "name")
|
|
418
325
|
|
|
@@ -432,9 +339,6 @@ class ManagedKubernetesArgs:
|
|
|
432
339
|
@property
|
|
433
340
|
@pulumi.getter(name="newNatGateway")
|
|
434
341
|
def new_nat_gateway(self) -> Optional[pulumi.Input[bool]]:
|
|
435
|
-
"""
|
|
436
|
-
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.
|
|
437
|
-
"""
|
|
438
342
|
return pulumi.get(self, "new_nat_gateway")
|
|
439
343
|
|
|
440
344
|
@new_nat_gateway.setter
|
|
@@ -444,9 +348,6 @@ class ManagedKubernetesArgs:
|
|
|
444
348
|
@property
|
|
445
349
|
@pulumi.getter(name="nodeCidrMask")
|
|
446
350
|
def node_cidr_mask(self) -> Optional[pulumi.Input[int]]:
|
|
447
|
-
"""
|
|
448
|
-
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
|
|
449
|
-
"""
|
|
450
351
|
return pulumi.get(self, "node_cidr_mask")
|
|
451
352
|
|
|
452
353
|
@node_cidr_mask.setter
|
|
@@ -456,9 +357,6 @@ class ManagedKubernetesArgs:
|
|
|
456
357
|
@property
|
|
457
358
|
@pulumi.getter(name="podCidr")
|
|
458
359
|
def pod_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
459
|
-
"""
|
|
460
|
-
[Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
461
|
-
"""
|
|
462
360
|
return pulumi.get(self, "pod_cidr")
|
|
463
361
|
|
|
464
362
|
@pod_cidr.setter
|
|
@@ -468,9 +366,6 @@ class ManagedKubernetesArgs:
|
|
|
468
366
|
@property
|
|
469
367
|
@pulumi.getter(name="podVswitchIds")
|
|
470
368
|
def pod_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
471
|
-
"""
|
|
472
|
-
[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` but must be in same availability zones.
|
|
473
|
-
"""
|
|
474
369
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
475
370
|
|
|
476
371
|
@pod_vswitch_ids.setter
|
|
@@ -480,9 +375,6 @@ class ManagedKubernetesArgs:
|
|
|
480
375
|
@property
|
|
481
376
|
@pulumi.getter(name="proxyMode")
|
|
482
377
|
def proxy_mode(self) -> Optional[pulumi.Input[str]]:
|
|
483
|
-
"""
|
|
484
|
-
Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
485
|
-
"""
|
|
486
378
|
return pulumi.get(self, "proxy_mode")
|
|
487
379
|
|
|
488
380
|
@proxy_mode.setter
|
|
@@ -492,9 +384,6 @@ class ManagedKubernetesArgs:
|
|
|
492
384
|
@property
|
|
493
385
|
@pulumi.getter(name="resourceGroupId")
|
|
494
386
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
495
|
-
"""
|
|
496
|
-
The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
497
|
-
"""
|
|
498
387
|
return pulumi.get(self, "resource_group_id")
|
|
499
388
|
|
|
500
389
|
@resource_group_id.setter
|
|
@@ -513,9 +402,6 @@ class ManagedKubernetesArgs:
|
|
|
513
402
|
@property
|
|
514
403
|
@pulumi.getter(name="securityGroupId")
|
|
515
404
|
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
516
|
-
"""
|
|
517
|
-
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.
|
|
518
|
-
"""
|
|
519
405
|
return pulumi.get(self, "security_group_id")
|
|
520
406
|
|
|
521
407
|
@security_group_id.setter
|
|
@@ -525,9 +411,6 @@ class ManagedKubernetesArgs:
|
|
|
525
411
|
@property
|
|
526
412
|
@pulumi.getter(name="serviceAccountIssuer")
|
|
527
413
|
def service_account_issuer(self) -> Optional[pulumi.Input[str]]:
|
|
528
|
-
"""
|
|
529
|
-
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.
|
|
530
|
-
"""
|
|
531
414
|
return pulumi.get(self, "service_account_issuer")
|
|
532
415
|
|
|
533
416
|
@service_account_issuer.setter
|
|
@@ -537,9 +420,6 @@ class ManagedKubernetesArgs:
|
|
|
537
420
|
@property
|
|
538
421
|
@pulumi.getter(name="serviceCidr")
|
|
539
422
|
def service_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
540
|
-
"""
|
|
541
|
-
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.
|
|
542
|
-
"""
|
|
543
423
|
return pulumi.get(self, "service_cidr")
|
|
544
424
|
|
|
545
425
|
@service_cidr.setter
|
|
@@ -549,14 +429,6 @@ class ManagedKubernetesArgs:
|
|
|
549
429
|
@property
|
|
550
430
|
@pulumi.getter(name="slbInternetEnabled")
|
|
551
431
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
552
|
-
"""
|
|
553
|
-
Whether to create internet load balancer for API Server. Default to true.
|
|
554
|
-
|
|
555
|
-
> **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`.
|
|
556
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
557
|
-
|
|
558
|
-
*Computed params*
|
|
559
|
-
"""
|
|
560
432
|
return pulumi.get(self, "slb_internet_enabled")
|
|
561
433
|
|
|
562
434
|
@slb_internet_enabled.setter
|
|
@@ -566,9 +438,6 @@ class ManagedKubernetesArgs:
|
|
|
566
438
|
@property
|
|
567
439
|
@pulumi.getter
|
|
568
440
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
569
|
-
"""
|
|
570
|
-
Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
571
|
-
"""
|
|
572
441
|
return pulumi.get(self, "tags")
|
|
573
442
|
|
|
574
443
|
@tags.setter
|
|
@@ -578,9 +447,6 @@ class ManagedKubernetesArgs:
|
|
|
578
447
|
@property
|
|
579
448
|
@pulumi.getter
|
|
580
449
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
581
|
-
"""
|
|
582
|
-
When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
583
|
-
"""
|
|
584
450
|
return pulumi.get(self, "timezone")
|
|
585
451
|
|
|
586
452
|
@timezone.setter
|
|
@@ -590,9 +456,6 @@ class ManagedKubernetesArgs:
|
|
|
590
456
|
@property
|
|
591
457
|
@pulumi.getter(name="userCa")
|
|
592
458
|
def user_ca(self) -> Optional[pulumi.Input[str]]:
|
|
593
|
-
"""
|
|
594
|
-
The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
595
|
-
"""
|
|
596
459
|
return pulumi.get(self, "user_ca")
|
|
597
460
|
|
|
598
461
|
@user_ca.setter
|
|
@@ -602,9 +465,6 @@ class ManagedKubernetesArgs:
|
|
|
602
465
|
@property
|
|
603
466
|
@pulumi.getter
|
|
604
467
|
def version(self) -> Optional[pulumi.Input[str]]:
|
|
605
|
-
"""
|
|
606
|
-
Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
|
|
607
|
-
"""
|
|
608
468
|
return pulumi.get(self, "version")
|
|
609
469
|
|
|
610
470
|
@version.setter
|
|
@@ -662,61 +522,20 @@ class _ManagedKubernetesState:
|
|
|
662
522
|
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
663
523
|
"""
|
|
664
524
|
Input properties used for looking up and filtering ManagedKubernetes resources.
|
|
665
|
-
:param pulumi.Input[
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
:param pulumi.Input[
|
|
669
|
-
:param pulumi.Input['ManagedKubernetesCertificateAuthorityArgs'] certificate_authority: (Available since v1.105.0) Nested attribute containing certificate authority data for your cluster.
|
|
670
|
-
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
671
|
-
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
672
|
-
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
673
|
-
|
|
674
|
-
*Removed params*
|
|
675
|
-
:param pulumi.Input[str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
|
|
676
|
-
:param pulumi.Input[str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
677
|
-
* ack.standard : Standard managed clusters.
|
|
678
|
-
* ack.pro.small : Professional managed clusters.
|
|
525
|
+
:param pulumi.Input['ManagedKubernetesCertificateAuthorityArgs'] certificate_authority: (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
|
|
526
|
+
:param pulumi.Input[str] client_cert: The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
|
|
527
|
+
:param pulumi.Input[str] client_key: The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
|
|
528
|
+
:param pulumi.Input[str] cluster_domain: cluster local domain
|
|
679
529
|
:param pulumi.Input['ManagedKubernetesConnectionsArgs'] connections: Map of kubernetes cluster connection information.
|
|
680
|
-
:param pulumi.Input[
|
|
681
|
-
:param pulumi.Input[str]
|
|
682
|
-
:param pulumi.Input[str] control_plane_log_ttl: Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `control_plane_log_ttl` and `control_plane_log_components` must be specified.
|
|
683
|
-
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
684
|
-
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
685
|
-
:param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
686
|
-
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
687
|
-
:param pulumi.Input[bool] enable_rrsa: Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
688
|
-
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
689
|
-
: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).
|
|
690
|
-
: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).
|
|
691
|
-
:param pulumi.Input['ManagedKubernetesMaintenanceWindowArgs'] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
692
|
-
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
530
|
+
:param pulumi.Input[str] encryption_provider_key: disk encryption key, only in ack-pro
|
|
531
|
+
:param pulumi.Input[str] name: Node name.
|
|
693
532
|
:param pulumi.Input[str] nat_gateway_id: The ID of nat gateway used to launch kubernetes cluster.
|
|
694
|
-
:param pulumi.Input[
|
|
695
|
-
: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
|
|
696
|
-
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
697
|
-
: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` but must be in same availability zones.
|
|
698
|
-
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
699
|
-
: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.
|
|
700
|
-
:param pulumi.Input['ManagedKubernetesRrsaMetadataArgs'] rrsa_metadata: (Optional, Available since v1.185.0) Nested attribute containing RRSA related data for your cluster.
|
|
701
|
-
: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.
|
|
702
|
-
: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.
|
|
703
|
-
: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.
|
|
533
|
+
:param pulumi.Input['ManagedKubernetesRrsaMetadataArgs'] rrsa_metadata: (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
|
|
704
534
|
:param pulumi.Input[str] slb_id: The ID of APIServer load balancer.
|
|
705
535
|
:param pulumi.Input[str] slb_internet: The public ip of load balancer.
|
|
706
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
707
|
-
|
|
708
|
-
> **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`.
|
|
709
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
710
|
-
|
|
711
|
-
*Computed params*
|
|
712
536
|
:param pulumi.Input[str] slb_intranet: The ID of private load balancer where the current cluster master node is located.
|
|
713
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
714
|
-
:param pulumi.Input[str] timezone: When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
715
|
-
:param pulumi.Input[str] user_ca: The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
716
|
-
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
|
|
717
537
|
:param pulumi.Input[str] vpc_id: The ID of VPC where the current cluster is located.
|
|
718
538
|
:param pulumi.Input[str] worker_ram_role_name: The RamRole Name attached to worker node.
|
|
719
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
720
539
|
"""
|
|
721
540
|
if addons is not None:
|
|
722
541
|
pulumi.set(__self__, "addons", addons)
|
|
@@ -812,11 +631,6 @@ class _ManagedKubernetesState:
|
|
|
812
631
|
@property
|
|
813
632
|
@pulumi.getter
|
|
814
633
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]]]:
|
|
815
|
-
"""
|
|
816
|
-
The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
817
|
-
|
|
818
|
-
*Network params*
|
|
819
|
-
"""
|
|
820
634
|
return pulumi.get(self, "addons")
|
|
821
635
|
|
|
822
636
|
@addons.setter
|
|
@@ -826,9 +640,6 @@ class _ManagedKubernetesState:
|
|
|
826
640
|
@property
|
|
827
641
|
@pulumi.getter(name="apiAudiences")
|
|
828
642
|
def api_audiences(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
829
|
-
"""
|
|
830
|
-
A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
831
|
-
"""
|
|
832
643
|
return pulumi.get(self, "api_audiences")
|
|
833
644
|
|
|
834
645
|
@api_audiences.setter
|
|
@@ -839,7 +650,7 @@ class _ManagedKubernetesState:
|
|
|
839
650
|
@pulumi.getter(name="certificateAuthority")
|
|
840
651
|
def certificate_authority(self) -> Optional[pulumi.Input['ManagedKubernetesCertificateAuthorityArgs']]:
|
|
841
652
|
"""
|
|
842
|
-
(Available
|
|
653
|
+
(Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
|
|
843
654
|
"""
|
|
844
655
|
return pulumi.get(self, "certificate_authority")
|
|
845
656
|
|
|
@@ -851,7 +662,7 @@ class _ManagedKubernetesState:
|
|
|
851
662
|
@pulumi.getter(name="clientCert")
|
|
852
663
|
def client_cert(self) -> Optional[pulumi.Input[str]]:
|
|
853
664
|
"""
|
|
854
|
-
The
|
|
665
|
+
The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
|
|
855
666
|
"""
|
|
856
667
|
return pulumi.get(self, "client_cert")
|
|
857
668
|
|
|
@@ -863,7 +674,7 @@ class _ManagedKubernetesState:
|
|
|
863
674
|
@pulumi.getter(name="clientKey")
|
|
864
675
|
def client_key(self) -> Optional[pulumi.Input[str]]:
|
|
865
676
|
"""
|
|
866
|
-
The
|
|
677
|
+
The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
|
|
867
678
|
"""
|
|
868
679
|
return pulumi.get(self, "client_key")
|
|
869
680
|
|
|
@@ -874,11 +685,6 @@ class _ManagedKubernetesState:
|
|
|
874
685
|
@property
|
|
875
686
|
@pulumi.getter(name="clusterCaCert")
|
|
876
687
|
def cluster_ca_cert(self) -> Optional[pulumi.Input[str]]:
|
|
877
|
-
"""
|
|
878
|
-
The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
879
|
-
|
|
880
|
-
*Removed params*
|
|
881
|
-
"""
|
|
882
688
|
return pulumi.get(self, "cluster_ca_cert")
|
|
883
689
|
|
|
884
690
|
@cluster_ca_cert.setter
|
|
@@ -889,7 +695,7 @@ class _ManagedKubernetesState:
|
|
|
889
695
|
@pulumi.getter(name="clusterDomain")
|
|
890
696
|
def cluster_domain(self) -> Optional[pulumi.Input[str]]:
|
|
891
697
|
"""
|
|
892
|
-
|
|
698
|
+
cluster local domain
|
|
893
699
|
"""
|
|
894
700
|
return pulumi.get(self, "cluster_domain")
|
|
895
701
|
|
|
@@ -900,11 +706,6 @@ class _ManagedKubernetesState:
|
|
|
900
706
|
@property
|
|
901
707
|
@pulumi.getter(name="clusterSpec")
|
|
902
708
|
def cluster_spec(self) -> Optional[pulumi.Input[str]]:
|
|
903
|
-
"""
|
|
904
|
-
The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
905
|
-
* ack.standard : Standard managed clusters.
|
|
906
|
-
* ack.pro.small : Professional managed clusters.
|
|
907
|
-
"""
|
|
908
709
|
return pulumi.get(self, "cluster_spec")
|
|
909
710
|
|
|
910
711
|
@cluster_spec.setter
|
|
@@ -926,9 +727,6 @@ class _ManagedKubernetesState:
|
|
|
926
727
|
@property
|
|
927
728
|
@pulumi.getter(name="controlPlaneLogComponents")
|
|
928
729
|
def control_plane_log_components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
929
|
-
"""
|
|
930
|
-
List of target components for which logs need to be collected. Supports `apiserver`, `kcm`, `scheduler`, `ccm` and `controlplane-events`.
|
|
931
|
-
"""
|
|
932
730
|
return pulumi.get(self, "control_plane_log_components")
|
|
933
731
|
|
|
934
732
|
@control_plane_log_components.setter
|
|
@@ -938,9 +736,6 @@ class _ManagedKubernetesState:
|
|
|
938
736
|
@property
|
|
939
737
|
@pulumi.getter(name="controlPlaneLogProject")
|
|
940
738
|
def control_plane_log_project(self) -> Optional[pulumi.Input[str]]:
|
|
941
|
-
"""
|
|
942
|
-
Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.
|
|
943
|
-
"""
|
|
944
739
|
return pulumi.get(self, "control_plane_log_project")
|
|
945
740
|
|
|
946
741
|
@control_plane_log_project.setter
|
|
@@ -950,9 +745,6 @@ class _ManagedKubernetesState:
|
|
|
950
745
|
@property
|
|
951
746
|
@pulumi.getter(name="controlPlaneLogTtl")
|
|
952
747
|
def control_plane_log_ttl(self) -> Optional[pulumi.Input[str]]:
|
|
953
|
-
"""
|
|
954
|
-
Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `control_plane_log_ttl` and `control_plane_log_components` must be specified.
|
|
955
|
-
"""
|
|
956
748
|
return pulumi.get(self, "control_plane_log_ttl")
|
|
957
749
|
|
|
958
750
|
@control_plane_log_ttl.setter
|
|
@@ -962,10 +754,6 @@ class _ManagedKubernetesState:
|
|
|
962
754
|
@property
|
|
963
755
|
@pulumi.getter(name="customSan")
|
|
964
756
|
def custom_san(self) -> Optional[pulumi.Input[str]]:
|
|
965
|
-
"""
|
|
966
|
-
Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
967
|
-
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
968
|
-
"""
|
|
969
757
|
return pulumi.get(self, "custom_san")
|
|
970
758
|
|
|
971
759
|
@custom_san.setter
|
|
@@ -975,9 +763,6 @@ class _ManagedKubernetesState:
|
|
|
975
763
|
@property
|
|
976
764
|
@pulumi.getter(name="deleteOptions")
|
|
977
765
|
def delete_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]]]:
|
|
978
|
-
"""
|
|
979
|
-
Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
980
|
-
"""
|
|
981
766
|
return pulumi.get(self, "delete_options")
|
|
982
767
|
|
|
983
768
|
@delete_options.setter
|
|
@@ -987,9 +772,6 @@ class _ManagedKubernetesState:
|
|
|
987
772
|
@property
|
|
988
773
|
@pulumi.getter(name="deletionProtection")
|
|
989
774
|
def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
990
|
-
"""
|
|
991
|
-
Whether to enable cluster deletion protection.
|
|
992
|
-
"""
|
|
993
775
|
return pulumi.get(self, "deletion_protection")
|
|
994
776
|
|
|
995
777
|
@deletion_protection.setter
|
|
@@ -999,9 +781,6 @@ class _ManagedKubernetesState:
|
|
|
999
781
|
@property
|
|
1000
782
|
@pulumi.getter(name="enableRrsa")
|
|
1001
783
|
def enable_rrsa(self) -> Optional[pulumi.Input[bool]]:
|
|
1002
|
-
"""
|
|
1003
|
-
Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
1004
|
-
"""
|
|
1005
784
|
return pulumi.get(self, "enable_rrsa")
|
|
1006
785
|
|
|
1007
786
|
@enable_rrsa.setter
|
|
@@ -1012,7 +791,7 @@ class _ManagedKubernetesState:
|
|
|
1012
791
|
@pulumi.getter(name="encryptionProviderKey")
|
|
1013
792
|
def encryption_provider_key(self) -> Optional[pulumi.Input[str]]:
|
|
1014
793
|
"""
|
|
1015
|
-
|
|
794
|
+
disk encryption key, only in ack-pro
|
|
1016
795
|
"""
|
|
1017
796
|
return pulumi.get(self, "encryption_provider_key")
|
|
1018
797
|
|
|
@@ -1023,9 +802,6 @@ class _ManagedKubernetesState:
|
|
|
1023
802
|
@property
|
|
1024
803
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
1025
804
|
def is_enterprise_security_group(self) -> Optional[pulumi.Input[bool]]:
|
|
1026
|
-
"""
|
|
1027
|
-
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
1028
|
-
"""
|
|
1029
805
|
return pulumi.get(self, "is_enterprise_security_group")
|
|
1030
806
|
|
|
1031
807
|
@is_enterprise_security_group.setter
|
|
@@ -1035,9 +811,6 @@ class _ManagedKubernetesState:
|
|
|
1035
811
|
@property
|
|
1036
812
|
@pulumi.getter(name="loadBalancerSpec")
|
|
1037
813
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
1038
|
-
"""
|
|
1039
|
-
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).
|
|
1040
|
-
"""
|
|
1041
814
|
return pulumi.get(self, "load_balancer_spec")
|
|
1042
815
|
|
|
1043
816
|
@load_balancer_spec.setter
|
|
@@ -1047,9 +820,6 @@ class _ManagedKubernetesState:
|
|
|
1047
820
|
@property
|
|
1048
821
|
@pulumi.getter(name="maintenanceWindow")
|
|
1049
822
|
def maintenance_window(self) -> Optional[pulumi.Input['ManagedKubernetesMaintenanceWindowArgs']]:
|
|
1050
|
-
"""
|
|
1051
|
-
The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
1052
|
-
"""
|
|
1053
823
|
return pulumi.get(self, "maintenance_window")
|
|
1054
824
|
|
|
1055
825
|
@maintenance_window.setter
|
|
@@ -1060,7 +830,7 @@ class _ManagedKubernetesState:
|
|
|
1060
830
|
@pulumi.getter
|
|
1061
831
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
1062
832
|
"""
|
|
1063
|
-
|
|
833
|
+
Node name.
|
|
1064
834
|
"""
|
|
1065
835
|
return pulumi.get(self, "name")
|
|
1066
836
|
|
|
@@ -1092,9 +862,6 @@ class _ManagedKubernetesState:
|
|
|
1092
862
|
@property
|
|
1093
863
|
@pulumi.getter(name="newNatGateway")
|
|
1094
864
|
def new_nat_gateway(self) -> Optional[pulumi.Input[bool]]:
|
|
1095
|
-
"""
|
|
1096
|
-
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.
|
|
1097
|
-
"""
|
|
1098
865
|
return pulumi.get(self, "new_nat_gateway")
|
|
1099
866
|
|
|
1100
867
|
@new_nat_gateway.setter
|
|
@@ -1104,9 +871,6 @@ class _ManagedKubernetesState:
|
|
|
1104
871
|
@property
|
|
1105
872
|
@pulumi.getter(name="nodeCidrMask")
|
|
1106
873
|
def node_cidr_mask(self) -> Optional[pulumi.Input[int]]:
|
|
1107
|
-
"""
|
|
1108
|
-
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
|
|
1109
|
-
"""
|
|
1110
874
|
return pulumi.get(self, "node_cidr_mask")
|
|
1111
875
|
|
|
1112
876
|
@node_cidr_mask.setter
|
|
@@ -1116,9 +880,6 @@ class _ManagedKubernetesState:
|
|
|
1116
880
|
@property
|
|
1117
881
|
@pulumi.getter(name="podCidr")
|
|
1118
882
|
def pod_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
1119
|
-
"""
|
|
1120
|
-
[Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
1121
|
-
"""
|
|
1122
883
|
return pulumi.get(self, "pod_cidr")
|
|
1123
884
|
|
|
1124
885
|
@pod_cidr.setter
|
|
@@ -1128,9 +889,6 @@ class _ManagedKubernetesState:
|
|
|
1128
889
|
@property
|
|
1129
890
|
@pulumi.getter(name="podVswitchIds")
|
|
1130
891
|
def pod_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1131
|
-
"""
|
|
1132
|
-
[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` but must be in same availability zones.
|
|
1133
|
-
"""
|
|
1134
892
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
1135
893
|
|
|
1136
894
|
@pod_vswitch_ids.setter
|
|
@@ -1140,9 +898,6 @@ class _ManagedKubernetesState:
|
|
|
1140
898
|
@property
|
|
1141
899
|
@pulumi.getter(name="proxyMode")
|
|
1142
900
|
def proxy_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1143
|
-
"""
|
|
1144
|
-
Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
1145
|
-
"""
|
|
1146
901
|
return pulumi.get(self, "proxy_mode")
|
|
1147
902
|
|
|
1148
903
|
@proxy_mode.setter
|
|
@@ -1152,9 +907,6 @@ class _ManagedKubernetesState:
|
|
|
1152
907
|
@property
|
|
1153
908
|
@pulumi.getter(name="resourceGroupId")
|
|
1154
909
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
1155
|
-
"""
|
|
1156
|
-
The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
1157
|
-
"""
|
|
1158
910
|
return pulumi.get(self, "resource_group_id")
|
|
1159
911
|
|
|
1160
912
|
@resource_group_id.setter
|
|
@@ -1174,7 +926,7 @@ class _ManagedKubernetesState:
|
|
|
1174
926
|
@pulumi.getter(name="rrsaMetadata")
|
|
1175
927
|
def rrsa_metadata(self) -> Optional[pulumi.Input['ManagedKubernetesRrsaMetadataArgs']]:
|
|
1176
928
|
"""
|
|
1177
|
-
(Optional, Available
|
|
929
|
+
(Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
|
|
1178
930
|
"""
|
|
1179
931
|
return pulumi.get(self, "rrsa_metadata")
|
|
1180
932
|
|
|
@@ -1185,9 +937,6 @@ class _ManagedKubernetesState:
|
|
|
1185
937
|
@property
|
|
1186
938
|
@pulumi.getter(name="securityGroupId")
|
|
1187
939
|
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
1188
|
-
"""
|
|
1189
|
-
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.
|
|
1190
|
-
"""
|
|
1191
940
|
return pulumi.get(self, "security_group_id")
|
|
1192
941
|
|
|
1193
942
|
@security_group_id.setter
|
|
@@ -1197,9 +946,6 @@ class _ManagedKubernetesState:
|
|
|
1197
946
|
@property
|
|
1198
947
|
@pulumi.getter(name="serviceAccountIssuer")
|
|
1199
948
|
def service_account_issuer(self) -> Optional[pulumi.Input[str]]:
|
|
1200
|
-
"""
|
|
1201
|
-
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.
|
|
1202
|
-
"""
|
|
1203
949
|
return pulumi.get(self, "service_account_issuer")
|
|
1204
950
|
|
|
1205
951
|
@service_account_issuer.setter
|
|
@@ -1209,9 +955,6 @@ class _ManagedKubernetesState:
|
|
|
1209
955
|
@property
|
|
1210
956
|
@pulumi.getter(name="serviceCidr")
|
|
1211
957
|
def service_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
1212
|
-
"""
|
|
1213
|
-
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.
|
|
1214
|
-
"""
|
|
1215
958
|
return pulumi.get(self, "service_cidr")
|
|
1216
959
|
|
|
1217
960
|
@service_cidr.setter
|
|
@@ -1245,14 +988,6 @@ class _ManagedKubernetesState:
|
|
|
1245
988
|
@property
|
|
1246
989
|
@pulumi.getter(name="slbInternetEnabled")
|
|
1247
990
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1248
|
-
"""
|
|
1249
|
-
Whether to create internet load balancer for API Server. Default to true.
|
|
1250
|
-
|
|
1251
|
-
> **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`.
|
|
1252
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
1253
|
-
|
|
1254
|
-
*Computed params*
|
|
1255
|
-
"""
|
|
1256
991
|
return pulumi.get(self, "slb_internet_enabled")
|
|
1257
992
|
|
|
1258
993
|
@slb_internet_enabled.setter
|
|
@@ -1274,9 +1009,6 @@ class _ManagedKubernetesState:
|
|
|
1274
1009
|
@property
|
|
1275
1010
|
@pulumi.getter
|
|
1276
1011
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1277
|
-
"""
|
|
1278
|
-
Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
1279
|
-
"""
|
|
1280
1012
|
return pulumi.get(self, "tags")
|
|
1281
1013
|
|
|
1282
1014
|
@tags.setter
|
|
@@ -1286,9 +1018,6 @@ class _ManagedKubernetesState:
|
|
|
1286
1018
|
@property
|
|
1287
1019
|
@pulumi.getter
|
|
1288
1020
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
1289
|
-
"""
|
|
1290
|
-
When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
1291
|
-
"""
|
|
1292
1021
|
return pulumi.get(self, "timezone")
|
|
1293
1022
|
|
|
1294
1023
|
@timezone.setter
|
|
@@ -1298,9 +1027,6 @@ class _ManagedKubernetesState:
|
|
|
1298
1027
|
@property
|
|
1299
1028
|
@pulumi.getter(name="userCa")
|
|
1300
1029
|
def user_ca(self) -> Optional[pulumi.Input[str]]:
|
|
1301
|
-
"""
|
|
1302
|
-
The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
1303
|
-
"""
|
|
1304
1030
|
return pulumi.get(self, "user_ca")
|
|
1305
1031
|
|
|
1306
1032
|
@user_ca.setter
|
|
@@ -1310,9 +1036,6 @@ class _ManagedKubernetesState:
|
|
|
1310
1036
|
@property
|
|
1311
1037
|
@pulumi.getter
|
|
1312
1038
|
def version(self) -> Optional[pulumi.Input[str]]:
|
|
1313
|
-
"""
|
|
1314
|
-
Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
|
|
1315
|
-
"""
|
|
1316
1039
|
return pulumi.get(self, "version")
|
|
1317
1040
|
|
|
1318
1041
|
@version.setter
|
|
@@ -1346,9 +1069,6 @@ class _ManagedKubernetesState:
|
|
|
1346
1069
|
@property
|
|
1347
1070
|
@pulumi.getter(name="workerVswitchIds")
|
|
1348
1071
|
def worker_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1349
|
-
"""
|
|
1350
|
-
The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
1351
|
-
"""
|
|
1352
1072
|
return pulumi.get(self, "worker_vswitch_ids")
|
|
1353
1073
|
|
|
1354
1074
|
@worker_vswitch_ids.setter
|
|
@@ -1425,7 +1145,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1425
1145
|
|
|
1426
1146
|
> **NOTE:** From version 1.120.0, Support for cluster migration from Standard cluster to professional.
|
|
1427
1147
|
|
|
1428
|
-
> **NOTE:** From version 1.177.0
|
|
1148
|
+
> **NOTE:** From version 1.177.0+, `runtime`,`enable_ssh`,`rds_instances`,`exclude_autoscaler_nodes`,`worker_number`,`worker_instance_types`,`password`,`key_name`,`kms_encrypted_password`,`kms_encryption_context`,`worker_instance_charge_type`,`worker_period`,`worker_period_unit`,`worker_auto_renew`,`worker_auto_renew_period`,`worker_disk_category`,`worker_disk_size`,`worker_data_disks`,`node_name_mode`,`node_port_range`,`os_type`,`platform`,`image_id`,`cpu_policy`,`user_data`,`taints`,`worker_disk_performance_level`,`worker_disk_snapshot_policy_id`,`install_cloud_monitor` are deprecated.
|
|
1429
1149
|
We Suggest you using resource **`cs.NodePool`** to manage your cluster worker nodes.
|
|
1430
1150
|
|
|
1431
1151
|
> **NOTE:** From version 1.212.0, `runtime`,`enable_ssh`,`rds_instances`,`exclude_autoscaler_nodes`,`worker_number`,`worker_instance_types`,`password`,`key_name`,`kms_encrypted_password`,`kms_encryption_context`,`worker_instance_charge_type`,`worker_period`,`worker_period_unit`,`worker_auto_renew`,`worker_auto_renew_period`,`worker_disk_category`,`worker_disk_size`,`worker_data_disks`,`node_name_mode`,`node_port_range`,`os_type`,`platform`,`image_id`,`cpu_policy`,`user_data`,`taints`,`worker_disk_performance_level`,`worker_disk_snapshot_policy_id`,`install_cloud_monitor`,`kube_config`,`availability_zone` are removed.
|
|
@@ -1441,52 +1161,11 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1441
1161
|
|
|
1442
1162
|
:param str resource_name: The name of the resource.
|
|
1443
1163
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1444
|
-
:param pulumi.Input[
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
:param pulumi.Input[
|
|
1448
|
-
:param pulumi.Input[str]
|
|
1449
|
-
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
1450
|
-
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
1451
|
-
|
|
1452
|
-
*Removed params*
|
|
1453
|
-
:param pulumi.Input[str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
|
|
1454
|
-
:param pulumi.Input[str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
1455
|
-
* ack.standard : Standard managed clusters.
|
|
1456
|
-
* ack.pro.small : Professional managed clusters.
|
|
1457
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] control_plane_log_components: List of target components for which logs need to be collected. Supports `apiserver`, `kcm`, `scheduler`, `ccm` and `controlplane-events`.
|
|
1458
|
-
:param pulumi.Input[str] control_plane_log_project: Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.
|
|
1459
|
-
:param pulumi.Input[str] control_plane_log_ttl: Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `control_plane_log_ttl` and `control_plane_log_components` must be specified.
|
|
1460
|
-
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
1461
|
-
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
1462
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesDeleteOptionArgs', 'ManagedKubernetesDeleteOptionArgsDict']]]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
1463
|
-
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1464
|
-
:param pulumi.Input[bool] enable_rrsa: Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
1465
|
-
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
1466
|
-
: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).
|
|
1467
|
-
: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).
|
|
1468
|
-
:param pulumi.Input[Union['ManagedKubernetesMaintenanceWindowArgs', 'ManagedKubernetesMaintenanceWindowArgsDict']] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
1469
|
-
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
1470
|
-
: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.
|
|
1471
|
-
: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
|
|
1472
|
-
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
1473
|
-
: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` but must be in same availability zones.
|
|
1474
|
-
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
1475
|
-
: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.
|
|
1476
|
-
: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.
|
|
1477
|
-
: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.
|
|
1478
|
-
: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.
|
|
1479
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
1480
|
-
|
|
1481
|
-
> **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`.
|
|
1482
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
1483
|
-
|
|
1484
|
-
*Computed params*
|
|
1485
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
1486
|
-
:param pulumi.Input[str] timezone: When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
1487
|
-
:param pulumi.Input[str] user_ca: The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
1488
|
-
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
|
|
1489
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
1164
|
+
:param pulumi.Input[str] client_cert: The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
|
|
1165
|
+
:param pulumi.Input[str] client_key: The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
|
|
1166
|
+
:param pulumi.Input[str] cluster_domain: cluster local domain
|
|
1167
|
+
:param pulumi.Input[str] encryption_provider_key: disk encryption key, only in ack-pro
|
|
1168
|
+
:param pulumi.Input[str] name: Node name.
|
|
1490
1169
|
"""
|
|
1491
1170
|
...
|
|
1492
1171
|
@overload
|
|
@@ -1521,7 +1200,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1521
1200
|
|
|
1522
1201
|
> **NOTE:** From version 1.120.0, Support for cluster migration from Standard cluster to professional.
|
|
1523
1202
|
|
|
1524
|
-
> **NOTE:** From version 1.177.0
|
|
1203
|
+
> **NOTE:** From version 1.177.0+, `runtime`,`enable_ssh`,`rds_instances`,`exclude_autoscaler_nodes`,`worker_number`,`worker_instance_types`,`password`,`key_name`,`kms_encrypted_password`,`kms_encryption_context`,`worker_instance_charge_type`,`worker_period`,`worker_period_unit`,`worker_auto_renew`,`worker_auto_renew_period`,`worker_disk_category`,`worker_disk_size`,`worker_data_disks`,`node_name_mode`,`node_port_range`,`os_type`,`platform`,`image_id`,`cpu_policy`,`user_data`,`taints`,`worker_disk_performance_level`,`worker_disk_snapshot_policy_id`,`install_cloud_monitor` are deprecated.
|
|
1525
1204
|
We Suggest you using resource **`cs.NodePool`** to manage your cluster worker nodes.
|
|
1526
1205
|
|
|
1527
1206
|
> **NOTE:** From version 1.212.0, `runtime`,`enable_ssh`,`rds_instances`,`exclude_autoscaler_nodes`,`worker_number`,`worker_instance_types`,`password`,`key_name`,`kms_encrypted_password`,`kms_encryption_context`,`worker_instance_charge_type`,`worker_period`,`worker_period_unit`,`worker_auto_renew`,`worker_auto_renew_period`,`worker_disk_category`,`worker_disk_size`,`worker_data_disks`,`node_name_mode`,`node_port_range`,`os_type`,`platform`,`image_id`,`cpu_policy`,`user_data`,`taints`,`worker_disk_performance_level`,`worker_disk_snapshot_policy_id`,`install_cloud_monitor`,`kube_config`,`availability_zone` are removed.
|
|
@@ -1704,61 +1383,20 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1704
1383
|
:param str resource_name: The unique name of the resulting resource.
|
|
1705
1384
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1706
1385
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1707
|
-
:param pulumi.Input[
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
:param pulumi.Input[
|
|
1711
|
-
:param pulumi.Input[Union['ManagedKubernetesCertificateAuthorityArgs', 'ManagedKubernetesCertificateAuthorityArgsDict']] certificate_authority: (Available since v1.105.0) Nested attribute containing certificate authority data for your cluster.
|
|
1712
|
-
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
1713
|
-
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
1714
|
-
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
1715
|
-
|
|
1716
|
-
*Removed params*
|
|
1717
|
-
:param pulumi.Input[str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
|
|
1718
|
-
:param pulumi.Input[str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
1719
|
-
* ack.standard : Standard managed clusters.
|
|
1720
|
-
* ack.pro.small : Professional managed clusters.
|
|
1386
|
+
:param pulumi.Input[Union['ManagedKubernetesCertificateAuthorityArgs', 'ManagedKubernetesCertificateAuthorityArgsDict']] certificate_authority: (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
|
|
1387
|
+
:param pulumi.Input[str] client_cert: The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
|
|
1388
|
+
:param pulumi.Input[str] client_key: The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
|
|
1389
|
+
:param pulumi.Input[str] cluster_domain: cluster local domain
|
|
1721
1390
|
:param pulumi.Input[Union['ManagedKubernetesConnectionsArgs', 'ManagedKubernetesConnectionsArgsDict']] connections: Map of kubernetes cluster connection information.
|
|
1722
|
-
:param pulumi.Input[
|
|
1723
|
-
:param pulumi.Input[str]
|
|
1724
|
-
:param pulumi.Input[str] control_plane_log_ttl: Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `control_plane_log_ttl` and `control_plane_log_components` must be specified.
|
|
1725
|
-
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
1726
|
-
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
1727
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesDeleteOptionArgs', 'ManagedKubernetesDeleteOptionArgsDict']]]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
1728
|
-
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1729
|
-
:param pulumi.Input[bool] enable_rrsa: Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
1730
|
-
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
1731
|
-
: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).
|
|
1732
|
-
: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).
|
|
1733
|
-
:param pulumi.Input[Union['ManagedKubernetesMaintenanceWindowArgs', 'ManagedKubernetesMaintenanceWindowArgsDict']] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
1734
|
-
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
1391
|
+
:param pulumi.Input[str] encryption_provider_key: disk encryption key, only in ack-pro
|
|
1392
|
+
:param pulumi.Input[str] name: Node name.
|
|
1735
1393
|
:param pulumi.Input[str] nat_gateway_id: The ID of nat gateway used to launch kubernetes cluster.
|
|
1736
|
-
:param pulumi.Input[
|
|
1737
|
-
: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
|
|
1738
|
-
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
1739
|
-
: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` but must be in same availability zones.
|
|
1740
|
-
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
1741
|
-
: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.
|
|
1742
|
-
:param pulumi.Input[Union['ManagedKubernetesRrsaMetadataArgs', 'ManagedKubernetesRrsaMetadataArgsDict']] rrsa_metadata: (Optional, Available since v1.185.0) Nested attribute containing RRSA related data for your cluster.
|
|
1743
|
-
: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.
|
|
1744
|
-
: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.
|
|
1745
|
-
: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.
|
|
1394
|
+
:param pulumi.Input[Union['ManagedKubernetesRrsaMetadataArgs', 'ManagedKubernetesRrsaMetadataArgsDict']] rrsa_metadata: (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
|
|
1746
1395
|
:param pulumi.Input[str] slb_id: The ID of APIServer load balancer.
|
|
1747
1396
|
:param pulumi.Input[str] slb_internet: The public ip of load balancer.
|
|
1748
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
1749
|
-
|
|
1750
|
-
> **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`.
|
|
1751
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
1752
|
-
|
|
1753
|
-
*Computed params*
|
|
1754
1397
|
:param pulumi.Input[str] slb_intranet: The ID of private load balancer where the current cluster master node is located.
|
|
1755
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
1756
|
-
:param pulumi.Input[str] timezone: When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
1757
|
-
:param pulumi.Input[str] user_ca: The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
1758
|
-
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
|
|
1759
1398
|
:param pulumi.Input[str] vpc_id: The ID of VPC where the current cluster is located.
|
|
1760
1399
|
:param pulumi.Input[str] worker_ram_role_name: The RamRole Name attached to worker node.
|
|
1761
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
1762
1400
|
"""
|
|
1763
1401
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1764
1402
|
|
|
@@ -1814,26 +1452,18 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1814
1452
|
@property
|
|
1815
1453
|
@pulumi.getter
|
|
1816
1454
|
def addons(self) -> pulumi.Output[Optional[Sequence['outputs.ManagedKubernetesAddon']]]:
|
|
1817
|
-
"""
|
|
1818
|
-
The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1819
|
-
|
|
1820
|
-
*Network params*
|
|
1821
|
-
"""
|
|
1822
1455
|
return pulumi.get(self, "addons")
|
|
1823
1456
|
|
|
1824
1457
|
@property
|
|
1825
1458
|
@pulumi.getter(name="apiAudiences")
|
|
1826
1459
|
def api_audiences(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1827
|
-
"""
|
|
1828
|
-
A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
1829
|
-
"""
|
|
1830
1460
|
return pulumi.get(self, "api_audiences")
|
|
1831
1461
|
|
|
1832
1462
|
@property
|
|
1833
1463
|
@pulumi.getter(name="certificateAuthority")
|
|
1834
1464
|
def certificate_authority(self) -> pulumi.Output['outputs.ManagedKubernetesCertificateAuthority']:
|
|
1835
1465
|
"""
|
|
1836
|
-
(Available
|
|
1466
|
+
(Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
|
|
1837
1467
|
"""
|
|
1838
1468
|
return pulumi.get(self, "certificate_authority")
|
|
1839
1469
|
|
|
@@ -1841,7 +1471,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1841
1471
|
@pulumi.getter(name="clientCert")
|
|
1842
1472
|
def client_cert(self) -> pulumi.Output[Optional[str]]:
|
|
1843
1473
|
"""
|
|
1844
|
-
The
|
|
1474
|
+
The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
|
|
1845
1475
|
"""
|
|
1846
1476
|
return pulumi.get(self, "client_cert")
|
|
1847
1477
|
|
|
@@ -1849,36 +1479,26 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1849
1479
|
@pulumi.getter(name="clientKey")
|
|
1850
1480
|
def client_key(self) -> pulumi.Output[Optional[str]]:
|
|
1851
1481
|
"""
|
|
1852
|
-
The
|
|
1482
|
+
The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
|
|
1853
1483
|
"""
|
|
1854
1484
|
return pulumi.get(self, "client_key")
|
|
1855
1485
|
|
|
1856
1486
|
@property
|
|
1857
1487
|
@pulumi.getter(name="clusterCaCert")
|
|
1858
1488
|
def cluster_ca_cert(self) -> pulumi.Output[Optional[str]]:
|
|
1859
|
-
"""
|
|
1860
|
-
The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
1861
|
-
|
|
1862
|
-
*Removed params*
|
|
1863
|
-
"""
|
|
1864
1489
|
return pulumi.get(self, "cluster_ca_cert")
|
|
1865
1490
|
|
|
1866
1491
|
@property
|
|
1867
1492
|
@pulumi.getter(name="clusterDomain")
|
|
1868
1493
|
def cluster_domain(self) -> pulumi.Output[Optional[str]]:
|
|
1869
1494
|
"""
|
|
1870
|
-
|
|
1495
|
+
cluster local domain
|
|
1871
1496
|
"""
|
|
1872
1497
|
return pulumi.get(self, "cluster_domain")
|
|
1873
1498
|
|
|
1874
1499
|
@property
|
|
1875
1500
|
@pulumi.getter(name="clusterSpec")
|
|
1876
1501
|
def cluster_spec(self) -> pulumi.Output[str]:
|
|
1877
|
-
"""
|
|
1878
|
-
The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
1879
|
-
* ack.standard : Standard managed clusters.
|
|
1880
|
-
* ack.pro.small : Professional managed clusters.
|
|
1881
|
-
"""
|
|
1882
1502
|
return pulumi.get(self, "cluster_spec")
|
|
1883
1503
|
|
|
1884
1504
|
@property
|
|
@@ -1892,97 +1512,66 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1892
1512
|
@property
|
|
1893
1513
|
@pulumi.getter(name="controlPlaneLogComponents")
|
|
1894
1514
|
def control_plane_log_components(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1895
|
-
"""
|
|
1896
|
-
List of target components for which logs need to be collected. Supports `apiserver`, `kcm`, `scheduler`, `ccm` and `controlplane-events`.
|
|
1897
|
-
"""
|
|
1898
1515
|
return pulumi.get(self, "control_plane_log_components")
|
|
1899
1516
|
|
|
1900
1517
|
@property
|
|
1901
1518
|
@pulumi.getter(name="controlPlaneLogProject")
|
|
1902
1519
|
def control_plane_log_project(self) -> pulumi.Output[str]:
|
|
1903
|
-
"""
|
|
1904
|
-
Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.
|
|
1905
|
-
"""
|
|
1906
1520
|
return pulumi.get(self, "control_plane_log_project")
|
|
1907
1521
|
|
|
1908
1522
|
@property
|
|
1909
1523
|
@pulumi.getter(name="controlPlaneLogTtl")
|
|
1910
1524
|
def control_plane_log_ttl(self) -> pulumi.Output[str]:
|
|
1911
|
-
"""
|
|
1912
|
-
Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `control_plane_log_ttl` and `control_plane_log_components` must be specified.
|
|
1913
|
-
"""
|
|
1914
1525
|
return pulumi.get(self, "control_plane_log_ttl")
|
|
1915
1526
|
|
|
1916
1527
|
@property
|
|
1917
1528
|
@pulumi.getter(name="customSan")
|
|
1918
1529
|
def custom_san(self) -> pulumi.Output[Optional[str]]:
|
|
1919
|
-
"""
|
|
1920
|
-
Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
1921
|
-
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
1922
|
-
"""
|
|
1923
1530
|
return pulumi.get(self, "custom_san")
|
|
1924
1531
|
|
|
1925
1532
|
@property
|
|
1926
1533
|
@pulumi.getter(name="deleteOptions")
|
|
1927
1534
|
def delete_options(self) -> pulumi.Output[Optional[Sequence['outputs.ManagedKubernetesDeleteOption']]]:
|
|
1928
|
-
"""
|
|
1929
|
-
Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
1930
|
-
"""
|
|
1931
1535
|
return pulumi.get(self, "delete_options")
|
|
1932
1536
|
|
|
1933
1537
|
@property
|
|
1934
1538
|
@pulumi.getter(name="deletionProtection")
|
|
1935
1539
|
def deletion_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1936
|
-
"""
|
|
1937
|
-
Whether to enable cluster deletion protection.
|
|
1938
|
-
"""
|
|
1939
1540
|
return pulumi.get(self, "deletion_protection")
|
|
1940
1541
|
|
|
1941
1542
|
@property
|
|
1942
1543
|
@pulumi.getter(name="enableRrsa")
|
|
1943
1544
|
def enable_rrsa(self) -> pulumi.Output[Optional[bool]]:
|
|
1944
|
-
"""
|
|
1945
|
-
Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
1946
|
-
"""
|
|
1947
1545
|
return pulumi.get(self, "enable_rrsa")
|
|
1948
1546
|
|
|
1949
1547
|
@property
|
|
1950
1548
|
@pulumi.getter(name="encryptionProviderKey")
|
|
1951
1549
|
def encryption_provider_key(self) -> pulumi.Output[Optional[str]]:
|
|
1952
1550
|
"""
|
|
1953
|
-
|
|
1551
|
+
disk encryption key, only in ack-pro
|
|
1954
1552
|
"""
|
|
1955
1553
|
return pulumi.get(self, "encryption_provider_key")
|
|
1956
1554
|
|
|
1957
1555
|
@property
|
|
1958
1556
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
1959
1557
|
def is_enterprise_security_group(self) -> pulumi.Output[bool]:
|
|
1960
|
-
"""
|
|
1961
|
-
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
1962
|
-
"""
|
|
1963
1558
|
return pulumi.get(self, "is_enterprise_security_group")
|
|
1964
1559
|
|
|
1965
1560
|
@property
|
|
1966
1561
|
@pulumi.getter(name="loadBalancerSpec")
|
|
1967
1562
|
def load_balancer_spec(self) -> pulumi.Output[Optional[str]]:
|
|
1968
|
-
"""
|
|
1969
|
-
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).
|
|
1970
|
-
"""
|
|
1971
1563
|
return pulumi.get(self, "load_balancer_spec")
|
|
1972
1564
|
|
|
1973
1565
|
@property
|
|
1974
1566
|
@pulumi.getter(name="maintenanceWindow")
|
|
1975
1567
|
def maintenance_window(self) -> pulumi.Output['outputs.ManagedKubernetesMaintenanceWindow']:
|
|
1976
|
-
"""
|
|
1977
|
-
The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
1978
|
-
"""
|
|
1979
1568
|
return pulumi.get(self, "maintenance_window")
|
|
1980
1569
|
|
|
1981
1570
|
@property
|
|
1982
1571
|
@pulumi.getter
|
|
1983
1572
|
def name(self) -> pulumi.Output[str]:
|
|
1984
1573
|
"""
|
|
1985
|
-
|
|
1574
|
+
Node name.
|
|
1986
1575
|
"""
|
|
1987
1576
|
return pulumi.get(self, "name")
|
|
1988
1577
|
|
|
@@ -2002,49 +1591,31 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2002
1591
|
@property
|
|
2003
1592
|
@pulumi.getter(name="newNatGateway")
|
|
2004
1593
|
def new_nat_gateway(self) -> pulumi.Output[Optional[bool]]:
|
|
2005
|
-
"""
|
|
2006
|
-
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.
|
|
2007
|
-
"""
|
|
2008
1594
|
return pulumi.get(self, "new_nat_gateway")
|
|
2009
1595
|
|
|
2010
1596
|
@property
|
|
2011
1597
|
@pulumi.getter(name="nodeCidrMask")
|
|
2012
1598
|
def node_cidr_mask(self) -> pulumi.Output[Optional[int]]:
|
|
2013
|
-
"""
|
|
2014
|
-
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
|
|
2015
|
-
"""
|
|
2016
1599
|
return pulumi.get(self, "node_cidr_mask")
|
|
2017
1600
|
|
|
2018
1601
|
@property
|
|
2019
1602
|
@pulumi.getter(name="podCidr")
|
|
2020
1603
|
def pod_cidr(self) -> pulumi.Output[Optional[str]]:
|
|
2021
|
-
"""
|
|
2022
|
-
[Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
2023
|
-
"""
|
|
2024
1604
|
return pulumi.get(self, "pod_cidr")
|
|
2025
1605
|
|
|
2026
1606
|
@property
|
|
2027
1607
|
@pulumi.getter(name="podVswitchIds")
|
|
2028
1608
|
def pod_vswitch_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
2029
|
-
"""
|
|
2030
|
-
[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` but must be in same availability zones.
|
|
2031
|
-
"""
|
|
2032
1609
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
2033
1610
|
|
|
2034
1611
|
@property
|
|
2035
1612
|
@pulumi.getter(name="proxyMode")
|
|
2036
1613
|
def proxy_mode(self) -> pulumi.Output[Optional[str]]:
|
|
2037
|
-
"""
|
|
2038
|
-
Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
2039
|
-
"""
|
|
2040
1614
|
return pulumi.get(self, "proxy_mode")
|
|
2041
1615
|
|
|
2042
1616
|
@property
|
|
2043
1617
|
@pulumi.getter(name="resourceGroupId")
|
|
2044
1618
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
2045
|
-
"""
|
|
2046
|
-
The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
2047
|
-
"""
|
|
2048
1619
|
return pulumi.get(self, "resource_group_id")
|
|
2049
1620
|
|
|
2050
1621
|
@property
|
|
@@ -2056,32 +1627,23 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2056
1627
|
@pulumi.getter(name="rrsaMetadata")
|
|
2057
1628
|
def rrsa_metadata(self) -> pulumi.Output['outputs.ManagedKubernetesRrsaMetadata']:
|
|
2058
1629
|
"""
|
|
2059
|
-
(Optional, Available
|
|
1630
|
+
(Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
|
|
2060
1631
|
"""
|
|
2061
1632
|
return pulumi.get(self, "rrsa_metadata")
|
|
2062
1633
|
|
|
2063
1634
|
@property
|
|
2064
1635
|
@pulumi.getter(name="securityGroupId")
|
|
2065
1636
|
def security_group_id(self) -> pulumi.Output[str]:
|
|
2066
|
-
"""
|
|
2067
|
-
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.
|
|
2068
|
-
"""
|
|
2069
1637
|
return pulumi.get(self, "security_group_id")
|
|
2070
1638
|
|
|
2071
1639
|
@property
|
|
2072
1640
|
@pulumi.getter(name="serviceAccountIssuer")
|
|
2073
1641
|
def service_account_issuer(self) -> pulumi.Output[Optional[str]]:
|
|
2074
|
-
"""
|
|
2075
|
-
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.
|
|
2076
|
-
"""
|
|
2077
1642
|
return pulumi.get(self, "service_account_issuer")
|
|
2078
1643
|
|
|
2079
1644
|
@property
|
|
2080
1645
|
@pulumi.getter(name="serviceCidr")
|
|
2081
1646
|
def service_cidr(self) -> pulumi.Output[Optional[str]]:
|
|
2082
|
-
"""
|
|
2083
|
-
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.
|
|
2084
|
-
"""
|
|
2085
1647
|
return pulumi.get(self, "service_cidr")
|
|
2086
1648
|
|
|
2087
1649
|
@property
|
|
@@ -2103,14 +1665,6 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2103
1665
|
@property
|
|
2104
1666
|
@pulumi.getter(name="slbInternetEnabled")
|
|
2105
1667
|
def slb_internet_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
2106
|
-
"""
|
|
2107
|
-
Whether to create internet load balancer for API Server. Default to true.
|
|
2108
|
-
|
|
2109
|
-
> **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`.
|
|
2110
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
2111
|
-
|
|
2112
|
-
*Computed params*
|
|
2113
|
-
"""
|
|
2114
1668
|
return pulumi.get(self, "slb_internet_enabled")
|
|
2115
1669
|
|
|
2116
1670
|
@property
|
|
@@ -2124,33 +1678,21 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2124
1678
|
@property
|
|
2125
1679
|
@pulumi.getter
|
|
2126
1680
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
2127
|
-
"""
|
|
2128
|
-
Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
2129
|
-
"""
|
|
2130
1681
|
return pulumi.get(self, "tags")
|
|
2131
1682
|
|
|
2132
1683
|
@property
|
|
2133
1684
|
@pulumi.getter
|
|
2134
1685
|
def timezone(self) -> pulumi.Output[Optional[str]]:
|
|
2135
|
-
"""
|
|
2136
|
-
When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
2137
|
-
"""
|
|
2138
1686
|
return pulumi.get(self, "timezone")
|
|
2139
1687
|
|
|
2140
1688
|
@property
|
|
2141
1689
|
@pulumi.getter(name="userCa")
|
|
2142
1690
|
def user_ca(self) -> pulumi.Output[Optional[str]]:
|
|
2143
|
-
"""
|
|
2144
|
-
The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
2145
|
-
"""
|
|
2146
1691
|
return pulumi.get(self, "user_ca")
|
|
2147
1692
|
|
|
2148
1693
|
@property
|
|
2149
1694
|
@pulumi.getter
|
|
2150
1695
|
def version(self) -> pulumi.Output[str]:
|
|
2151
|
-
"""
|
|
2152
|
-
Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
|
|
2153
|
-
"""
|
|
2154
1696
|
return pulumi.get(self, "version")
|
|
2155
1697
|
|
|
2156
1698
|
@property
|
|
@@ -2172,8 +1714,5 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2172
1714
|
@property
|
|
2173
1715
|
@pulumi.getter(name="workerVswitchIds")
|
|
2174
1716
|
def worker_vswitch_ids(self) -> pulumi.Output[Sequence[str]]:
|
|
2175
|
-
"""
|
|
2176
|
-
The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
2177
|
-
"""
|
|
2178
1717
|
return pulumi.get(self, "worker_vswitch_ids")
|
|
2179
1718
|
|