Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.27.0 published on Monday, Aug 8, 2022 by Pulumi

EdgeKubernetes

Import

Kubernetes 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 alicloud_cs_edge_kubernetes.main cluster-id

Create a EdgeKubernetes Resource

new EdgeKubernetes(name: string, args: EdgeKubernetesArgs, opts?: CustomResourceOptions);
@overload
def EdgeKubernetes(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   addons: Optional[Sequence[EdgeKubernetesAddonArgs]] = None,
                   availability_zone: Optional[str] = None,
                   client_cert: Optional[str] = None,
                   client_key: Optional[str] = None,
                   cluster_ca_cert: Optional[str] = None,
                   deletion_protection: Optional[bool] = None,
                   force_update: Optional[bool] = None,
                   install_cloud_monitor: Optional[bool] = None,
                   is_enterprise_security_group: Optional[bool] = None,
                   key_name: Optional[str] = None,
                   kube_config: Optional[str] = None,
                   log_config: Optional[EdgeKubernetesLogConfigArgs] = None,
                   name: Optional[str] = None,
                   name_prefix: Optional[str] = None,
                   new_nat_gateway: Optional[bool] = None,
                   node_cidr_mask: Optional[int] = None,
                   password: Optional[str] = None,
                   pod_cidr: Optional[str] = None,
                   proxy_mode: Optional[str] = None,
                   rds_instances: Optional[Sequence[str]] = None,
                   resource_group_id: Optional[str] = None,
                   retain_resources: Optional[Sequence[str]] = None,
                   security_group_id: Optional[str] = None,
                   service_cidr: Optional[str] = None,
                   slb_internet_enabled: Optional[bool] = None,
                   tags: Optional[Mapping[str, Any]] = None,
                   user_data: Optional[str] = None,
                   version: Optional[str] = None,
                   worker_data_disks: Optional[Sequence[EdgeKubernetesWorkerDataDiskArgs]] = None,
                   worker_disk_category: Optional[str] = None,
                   worker_disk_performance_level: Optional[str] = None,
                   worker_disk_size: Optional[int] = None,
                   worker_disk_snapshot_policy_id: Optional[str] = None,
                   worker_instance_charge_type: Optional[str] = None,
                   worker_instance_types: Optional[Sequence[str]] = None,
                   worker_number: Optional[int] = None,
                   worker_vswitch_ids: Optional[Sequence[str]] = None)
@overload
def EdgeKubernetes(resource_name: str,
                   args: EdgeKubernetesArgs,
                   opts: Optional[ResourceOptions] = None)
func NewEdgeKubernetes(ctx *Context, name string, args EdgeKubernetesArgs, opts ...ResourceOption) (*EdgeKubernetes, error)
public EdgeKubernetes(string name, EdgeKubernetesArgs args, CustomResourceOptions? opts = null)
public EdgeKubernetes(String name, EdgeKubernetesArgs args)
public EdgeKubernetes(String name, EdgeKubernetesArgs args, CustomResourceOptions options)
type: alicloud:cs:EdgeKubernetes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EdgeKubernetesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args EdgeKubernetesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args EdgeKubernetesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EdgeKubernetesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EdgeKubernetesArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EdgeKubernetes Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The EdgeKubernetes resource accepts the following input properties:

WorkerInstanceTypes List<string>

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

WorkerNumber int

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.

WorkerVswitchIds List<string>
Addons List<Pulumi.AliCloud.CS.Inputs.EdgeKubernetesAddonArgs>
AvailabilityZone string

The ID of availability zone.

ClientCert string

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

ClientKey string

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

ClusterCaCert string

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

DeletionProtection bool

Whether to enable cluster deletion protection.

ForceUpdate bool

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

InstallCloudMonitor bool

Install cloud monitor agent on ECS. default: true.

IsEnterpriseSecurityGroup bool

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

KeyName string

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.

KubeConfig string

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

LogConfig Pulumi.AliCloud.CS.Inputs.EdgeKubernetesLogConfigArgs
Name string

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

NamePrefix string
NewNatGateway bool

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.

NodeCidrMask int

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

Password string

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

PodCidr string

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

ProxyMode string

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

RdsInstances List<string>
ResourceGroupId string

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

RetainResources List<string>
SecurityGroupId string

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.

ServiceCidr string

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.

SlbInternetEnabled bool

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

Tags Dictionary<string, object>

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

UserData string

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.

Version string

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.

WorkerDataDisks List<Pulumi.AliCloud.CS.Inputs.EdgeKubernetesWorkerDataDiskArgs>

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

WorkerDiskCategory string

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

WorkerDiskPerformanceLevel string

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.

WorkerDiskSize int

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

WorkerDiskSnapshotPolicyId string

Worker node system disk auto snapshot policy.

WorkerInstanceChargeType string
WorkerInstanceTypes []string

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

WorkerNumber int

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.

WorkerVswitchIds []string
Addons []EdgeKubernetesAddonArgs
AvailabilityZone string

The ID of availability zone.

ClientCert string

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

ClientKey string

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

ClusterCaCert string

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

DeletionProtection bool

Whether to enable cluster deletion protection.

ForceUpdate bool

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

InstallCloudMonitor bool

Install cloud monitor agent on ECS. default: true.

IsEnterpriseSecurityGroup bool

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

KeyName string

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.

KubeConfig string

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

LogConfig EdgeKubernetesLogConfigArgs
Name string

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

NamePrefix string
NewNatGateway bool

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.

NodeCidrMask int

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

Password string

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

PodCidr string

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

ProxyMode string

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

RdsInstances []string
ResourceGroupId string

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

RetainResources []string
SecurityGroupId string

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.

ServiceCidr string

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.

SlbInternetEnabled bool

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

Tags map[string]interface{}

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

UserData string

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.

Version string

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.

WorkerDataDisks []EdgeKubernetesWorkerDataDiskArgs

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

WorkerDiskCategory string

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

WorkerDiskPerformanceLevel string

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.

WorkerDiskSize int

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

WorkerDiskSnapshotPolicyId string

Worker node system disk auto snapshot policy.

WorkerInstanceChargeType string
workerInstanceTypes List<String>

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

workerNumber Integer

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.

workerVswitchIds List<String>
addons List<EdgeKubernetesAddonArgs>
availabilityZone String

The ID of availability zone.

clientCert String

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

clientKey String

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

clusterCaCert String

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

deletionProtection Boolean

Whether to enable cluster deletion protection.

forceUpdate Boolean

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

installCloudMonitor Boolean

Install cloud monitor agent on ECS. default: true.

isEnterpriseSecurityGroup Boolean

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

keyName String

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.

kubeConfig String

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

logConfig EdgeKubernetesLogConfigArgs
name String

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

namePrefix String
newNatGateway Boolean

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.

nodeCidrMask Integer

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

password String

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

podCidr String

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

proxyMode String

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

rdsInstances List<String>
resourceGroupId String

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

retainResources List<String>
securityGroupId String

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.

serviceCidr String

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.

slbInternetEnabled Boolean

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

tags Map<String,Object>

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

userData String

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.

version String

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.

workerDataDisks List<EdgeKubernetesWorkerDataDiskArgs>

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

workerDiskCategory String

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

workerDiskPerformanceLevel String

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.

workerDiskSize Integer

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

workerDiskSnapshotPolicyId String

Worker node system disk auto snapshot policy.

workerInstanceChargeType String
workerInstanceTypes string[]

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

workerNumber number

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.

workerVswitchIds string[]
addons EdgeKubernetesAddonArgs[]
availabilityZone string

The ID of availability zone.

clientCert string

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

clientKey string

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

clusterCaCert string

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

deletionProtection boolean

Whether to enable cluster deletion protection.

forceUpdate boolean

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

installCloudMonitor boolean

Install cloud monitor agent on ECS. default: true.

isEnterpriseSecurityGroup boolean

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

keyName string

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.

kubeConfig string

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

logConfig EdgeKubernetesLogConfigArgs
name string

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

namePrefix string
newNatGateway boolean

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.

nodeCidrMask number

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

password string

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

podCidr string

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

proxyMode string

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

rdsInstances string[]
resourceGroupId string

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

retainResources string[]
securityGroupId string

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.

serviceCidr string

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.

slbInternetEnabled boolean

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

tags {[key: string]: any}

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

userData string

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.

version string

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.

workerDataDisks EdgeKubernetesWorkerDataDiskArgs[]

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

workerDiskCategory string

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

workerDiskPerformanceLevel string

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.

workerDiskSize number

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

workerDiskSnapshotPolicyId string

Worker node system disk auto snapshot policy.

workerInstanceChargeType string
worker_instance_types Sequence[str]

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

worker_number int

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.

worker_vswitch_ids Sequence[str]
addons Sequence[EdgeKubernetesAddonArgs]
availability_zone str

The ID of availability zone.

client_cert str

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

client_key str

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

cluster_ca_cert str

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

deletion_protection bool

Whether to enable cluster deletion protection.

force_update bool

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

install_cloud_monitor bool

Install cloud monitor agent on ECS. default: true.

is_enterprise_security_group bool

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

key_name str

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.

kube_config str

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

log_config EdgeKubernetesLogConfigArgs
name str

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

name_prefix str
new_nat_gateway bool

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.

node_cidr_mask int

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

password str

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

pod_cidr str

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

proxy_mode str

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

rds_instances Sequence[str]
resource_group_id str

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

retain_resources Sequence[str]
security_group_id str

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.

service_cidr str

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.

slb_internet_enabled bool

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

tags Mapping[str, Any]

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

user_data str

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.

version str

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.

worker_data_disks Sequence[EdgeKubernetesWorkerDataDiskArgs]

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

worker_disk_category str

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

worker_disk_performance_level str

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.

worker_disk_size int

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

worker_disk_snapshot_policy_id str

Worker node system disk auto snapshot policy.

worker_instance_charge_type str
workerInstanceTypes List<String>

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

workerNumber Number

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.

workerVswitchIds List<String>
addons List<Property Map>
availabilityZone String

The ID of availability zone.

clientCert String

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

clientKey String

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

clusterCaCert String

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

deletionProtection Boolean

Whether to enable cluster deletion protection.

forceUpdate Boolean

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

installCloudMonitor Boolean

Install cloud monitor agent on ECS. default: true.

isEnterpriseSecurityGroup Boolean

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

keyName String

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.

kubeConfig String

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

logConfig Property Map
name String

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

namePrefix String
newNatGateway Boolean

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.

nodeCidrMask Number

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

password String

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

podCidr String

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

proxyMode String

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

rdsInstances List<String>
resourceGroupId String

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

retainResources List<String>
securityGroupId String

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.

serviceCidr String

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.

slbInternetEnabled Boolean

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

tags Map<Any>

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

userData String

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.

version String

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.

workerDataDisks List<Property Map>

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

workerDiskCategory String

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

workerDiskPerformanceLevel String

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.

workerDiskSize Number

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

workerDiskSnapshotPolicyId String

Worker node system disk auto snapshot policy.

workerInstanceChargeType String

Outputs

All input properties are implicitly available as output properties. Additionally, the EdgeKubernetes resource produces the following output properties:

CertificateAuthority Pulumi.AliCloud.CS.Outputs.EdgeKubernetesCertificateAuthority

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

Connections Pulumi.AliCloud.CS.Outputs.EdgeKubernetesConnections
Id string

The provider-assigned unique ID for this managed resource.

NatGatewayId string

The ID of nat gateway used to launch kubernetes cluster.

SlbInternet string
SlbIntranet string

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

VpcId string

The ID of VPC where the current cluster is located.

WorkerNodes List<Pulumi.AliCloud.CS.Outputs.EdgeKubernetesWorkerNode>

List of cluster worker nodes.

CertificateAuthority EdgeKubernetesCertificateAuthority

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

Connections EdgeKubernetesConnections
Id string

The provider-assigned unique ID for this managed resource.

NatGatewayId string

The ID of nat gateway used to launch kubernetes cluster.

SlbInternet string
SlbIntranet string

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

VpcId string

The ID of VPC where the current cluster is located.

WorkerNodes []EdgeKubernetesWorkerNode

List of cluster worker nodes.

certificateAuthority EdgeKubernetesCertificateAuthority

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

connections EdgeKubernetesConnections
id String

The provider-assigned unique ID for this managed resource.

natGatewayId String

The ID of nat gateway used to launch kubernetes cluster.

slbInternet String
slbIntranet String

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

vpcId String

The ID of VPC where the current cluster is located.

workerNodes List<EdgeKubernetesWorkerNode>

List of cluster worker nodes.

certificateAuthority EdgeKubernetesCertificateAuthority

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

connections EdgeKubernetesConnections
id string

The provider-assigned unique ID for this managed resource.

natGatewayId string

The ID of nat gateway used to launch kubernetes cluster.

slbInternet string
slbIntranet string

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

vpcId string

The ID of VPC where the current cluster is located.

workerNodes EdgeKubernetesWorkerNode[]

List of cluster worker nodes.

certificate_authority EdgeKubernetesCertificateAuthority

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

connections EdgeKubernetesConnections
id str

The provider-assigned unique ID for this managed resource.

nat_gateway_id str

The ID of nat gateway used to launch kubernetes cluster.

slb_internet str
slb_intranet str

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

vpc_id str

The ID of VPC where the current cluster is located.

worker_nodes Sequence[EdgeKubernetesWorkerNode]

List of cluster worker nodes.

certificateAuthority Property Map

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

connections Property Map
id String

The provider-assigned unique ID for this managed resource.

natGatewayId String

The ID of nat gateway used to launch kubernetes cluster.

slbInternet String
slbIntranet String

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

vpcId String

The ID of VPC where the current cluster is located.

workerNodes List<Property Map>

List of cluster worker nodes.

Look up an Existing EdgeKubernetes Resource

Get an existing EdgeKubernetes resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: EdgeKubernetesState, opts?: CustomResourceOptions): EdgeKubernetes
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        addons: Optional[Sequence[EdgeKubernetesAddonArgs]] = None,
        availability_zone: Optional[str] = None,
        certificate_authority: Optional[EdgeKubernetesCertificateAuthorityArgs] = None,
        client_cert: Optional[str] = None,
        client_key: Optional[str] = None,
        cluster_ca_cert: Optional[str] = None,
        connections: Optional[EdgeKubernetesConnectionsArgs] = None,
        deletion_protection: Optional[bool] = None,
        force_update: Optional[bool] = None,
        install_cloud_monitor: Optional[bool] = None,
        is_enterprise_security_group: Optional[bool] = None,
        key_name: Optional[str] = None,
        kube_config: Optional[str] = None,
        log_config: Optional[EdgeKubernetesLogConfigArgs] = None,
        name: Optional[str] = None,
        name_prefix: Optional[str] = None,
        nat_gateway_id: Optional[str] = None,
        new_nat_gateway: Optional[bool] = None,
        node_cidr_mask: Optional[int] = None,
        password: Optional[str] = None,
        pod_cidr: Optional[str] = None,
        proxy_mode: Optional[str] = None,
        rds_instances: Optional[Sequence[str]] = None,
        resource_group_id: Optional[str] = None,
        retain_resources: Optional[Sequence[str]] = None,
        security_group_id: Optional[str] = None,
        service_cidr: Optional[str] = None,
        slb_internet: Optional[str] = None,
        slb_internet_enabled: Optional[bool] = None,
        slb_intranet: Optional[str] = None,
        tags: Optional[Mapping[str, Any]] = None,
        user_data: Optional[str] = None,
        version: Optional[str] = None,
        vpc_id: Optional[str] = None,
        worker_data_disks: Optional[Sequence[EdgeKubernetesWorkerDataDiskArgs]] = None,
        worker_disk_category: Optional[str] = None,
        worker_disk_performance_level: Optional[str] = None,
        worker_disk_size: Optional[int] = None,
        worker_disk_snapshot_policy_id: Optional[str] = None,
        worker_instance_charge_type: Optional[str] = None,
        worker_instance_types: Optional[Sequence[str]] = None,
        worker_nodes: Optional[Sequence[EdgeKubernetesWorkerNodeArgs]] = None,
        worker_number: Optional[int] = None,
        worker_vswitch_ids: Optional[Sequence[str]] = None) -> EdgeKubernetes
func GetEdgeKubernetes(ctx *Context, name string, id IDInput, state *EdgeKubernetesState, opts ...ResourceOption) (*EdgeKubernetes, error)
public static EdgeKubernetes Get(string name, Input<string> id, EdgeKubernetesState? state, CustomResourceOptions? opts = null)
public static EdgeKubernetes get(String name, Output<String> id, EdgeKubernetesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Addons List<Pulumi.AliCloud.CS.Inputs.EdgeKubernetesAddonArgs>
AvailabilityZone string

The ID of availability zone.

CertificateAuthority Pulumi.AliCloud.CS.Inputs.EdgeKubernetesCertificateAuthorityArgs

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

ClientCert string

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

ClientKey string

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

ClusterCaCert string

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

Connections Pulumi.AliCloud.CS.Inputs.EdgeKubernetesConnectionsArgs
DeletionProtection bool

Whether to enable cluster deletion protection.

ForceUpdate bool

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

InstallCloudMonitor bool

Install cloud monitor agent on ECS. default: true.

IsEnterpriseSecurityGroup bool

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

KeyName string

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.

KubeConfig string

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

LogConfig Pulumi.AliCloud.CS.Inputs.EdgeKubernetesLogConfigArgs
Name string

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

NamePrefix string
NatGatewayId string

The ID of nat gateway used to launch kubernetes cluster.

NewNatGateway bool

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.

NodeCidrMask int

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

Password string

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

PodCidr string

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

ProxyMode string

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

RdsInstances List<string>
ResourceGroupId string

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

RetainResources List<string>
SecurityGroupId string

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.

ServiceCidr string

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.

SlbInternet string
SlbInternetEnabled bool

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

SlbIntranet string

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

Tags Dictionary<string, object>

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

UserData string

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.

Version string

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.

VpcId string

The ID of VPC where the current cluster is located.

WorkerDataDisks List<Pulumi.AliCloud.CS.Inputs.EdgeKubernetesWorkerDataDiskArgs>

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

WorkerDiskCategory string

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

WorkerDiskPerformanceLevel string

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.

WorkerDiskSize int

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

WorkerDiskSnapshotPolicyId string

Worker node system disk auto snapshot policy.

WorkerInstanceChargeType string
WorkerInstanceTypes List<string>

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

WorkerNodes List<Pulumi.AliCloud.CS.Inputs.EdgeKubernetesWorkerNodeArgs>

List of cluster worker nodes.

WorkerNumber int

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.

WorkerVswitchIds List<string>
Addons []EdgeKubernetesAddonArgs
AvailabilityZone string

The ID of availability zone.

CertificateAuthority EdgeKubernetesCertificateAuthorityArgs

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

ClientCert string

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

ClientKey string

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

ClusterCaCert string

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

Connections EdgeKubernetesConnectionsArgs
DeletionProtection bool

Whether to enable cluster deletion protection.

ForceUpdate bool

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

InstallCloudMonitor bool

Install cloud monitor agent on ECS. default: true.

IsEnterpriseSecurityGroup bool

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

KeyName string

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.

KubeConfig string

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

LogConfig EdgeKubernetesLogConfigArgs
Name string

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

NamePrefix string
NatGatewayId string

The ID of nat gateway used to launch kubernetes cluster.

NewNatGateway bool

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.

NodeCidrMask int

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

Password string

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

PodCidr string

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

ProxyMode string

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

RdsInstances []string
ResourceGroupId string

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

RetainResources []string
SecurityGroupId string

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.

ServiceCidr string

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.

SlbInternet string
SlbInternetEnabled bool

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

SlbIntranet string

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

Tags map[string]interface{}

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

UserData string

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.

Version string

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.

VpcId string

The ID of VPC where the current cluster is located.

WorkerDataDisks []EdgeKubernetesWorkerDataDiskArgs

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

WorkerDiskCategory string

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

WorkerDiskPerformanceLevel string

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.

WorkerDiskSize int

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

WorkerDiskSnapshotPolicyId string

Worker node system disk auto snapshot policy.

WorkerInstanceChargeType string
WorkerInstanceTypes []string

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

WorkerNodes []EdgeKubernetesWorkerNodeArgs

List of cluster worker nodes.

WorkerNumber int

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.

WorkerVswitchIds []string
addons List<EdgeKubernetesAddonArgs>
availabilityZone String

The ID of availability zone.

certificateAuthority EdgeKubernetesCertificateAuthorityArgs

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

clientCert String

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

clientKey String

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

clusterCaCert String

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

connections EdgeKubernetesConnectionsArgs
deletionProtection Boolean

Whether to enable cluster deletion protection.

forceUpdate Boolean

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

installCloudMonitor Boolean

Install cloud monitor agent on ECS. default: true.

isEnterpriseSecurityGroup Boolean

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

keyName String

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.

kubeConfig String

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

logConfig EdgeKubernetesLogConfigArgs
name String

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

namePrefix String
natGatewayId String

The ID of nat gateway used to launch kubernetes cluster.

newNatGateway Boolean

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.

nodeCidrMask Integer

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

password String

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

podCidr String

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

proxyMode String

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

rdsInstances List<String>
resourceGroupId String

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

retainResources List<String>
securityGroupId String

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.

serviceCidr String

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.

slbInternet String
slbInternetEnabled Boolean

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

slbIntranet String

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

tags Map<String,Object>

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

userData String

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.

version String

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.

vpcId String

The ID of VPC where the current cluster is located.

workerDataDisks List<EdgeKubernetesWorkerDataDiskArgs>

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

workerDiskCategory String

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

workerDiskPerformanceLevel String

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.

workerDiskSize Integer

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

workerDiskSnapshotPolicyId String

Worker node system disk auto snapshot policy.

workerInstanceChargeType String
workerInstanceTypes List<String>

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

workerNodes List<EdgeKubernetesWorkerNodeArgs>

List of cluster worker nodes.

workerNumber Integer

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.

workerVswitchIds List<String>
addons EdgeKubernetesAddonArgs[]
availabilityZone string

The ID of availability zone.

certificateAuthority EdgeKubernetesCertificateAuthorityArgs

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

clientCert string

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

clientKey string

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

clusterCaCert string

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

connections EdgeKubernetesConnectionsArgs
deletionProtection boolean

Whether to enable cluster deletion protection.

forceUpdate boolean

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

installCloudMonitor boolean

Install cloud monitor agent on ECS. default: true.

isEnterpriseSecurityGroup boolean

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

keyName string

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.

kubeConfig string

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

logConfig EdgeKubernetesLogConfigArgs
name string

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

namePrefix string
natGatewayId string

The ID of nat gateway used to launch kubernetes cluster.

newNatGateway boolean

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.

nodeCidrMask number

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

password string

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

podCidr string

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

proxyMode string

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

rdsInstances string[]
resourceGroupId string

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

retainResources string[]
securityGroupId string

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.

serviceCidr string

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.

slbInternet string
slbInternetEnabled boolean

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

slbIntranet string

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

tags {[key: string]: any}

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

userData string

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.

version string

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.

vpcId string

The ID of VPC where the current cluster is located.

workerDataDisks EdgeKubernetesWorkerDataDiskArgs[]

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

workerDiskCategory string

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

workerDiskPerformanceLevel string

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.

workerDiskSize number

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

workerDiskSnapshotPolicyId string

Worker node system disk auto snapshot policy.

workerInstanceChargeType string
workerInstanceTypes string[]

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

workerNodes EdgeKubernetesWorkerNodeArgs[]

List of cluster worker nodes.

workerNumber number

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.

workerVswitchIds string[]
addons Sequence[EdgeKubernetesAddonArgs]
availability_zone str

The ID of availability zone.

certificate_authority EdgeKubernetesCertificateAuthorityArgs

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

client_cert str

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

client_key str

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

cluster_ca_cert str

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

connections EdgeKubernetesConnectionsArgs
deletion_protection bool

Whether to enable cluster deletion protection.

force_update bool

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

install_cloud_monitor bool

Install cloud monitor agent on ECS. default: true.

is_enterprise_security_group bool

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

key_name str

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.

kube_config str

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

log_config EdgeKubernetesLogConfigArgs
name str

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

name_prefix str
nat_gateway_id str

The ID of nat gateway used to launch kubernetes cluster.

new_nat_gateway bool

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.

node_cidr_mask int

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

password str

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

pod_cidr str

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

proxy_mode str

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

rds_instances Sequence[str]
resource_group_id str

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

retain_resources Sequence[str]
security_group_id str

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.

service_cidr str

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.

slb_internet str
slb_internet_enabled bool

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

slb_intranet str

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

tags Mapping[str, Any]

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

user_data str

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.

version str

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.

vpc_id str

The ID of VPC where the current cluster is located.

worker_data_disks Sequence[EdgeKubernetesWorkerDataDiskArgs]

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

worker_disk_category str

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

worker_disk_performance_level str

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.

worker_disk_size int

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

worker_disk_snapshot_policy_id str

Worker node system disk auto snapshot policy.

worker_instance_charge_type str
worker_instance_types Sequence[str]

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

worker_nodes Sequence[EdgeKubernetesWorkerNodeArgs]

List of cluster worker nodes.

worker_number int

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.

worker_vswitch_ids Sequence[str]
addons List<Property Map>
availabilityZone String

The ID of availability zone.

certificateAuthority Property Map

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

clientCert String

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

clientKey String

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

clusterCaCert String

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

connections Property Map
deletionProtection Boolean

Whether to enable cluster deletion protection.

forceUpdate Boolean

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

installCloudMonitor Boolean

Install cloud monitor agent on ECS. default: true.

isEnterpriseSecurityGroup Boolean

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

keyName String

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.

kubeConfig String

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

logConfig Property Map
name String

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

namePrefix String
natGatewayId String

The ID of nat gateway used to launch kubernetes cluster.

newNatGateway Boolean

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.

nodeCidrMask Number

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

password String

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

podCidr String

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

proxyMode String

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

rdsInstances List<String>
resourceGroupId String

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

retainResources List<String>
securityGroupId String

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.

serviceCidr String

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.

slbInternet String
slbInternetEnabled Boolean

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

slbIntranet String

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

tags Map<Any>

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

userData String

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.

version String

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.

vpcId String

The ID of VPC where the current cluster is located.

workerDataDisks List<Property Map>

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

workerDiskCategory String

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

workerDiskPerformanceLevel String

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.

workerDiskSize Number

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

workerDiskSnapshotPolicyId String

Worker node system disk auto snapshot policy.

workerInstanceChargeType String
workerInstanceTypes List<String>

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

workerNodes List<Property Map>

List of cluster worker nodes.

workerNumber Number

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.

workerVswitchIds List<String>

Supporting Types

EdgeKubernetesAddon

Config string
Disabled bool
Name string

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

Config string
Disabled bool
Name string

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

config String
disabled Boolean
name String

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

config string
disabled boolean
name string

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

config str
disabled bool
name str

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

config String
disabled Boolean
name String

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

EdgeKubernetesCertificateAuthority

ClientCert string

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

ClientKey string

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

ClusterCert string

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

ClientCert string

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

ClientKey string

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

ClusterCert string

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

clientCert String

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

clientKey String

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

clusterCert String

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

clientCert string

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

clientKey string

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

clusterCert string

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

client_cert str

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

client_key str

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

cluster_cert str

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

clientCert String

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

clientKey String

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

clusterCert String

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

EdgeKubernetesConnections

EdgeKubernetesLogConfig

Type string
Project string
Type string
Project string
type String
project String
type string
project string
type str
project str
type String
project String

EdgeKubernetesWorkerDataDisk

AutoSnapshotPolicyId string

Worker node data disk auto snapshot policy.

Category string

The type of the data disks. Valid values: cloud, cloud_efficiency, cloud_ssd and cloud_essd. Default to cloud_efficiency.

Device string
Encrypted string

Specifies whether to encrypt data disks. Valid values: true and false. Default is false.

KmsKeyId string
Name string

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

PerformanceLevel string

Worker node data disk performance level, when 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.

Size string

The size of a data disk, at least 40. Unit: GiB.

SnapshotId string
AutoSnapshotPolicyId string

Worker node data disk auto snapshot policy.

Category string

The type of the data disks. Valid values: cloud, cloud_efficiency, cloud_ssd and cloud_essd. Default to cloud_efficiency.

Device string
Encrypted string

Specifies whether to encrypt data disks. Valid values: true and false. Default is false.

KmsKeyId string
Name string

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

PerformanceLevel string

Worker node data disk performance level, when 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.

Size string

The size of a data disk, at least 40. Unit: GiB.

SnapshotId string
autoSnapshotPolicyId String

Worker node data disk auto snapshot policy.

category String

The type of the data disks. Valid values: cloud, cloud_efficiency, cloud_ssd and cloud_essd. Default to cloud_efficiency.

device String
encrypted String

Specifies whether to encrypt data disks. Valid values: true and false. Default is false.

kmsKeyId String
name String

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

performanceLevel String

Worker node data disk performance level, when 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.

size String

The size of a data disk, at least 40. Unit: GiB.

snapshotId String
autoSnapshotPolicyId string

Worker node data disk auto snapshot policy.

category string

The type of the data disks. Valid values: cloud, cloud_efficiency, cloud_ssd and cloud_essd. Default to cloud_efficiency.

device string
encrypted string

Specifies whether to encrypt data disks. Valid values: true and false. Default is false.

kmsKeyId string
name string

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

performanceLevel string

Worker node data disk performance level, when 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.

size string

The size of a data disk, at least 40. Unit: GiB.

snapshotId string
auto_snapshot_policy_id str

Worker node data disk auto snapshot policy.

category str

The type of the data disks. Valid values: cloud, cloud_efficiency, cloud_ssd and cloud_essd. Default to cloud_efficiency.

device str
encrypted str

Specifies whether to encrypt data disks. Valid values: true and false. Default is false.

kms_key_id str
name str

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

performance_level str

Worker node data disk performance level, when 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.

size str

The size of a data disk, at least 40. Unit: GiB.

snapshot_id str
autoSnapshotPolicyId String

Worker node data disk auto snapshot policy.

category String

The type of the data disks. Valid values: cloud, cloud_efficiency, cloud_ssd and cloud_essd. Default to cloud_efficiency.

device String
encrypted String

Specifies whether to encrypt data disks. Valid values: true and false. Default is false.

kmsKeyId String
name String

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

performanceLevel String

Worker node data disk performance level, when 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.

size String

The size of a data disk, at least 40. Unit: GiB.

snapshotId String

EdgeKubernetesWorkerNode

Id string

ID of the node.

Name string

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

PrivateIp string

The private IP address of node.

Id string

ID of the node.

Name string

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

PrivateIp string

The private IP address of node.

id String

ID of the node.

name String

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

privateIp String

The private IP address of node.

id string

ID of the node.

name string

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

privateIp string

The private IP address of node.

id str

ID of the node.

name str

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

private_ip str

The private IP address of node.

id String

ID of the node.

name String

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

privateIp String

The private IP address of node.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.