ManagedKubernetesArgs

data class ManagedKubernetesArgs(val addons: Output<List<ManagedKubernetesAddonArgs>>? = null, val apiAudiences: Output<List<String>>? = null, val clientCert: Output<String>? = null, val clientKey: Output<String>? = null, val clusterCaCert: Output<String>? = null, val clusterDomain: Output<String>? = null, val clusterSpec: Output<String>? = null, val controlPlaneLogComponents: Output<List<String>>? = null, val controlPlaneLogProject: Output<String>? = null, val controlPlaneLogTtl: Output<String>? = null, val customSan: Output<String>? = null, val deleteOptions: Output<List<ManagedKubernetesDeleteOptionArgs>>? = null, val deletionProtection: Output<Boolean>? = null, val enableRrsa: Output<Boolean>? = null, val encryptionProviderKey: Output<String>? = null, val isEnterpriseSecurityGroup: Output<Boolean>? = null, val loadBalancerSpec: Output<String>? = null, val maintenanceWindow: Output<ManagedKubernetesMaintenanceWindowArgs>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val newNatGateway: Output<Boolean>? = null, val nodeCidrMask: Output<Int>? = null, val podCidr: Output<String>? = null, val podVswitchIds: Output<List<String>>? = null, val proxyMode: Output<String>? = null, val resourceGroupId: Output<String>? = null, val retainResources: Output<List<String>>? = null, val securityGroupId: Output<String>? = null, val serviceAccountIssuer: Output<String>? = null, val serviceCidr: Output<String>? = null, val slbInternetEnabled: Output<Boolean>? = null, val tags: Output<Map<String, Any>>? = null, val timezone: Output<String>? = null, val userCa: Output<String>? = null, val version: Output<String>? = null, val workerVswitchIds: Output<List<String>>? = null) : ConvertibleToJava<ManagedKubernetesArgs>

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

Constructors

Link copied to clipboard
constructor(addons: Output<List<ManagedKubernetesAddonArgs>>? = null, apiAudiences: Output<List<String>>? = null, clientCert: Output<String>? = null, clientKey: Output<String>? = null, clusterCaCert: Output<String>? = null, clusterDomain: Output<String>? = null, clusterSpec: Output<String>? = null, controlPlaneLogComponents: Output<List<String>>? = null, controlPlaneLogProject: Output<String>? = null, controlPlaneLogTtl: Output<String>? = null, customSan: Output<String>? = null, deleteOptions: Output<List<ManagedKubernetesDeleteOptionArgs>>? = null, deletionProtection: Output<Boolean>? = null, enableRrsa: Output<Boolean>? = null, encryptionProviderKey: Output<String>? = null, isEnterpriseSecurityGroup: Output<Boolean>? = null, loadBalancerSpec: Output<String>? = null, maintenanceWindow: Output<ManagedKubernetesMaintenanceWindowArgs>? = null, name: Output<String>? = null, namePrefix: Output<String>? = null, newNatGateway: Output<Boolean>? = null, nodeCidrMask: Output<Int>? = null, podCidr: Output<String>? = null, podVswitchIds: Output<List<String>>? = null, proxyMode: Output<String>? = null, resourceGroupId: Output<String>? = null, retainResources: Output<List<String>>? = null, securityGroupId: Output<String>? = null, serviceAccountIssuer: Output<String>? = null, serviceCidr: Output<String>? = null, slbInternetEnabled: Output<Boolean>? = null, tags: Output<Map<String, Any>>? = null, timezone: Output<String>? = null, userCa: Output<String>? = null, version: Output<String>? = null, workerVswitchIds: Output<List<String>>? = null)

Properties

Link copied to clipboard
val addons: Output<List<ManagedKubernetesAddonArgs>>? = null
Link copied to clipboard
val apiAudiences: Output<List<String>>? = null
Link copied to clipboard
val clientCert: Output<String>? = null

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>? = null

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>? = null
Link copied to clipboard
val clusterDomain: Output<String>? = null

cluster local domain

Link copied to clipboard
val clusterSpec: Output<String>? = null
Link copied to clipboard
val controlPlaneLogComponents: Output<List<String>>? = null
Link copied to clipboard
val controlPlaneLogProject: Output<String>? = null
Link copied to clipboard
val controlPlaneLogTtl: Output<String>? = null
Link copied to clipboard
val customSan: Output<String>? = null
Link copied to clipboard
Link copied to clipboard
val deletionProtection: Output<Boolean>? = null
Link copied to clipboard
val enableRrsa: Output<Boolean>? = null
Link copied to clipboard
val encryptionProviderKey: Output<String>? = null

disk encryption key, only in ack-pro

Link copied to clipboard
val isEnterpriseSecurityGroup: Output<Boolean>? = null
Link copied to clipboard
val loadBalancerSpec: Output<String>? = null
Link copied to clipboard
Link copied to clipboard
val name: Output<String>? = null

Node name.

Link copied to clipboard
val namePrefix: Output<String>? = null
Link copied to clipboard
val newNatGateway: Output<Boolean>? = null
Link copied to clipboard
val nodeCidrMask: Output<Int>? = null
Link copied to clipboard
val podCidr: Output<String>? = null
Link copied to clipboard
val podVswitchIds: Output<List<String>>? = null
Link copied to clipboard
val proxyMode: Output<String>? = null
Link copied to clipboard
val resourceGroupId: Output<String>? = null
Link copied to clipboard
val retainResources: Output<List<String>>? = null
Link copied to clipboard
val securityGroupId: Output<String>? = null
Link copied to clipboard
val serviceAccountIssuer: Output<String>? = null
Link copied to clipboard
val serviceCidr: Output<String>? = null
Link copied to clipboard
val slbInternetEnabled: Output<Boolean>? = null
Link copied to clipboard
val tags: Output<Map<String, Any>>? = null
Link copied to clipboard
val timezone: Output<String>? = null
Link copied to clipboard
val userCa: Output<String>? = null
Link copied to clipboard
val version: Output<String>? = null
Link copied to clipboard
val workerVswitchIds: Output<List<String>>? = null

Functions

Link copied to clipboard
open override fun toJava(): ManagedKubernetesArgs