ManagedKubernetes

class ManagedKubernetes : KotlinCustomResource

This resource will help you to manage a ManagedKubernetes Cluster in Alibaba Cloud Kubernetes Service.

NOTE: Available since v1.26.0. NOTE: It is recommended to create a cluster with zero worker nodes, and then use a node pool to manage the cluster nodes. NOTE: Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster. A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the VPC, you can set new_nat_gateway to "true" to create one automatically. NOTE: Creating kubernetes cluster need to install several packages and it will cost about 15 minutes. Please be patient. NOTE: From version 1.9.4, the provider supports to download kube config, client certificate, client key and cluster ca certificate after creating cluster successfully, and you can put them into the specified location, like '~/.kube/config'. NOTE: From version 1.20.0, the provider supports disabling internet load balancer for API Server by setting false to slb_internet_enabled. NOTE: If you want to manage Kubernetes, you can use Kubernetes Provider. NOTE: You need to activate several other products and confirm Authorization Policy used by Container Service before using this resource. Please refer to the Authorization management and Cluster management sections in the Document Center. NOTE: From version 1.72.0, Some parameters have been removed from resource,You can check them below and re-import the cluster if necessary. NOTE: From version 1.120.0, Support for cluster migration from Standard cluster to professional. 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. We Suggest you using resource alicloud.cs.NodePool to manage your cluster worker nodes. 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. Please use resource alicloud.cs.NodePool to manage your cluster worker nodes.

Import

Kubernetes managed cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of pulumi preview.

$ pulumi import alicloud:cs/managedKubernetes:ManagedKubernetes main cluster_id

Properties

Link copied to clipboard
Link copied to clipboard
val apiAudiences: Output<List<String>>?
Link copied to clipboard

(Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.

Link copied to clipboard
val clientCert: Output<String>?

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.

Link copied to clipboard
val clientKey: Output<String>?

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.

Link copied to clipboard
val clusterCaCert: Output<String>?
Link copied to clipboard
val clusterDomain: Output<String>?

cluster local domain

Link copied to clipboard
val clusterSpec: Output<String>
Link copied to clipboard

Map of kubernetes cluster connection information.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val customSan: Output<String>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val enableRrsa: Output<Boolean>?
Link copied to clipboard

disk encryption key, only in ack-pro

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
Link copied to clipboard
val loadBalancerSpec: Output<String>?
Link copied to clipboard
val name: Output<String>

Node name.

Link copied to clipboard
val namePrefix: Output<String>?
Link copied to clipboard
val natGatewayId: Output<String>

The ID of nat gateway used to launch kubernetes cluster.

Link copied to clipboard
val newNatGateway: Output<Boolean>?
Link copied to clipboard
val nodeCidrMask: Output<Int>?
Link copied to clipboard
val podCidr: Output<String>?
Link copied to clipboard
val podVswitchIds: Output<List<String>>?
Link copied to clipboard
val proxyMode: Output<String>?
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>
Link copied to clipboard
val retainResources: Output<List<String>>?
Link copied to clipboard

(Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.

Link copied to clipboard
val securityGroupId: Output<String>
Link copied to clipboard
Link copied to clipboard
val serviceCidr: Output<String>?
Link copied to clipboard
val slbId: Output<String>

The ID of APIServer load balancer.

Link copied to clipboard
val slbInternet: Output<String>

The public ip of load balancer.

Link copied to clipboard
Link copied to clipboard
val slbIntranet: Output<String>

The ID of private load balancer where the current cluster master node is located.

Link copied to clipboard
val tags: Output<Map<String, Any>>?
Link copied to clipboard
val timezone: Output<String>?
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val userCa: Output<String>?
Link copied to clipboard
val version: Output<String>
Link copied to clipboard
val vpcId: Output<String>

The ID of VPC where the current cluster is located.

Link copied to clipboard

The RamRole Name attached to worker node.

Link copied to clipboard