EdgeKubernetesArgs

data class EdgeKubernetesArgs(val addons: Output<List<EdgeKubernetesAddonArgs>>? = null, val availabilityZone: Output<String>? = null, val clientCert: Output<String>? = null, val clientKey: Output<String>? = null, val clusterCaCert: Output<String>? = null, val clusterSpec: Output<String>? = null, val deletionProtection: Output<Boolean>? = null, val forceUpdate: Output<Boolean>? = null, val installCloudMonitor: Output<Boolean>? = null, val isEnterpriseSecurityGroup: Output<Boolean>? = null, val keyName: Output<String>? = null, val kubeConfig: Output<String>? = null, val loadBalancerSpec: Output<String>? = null, val logConfig: Output<EdgeKubernetesLogConfigArgs>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val newNatGateway: Output<Boolean>? = null, val nodeCidrMask: Output<Int>? = null, val password: Output<String>? = null, val podCidr: Output<String>? = null, val proxyMode: Output<String>? = null, val rdsInstances: Output<List<String>>? = null, val resourceGroupId: Output<String>? = null, val retainResources: Output<List<String>>? = null, val runtime: Output<EdgeKubernetesRuntimeArgs>? = null, val securityGroupId: Output<String>? = null, val serviceCidr: Output<String>? = null, val slbInternetEnabled: Output<Boolean>? = null, val tags: Output<Map<String, Any>>? = null, val userData: Output<String>? = null, val version: Output<String>? = null, val workerDataDisks: Output<List<EdgeKubernetesWorkerDataDiskArgs>>? = null, val workerDiskCategory: Output<String>? = null, val workerDiskPerformanceLevel: Output<String>? = null, val workerDiskSize: Output<Int>? = null, val workerDiskSnapshotPolicyId: Output<String>? = null, val workerInstanceChargeType: Output<String>? = null, val workerInstanceTypes: Output<List<String>>? = null, val workerNumber: Output<Int>? = null, val workerVswitchIds: Output<List<String>>? = null) : ConvertibleToJava<EdgeKubernetesArgs>

Import

Kubernetes edge cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of terraform plan.

$ pulumi import alicloud:cs/edgeKubernetes:EdgeKubernetes main cluster-id

Constructors

Link copied to clipboard
fun EdgeKubernetesArgs(addons: Output<List<EdgeKubernetesAddonArgs>>? = null, availabilityZone: Output<String>? = null, clientCert: Output<String>? = null, clientKey: Output<String>? = null, clusterCaCert: Output<String>? = null, clusterSpec: Output<String>? = null, deletionProtection: Output<Boolean>? = null, forceUpdate: Output<Boolean>? = null, installCloudMonitor: Output<Boolean>? = null, isEnterpriseSecurityGroup: Output<Boolean>? = null, keyName: Output<String>? = null, kubeConfig: Output<String>? = null, loadBalancerSpec: Output<String>? = null, logConfig: Output<EdgeKubernetesLogConfigArgs>? = null, name: Output<String>? = null, namePrefix: Output<String>? = null, newNatGateway: Output<Boolean>? = null, nodeCidrMask: Output<Int>? = null, password: Output<String>? = null, podCidr: Output<String>? = null, proxyMode: Output<String>? = null, rdsInstances: Output<List<String>>? = null, resourceGroupId: Output<String>? = null, retainResources: Output<List<String>>? = null, runtime: Output<EdgeKubernetesRuntimeArgs>? = null, securityGroupId: Output<String>? = null, serviceCidr: Output<String>? = null, slbInternetEnabled: Output<Boolean>? = null, tags: Output<Map<String, Any>>? = null, userData: Output<String>? = null, version: Output<String>? = null, workerDataDisks: Output<List<EdgeKubernetesWorkerDataDiskArgs>>? = null, workerDiskCategory: Output<String>? = null, workerDiskPerformanceLevel: Output<String>? = null, workerDiskSize: Output<Int>? = null, workerDiskSnapshotPolicyId: Output<String>? = null, workerInstanceChargeType: Output<String>? = null, workerInstanceTypes: Output<List<String>>? = null, workerNumber: Output<Int>? = null, workerVswitchIds: Output<List<String>>? = null)

Functions

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

Properties

Link copied to clipboard
val addons: Output<List<EdgeKubernetesAddonArgs>>? = null

The addon you want to install in cluster.

Link copied to clipboard
val availabilityZone: Output<String>? = null

The ID of availability zone.

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

The path of client certificate, like ~/.kube/client-cert.pem.

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

The path of client key, like ~/.kube/client-key.pem.

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

The path of cluster ca certificate, like ~/.kube/cluster-ca-cert.pem

Link copied to clipboard
val clusterSpec: Output<String>? = null

The cluster specifications of kubernetes cluster,which can be empty. Valid values:

Link copied to clipboard
val deletionProtection: Output<Boolean>? = null

Whether to enable cluster deletion protection.

Link copied to clipboard
val forceUpdate: Output<Boolean>? = null

Default false, when you want to change vpc_id, you have to set this field to true, then the cluster will be recreated.

Link copied to clipboard
val installCloudMonitor: Output<Boolean>? = null

Install cloud monitor agent on ECS. default: true.

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

Enable to create advanced security group. default: false. See Advanced security group.

Link copied to clipboard
val keyName: Output<String>? = null

The keypair of ssh login cluster node, you have to create it first. You have to specify one of password key_name kms_encrypted_password fields.

Link copied to clipboard
val kubeConfig: Output<String>? = null

The path of kube config, like ~/.kube/config.

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

The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.

Link copied to clipboard

A list of one element containing information about the associated log store. It contains the following attributes:

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

The kubernetes cluster's name. It is unique in one Alicloud account.

Link copied to clipboard
val namePrefix: Output<String>? = null
Link copied to clipboard
val newNatGateway: Output<Boolean>? = null

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.

Link copied to clipboard
val nodeCidrMask: Output<Int>? = null

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

Link copied to clipboard
val password: Output<String>? = null

The password of ssh login cluster node. You have to specify one of password, key_name kms_encrypted_password fields.

Link copied to clipboard
val podCidr: Output<String>? = null

Flannel Specific The CIDR block for the pod network when using Flannel.

Link copied to clipboard
val proxyMode: Output<String>? = null

Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.

Link copied to clipboard
val rdsInstances: Output<List<String>>? = null

RDS instance list, You can choose which RDS instances whitelist to add instances to.

Link copied to clipboard
val resourceGroupId: Output<String>? = null

The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.

Link copied to clipboard
val retainResources: Output<List<String>>? = null
Link copied to clipboard
val runtime: Output<EdgeKubernetesRuntimeArgs>? = null

The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.

Link copied to clipboard
val securityGroupId: Output<String>? = null

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.

Link copied to clipboard
val serviceCidr: Output<String>? = null

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.

Link copied to clipboard
val slbInternetEnabled: Output<Boolean>? = null

Whether to create internet load balancer for API Server. Default to true.

Link copied to clipboard
val tags: Output<Map<String, Any>>? = null

Default nil, A map of tags assigned to the kubernetes cluster and work node.

Link copied to clipboard
val userData: Output<String>? = null

Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket.

Link copied to clipboard
val version: Output<String>? = null

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.

Link copied to clipboard

The data disk configurations of worker nodes, such as the disk type and disk size.

Link copied to clipboard
val workerDiskCategory: Output<String>? = null

The system disk category of worker node. Its valid value are cloud_efficiency, cloud_ssd and cloud_essd and . Default to cloud_efficiency.

Link copied to clipboard
val workerDiskPerformanceLevel: Output<String>? = null

Worker node system disk performance level, when worker_disk_category values cloud_essd, the optional values are PL0, PL1, PL2 or PL3, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default is PL1.

Link copied to clipboard
val workerDiskSize: Output<Int>? = null

The system disk size of worker node. Its valid value range 20~32768 in GB. Default to 40.

Link copied to clipboard
val workerDiskSnapshotPolicyId: Output<String>? = null

Worker node system disk auto snapshot policy.

Link copied to clipboard
val workerInstanceChargeType: Output<String>? = null

Worker payment type, its valid value is PostPaid. Defaults to PostPaid. More charge details in ACK@edge charge.

Link copied to clipboard
val workerInstanceTypes: Output<List<String>>? = null

The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.

Link copied to clipboard
val workerNumber: Output<Int>? = null

The cloud worker node number of the edge kubernetes cluster. Default to 1. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.

Link copied to clipboard
val workerVswitchIds: Output<List<String>>? = null

The vswitches used by workers.