alicloud.cs.EdgeKubernetes
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
Create 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,
cluster_spec: 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,
load_balancer_spec: 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,
runtime: Optional[EdgeKubernetesRuntimeArgs] = 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:
- Worker
Instance List<string>Types 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 List<string>Ids The vswitches used by workers.
- Addons
List<Pulumi.
Ali Cloud. CS. Inputs. Edge Kubernetes Addon Args> The addon you want to install in cluster.
- Availability
Zone string The ID of availability zone.
- Client
Cert string The path of client certificate, like
~/.kube/client-cert.pem
.- Client
Key string The path of client key, like
~/.kube/client-key.pem
.- Cluster
Ca stringCert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- Cluster
Spec string The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- 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 boolMonitor Install cloud monitor agent on ECS. default:
true
.- Is
Enterprise boolSecurity Group Enable to create advanced security group. default: false. See Advanced security group.
- Key
Name 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.- Kube
Config string The path of kube config, like
~/.kube/config
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- Load
Balancer stringSpec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- Log
Config Pulumi.Ali Cloud. CS. Inputs. Edge Kubernetes Log Config Args A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- Name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- Name
Prefix string - New
Nat boolGateway 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 intMask 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.- Pod
Cidr string [Flannel Specific] The CIDR block for the pod network when using Flannel.
- Proxy
Mode string Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
- Rds
Instances List<string> RDS instance list, You can choose which RDS instances whitelist to add instances to.
- Resource
Group stringId The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- Retain
Resources List<string> - Runtime
Pulumi.
Ali Cloud. CS. Inputs. Edge Kubernetes Runtime Args The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- Security
Group stringId 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 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.
- Slb
Internet boolEnabled Whether to create internet load balancer for API Server. Default to true.
- Dictionary<string, object>
Default nil, A map of tags assigned to the kubernetes cluster and work node.
- User
Data 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.
- Worker
Data List<Pulumi.Disks Ali Cloud. CS. Inputs. Edge Kubernetes Worker Data Disk Args> The data disk configurations of worker nodes, such as the disk type and disk size.
- Worker
Disk stringCategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- Worker
Disk stringPerformance Level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- Worker
Disk intSize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- Worker
Disk stringSnapshot Policy Id Worker node system disk auto snapshot policy.
- Worker
Instance stringCharge Type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.
- Worker
Instance []stringTypes 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 []stringIds The vswitches used by workers.
- Addons
[]Edge
Kubernetes Addon Args The addon you want to install in cluster.
- Availability
Zone string The ID of availability zone.
- Client
Cert string The path of client certificate, like
~/.kube/client-cert.pem
.- Client
Key string The path of client key, like
~/.kube/client-key.pem
.- Cluster
Ca stringCert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- Cluster
Spec string The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- 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 boolMonitor Install cloud monitor agent on ECS. default:
true
.- Is
Enterprise boolSecurity Group Enable to create advanced security group. default: false. See Advanced security group.
- Key
Name 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.- Kube
Config string The path of kube config, like
~/.kube/config
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- Load
Balancer stringSpec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- Log
Config EdgeKubernetes Log Config Args A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- Name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- Name
Prefix string - New
Nat boolGateway 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 intMask 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.- Pod
Cidr string [Flannel Specific] The CIDR block for the pod network when using Flannel.
- Proxy
Mode string Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
- Rds
Instances []string RDS instance list, You can choose which RDS instances whitelist to add instances to.
- Resource
Group stringId The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- Retain
Resources []string - Runtime
Edge
Kubernetes Runtime Args The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- Security
Group stringId 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 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.
- Slb
Internet boolEnabled Whether to create internet load balancer for API Server. Default to true.
- map[string]interface{}
Default nil, A map of tags assigned to the kubernetes cluster and work node.
- User
Data 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.
- Worker
Data []EdgeDisks Kubernetes Worker Data Disk Args The data disk configurations of worker nodes, such as the disk type and disk size.
- Worker
Disk stringCategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- Worker
Disk stringPerformance Level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- Worker
Disk intSize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- Worker
Disk stringSnapshot Policy Id Worker node system disk auto snapshot policy.
- Worker
Instance stringCharge Type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.
- worker
Instance List<String>Types The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
- worker
Number 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.
- worker
Vswitch List<String>Ids The vswitches used by workers.
- addons
List<Edge
Kubernetes Addon Args> The addon you want to install in cluster.
- availability
Zone String The ID of availability zone.
- client
Cert String The path of client certificate, like
~/.kube/client-cert.pem
.- client
Key String The path of client key, like
~/.kube/client-key.pem
.- cluster
Ca StringCert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- cluster
Spec String The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- deletion
Protection Boolean Whether to enable cluster deletion protection.
- force
Update Boolean 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 BooleanMonitor Install cloud monitor agent on ECS. default:
true
.- is
Enterprise BooleanSecurity Group Enable to create advanced security group. default: false. See Advanced security group.
- key
Name 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.- kube
Config String The path of kube config, like
~/.kube/config
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- load
Balancer StringSpec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- log
Config EdgeKubernetes Log Config Args A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- name String
The kubernetes cluster's name. It is unique in one Alicloud account.
- name
Prefix String - new
Nat BooleanGateway 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 IntegerMask 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.- pod
Cidr String [Flannel Specific] The CIDR block for the pod network when using Flannel.
- proxy
Mode String Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
- rds
Instances List<String> RDS instance list, You can choose which RDS instances whitelist to add instances to.
- resource
Group StringId The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- retain
Resources List<String> - runtime
Edge
Kubernetes Runtime Args The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- security
Group StringId 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 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.
- slb
Internet BooleanEnabled Whether to create internet load balancer for API Server. Default to true.
- Map<String,Object>
Default nil, A map of tags assigned to the kubernetes cluster and work node.
- user
Data 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.
- worker
Data List<EdgeDisks Kubernetes Worker Data Disk Args> The data disk configurations of worker nodes, such as the disk type and disk size.
- worker
Disk StringCategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- worker
Disk StringPerformance Level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- worker
Disk IntegerSize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- worker
Disk StringSnapshot Policy Id Worker node system disk auto snapshot policy.
- worker
Instance StringCharge Type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.
- worker
Instance string[]Types The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
- worker
Number 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.
- worker
Vswitch string[]Ids The vswitches used by workers.
- addons
Edge
Kubernetes Addon Args[] The addon you want to install in cluster.
- availability
Zone string The ID of availability zone.
- client
Cert string The path of client certificate, like
~/.kube/client-cert.pem
.- client
Key string The path of client key, like
~/.kube/client-key.pem
.- cluster
Ca stringCert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- cluster
Spec string The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- deletion
Protection boolean Whether to enable cluster deletion protection.
- force
Update boolean 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 booleanMonitor Install cloud monitor agent on ECS. default:
true
.- is
Enterprise booleanSecurity Group Enable to create advanced security group. default: false. See Advanced security group.
- key
Name 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.- kube
Config string The path of kube config, like
~/.kube/config
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- load
Balancer stringSpec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- log
Config EdgeKubernetes Log Config Args A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- name
Prefix string - new
Nat booleanGateway 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 numberMask 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.- pod
Cidr string [Flannel Specific] The CIDR block for the pod network when using Flannel.
- proxy
Mode string Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
- rds
Instances string[] RDS instance list, You can choose which RDS instances whitelist to add instances to.
- resource
Group stringId The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- retain
Resources string[] - runtime
Edge
Kubernetes Runtime Args The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- security
Group stringId 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 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.
- slb
Internet booleanEnabled Whether to create internet load balancer for API Server. Default to true.
- {[key: string]: any}
Default nil, A map of tags assigned to the kubernetes cluster and work node.
- user
Data 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.
- worker
Data EdgeDisks Kubernetes Worker Data Disk Args[] The data disk configurations of worker nodes, such as the disk type and disk size.
- worker
Disk stringCategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- worker
Disk stringPerformance Level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- worker
Disk numberSize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- worker
Disk stringSnapshot Policy Id Worker node system disk auto snapshot policy.
- worker
Instance stringCharge Type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.
- worker_
instance_ Sequence[str]types 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_ Sequence[str]ids The vswitches used by workers.
- addons
Sequence[Edge
Kubernetes Addon Args] The addon you want to install in cluster.
- 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_ strcert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- cluster_
spec str The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- 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_ boolmonitor Install cloud monitor agent on ECS. default:
true
.- is_
enterprise_ boolsecurity_ group 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
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- load_
balancer_ strspec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- log_
config EdgeKubernetes Log Config Args A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- name str
The kubernetes cluster's name. It is unique in one Alicloud account.
- name_
prefix str - new_
nat_ boolgateway 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_ intmask 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] RDS instance list, You can choose which RDS instances whitelist to add instances to.
- resource_
group_ strid The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- retain_
resources Sequence[str] - runtime
Edge
Kubernetes Runtime Args The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- security_
group_ strid 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_ boolenabled Whether to create internet load balancer for API Server. Default to true.
- 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_ Sequence[Edgedisks Kubernetes Worker Data Disk Args] The data disk configurations of worker nodes, such as the disk type and disk size.
- worker_
disk_ strcategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- worker_
disk_ strperformance_ level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- worker_
disk_ intsize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- worker_
disk_ strsnapshot_ policy_ id Worker node system disk auto snapshot policy.
- worker_
instance_ strcharge_ type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.
- worker
Instance List<String>Types The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
- worker
Number 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.
- worker
Vswitch List<String>Ids The vswitches used by workers.
- addons List<Property Map>
The addon you want to install in cluster.
- availability
Zone String The ID of availability zone.
- client
Cert String The path of client certificate, like
~/.kube/client-cert.pem
.- client
Key String The path of client key, like
~/.kube/client-key.pem
.- cluster
Ca StringCert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- cluster
Spec String The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- deletion
Protection Boolean Whether to enable cluster deletion protection.
- force
Update Boolean 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 BooleanMonitor Install cloud monitor agent on ECS. default:
true
.- is
Enterprise BooleanSecurity Group Enable to create advanced security group. default: false. See Advanced security group.
- key
Name 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.- kube
Config String The path of kube config, like
~/.kube/config
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- load
Balancer StringSpec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- log
Config Property Map A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- name String
The kubernetes cluster's name. It is unique in one Alicloud account.
- name
Prefix String - new
Nat BooleanGateway 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 NumberMask 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.- pod
Cidr String [Flannel Specific] The CIDR block for the pod network when using Flannel.
- proxy
Mode String Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
- rds
Instances List<String> RDS instance list, You can choose which RDS instances whitelist to add instances to.
- resource
Group StringId The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- retain
Resources List<String> - runtime Property Map
The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- security
Group StringId 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 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.
- slb
Internet BooleanEnabled Whether to create internet load balancer for API Server. Default to true.
- Map<Any>
Default nil, A map of tags assigned to the kubernetes cluster and work node.
- user
Data 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.
- worker
Data List<Property Map>Disks The data disk configurations of worker nodes, such as the disk type and disk size.
- worker
Disk StringCategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- worker
Disk StringPerformance Level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- worker
Disk NumberSize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- worker
Disk StringSnapshot Policy Id Worker node system disk auto snapshot policy.
- worker
Instance StringCharge Type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgeKubernetes resource produces the following output properties:
- Pulumi.
Ali Cloud. CS. Outputs. Edge Kubernetes Certificate Authority (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- Connections
Pulumi.
Ali Cloud. CS. Outputs. Edge Kubernetes Connections Map of kubernetes cluster connection information.
- Id string
The provider-assigned unique ID for this managed resource.
- Nat
Gateway stringId The ID of nat gateway used to launch kubernetes cluster.
- Slb
Internet string The public ip of load balancer.
- Slb
Intranet string The ID of private load balancer where the current cluster master node is located.
- Vpc
Id string The ID of VPC where the current cluster is located.
- Worker
Nodes List<Pulumi.Ali Cloud. CS. Outputs. Edge Kubernetes Worker Node> List of cluster worker nodes.
- Worker
Ram stringRole Name The RamRole Name attached to worker node.
- Edge
Kubernetes Certificate Authority (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- Connections
Edge
Kubernetes Connections Map of kubernetes cluster connection information.
- Id string
The provider-assigned unique ID for this managed resource.
- Nat
Gateway stringId The ID of nat gateway used to launch kubernetes cluster.
- Slb
Internet string The public ip of load balancer.
- Slb
Intranet string The ID of private load balancer where the current cluster master node is located.
- Vpc
Id string The ID of VPC where the current cluster is located.
- Worker
Nodes []EdgeKubernetes Worker Node List of cluster worker nodes.
- Worker
Ram stringRole Name The RamRole Name attached to worker node.
- Edge
Kubernetes Certificate Authority (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections
Edge
Kubernetes Connections Map of kubernetes cluster connection information.
- id String
The provider-assigned unique ID for this managed resource.
- nat
Gateway StringId The ID of nat gateway used to launch kubernetes cluster.
- slb
Internet String The public ip of load balancer.
- slb
Intranet String The ID of private load balancer where the current cluster master node is located.
- vpc
Id String The ID of VPC where the current cluster is located.
- worker
Nodes List<EdgeKubernetes Worker Node> List of cluster worker nodes.
- worker
Ram StringRole Name The RamRole Name attached to worker node.
- Edge
Kubernetes Certificate Authority (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections
Edge
Kubernetes Connections Map of kubernetes cluster connection information.
- id string
The provider-assigned unique ID for this managed resource.
- nat
Gateway stringId The ID of nat gateway used to launch kubernetes cluster.
- slb
Internet string The public ip of load balancer.
- slb
Intranet string The ID of private load balancer where the current cluster master node is located.
- vpc
Id string The ID of VPC where the current cluster is located.
- worker
Nodes EdgeKubernetes Worker Node[] List of cluster worker nodes.
- worker
Ram stringRole Name The RamRole Name attached to worker node.
- Edge
Kubernetes Certificate Authority (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections
Edge
Kubernetes Connections Map of kubernetes cluster connection information.
- id str
The provider-assigned unique ID for this managed resource.
- nat_
gateway_ strid The ID of nat gateway used to launch kubernetes cluster.
- slb_
internet str The public ip of load balancer.
- 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[EdgeKubernetes Worker Node] List of cluster worker nodes.
- worker_
ram_ strrole_ name The RamRole Name attached to worker node.
- Property Map
(Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections Property Map
Map of kubernetes cluster connection information.
- id String
The provider-assigned unique ID for this managed resource.
- nat
Gateway StringId The ID of nat gateway used to launch kubernetes cluster.
- slb
Internet String The public ip of load balancer.
- slb
Intranet String The ID of private load balancer where the current cluster master node is located.
- vpc
Id String The ID of VPC where the current cluster is located.
- worker
Nodes List<Property Map> List of cluster worker nodes.
- worker
Ram StringRole Name The RamRole Name attached to worker node.
Look up 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,
cluster_spec: 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,
load_balancer_spec: 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,
runtime: Optional[EdgeKubernetesRuntimeArgs] = 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_ram_role_name: Optional[str] = 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.
- Addons
List<Pulumi.
Ali Cloud. CS. Inputs. Edge Kubernetes Addon Args> The addon you want to install in cluster.
- Availability
Zone string The ID of availability zone.
- Pulumi.
Ali Cloud. CS. Inputs. Edge Kubernetes Certificate Authority Args (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- Client
Cert string The path of client certificate, like
~/.kube/client-cert.pem
.- Client
Key string The path of client key, like
~/.kube/client-key.pem
.- Cluster
Ca stringCert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- Cluster
Spec string The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- Connections
Pulumi.
Ali Cloud. CS. Inputs. Edge Kubernetes Connections Args Map of kubernetes cluster connection information.
- 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 boolMonitor Install cloud monitor agent on ECS. default:
true
.- Is
Enterprise boolSecurity Group Enable to create advanced security group. default: false. See Advanced security group.
- Key
Name 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.- Kube
Config string The path of kube config, like
~/.kube/config
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- Load
Balancer stringSpec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- Log
Config Pulumi.Ali Cloud. CS. Inputs. Edge Kubernetes Log Config Args A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- Name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- Name
Prefix string - Nat
Gateway stringId The ID of nat gateway used to launch kubernetes cluster.
- New
Nat boolGateway 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 intMask 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.- Pod
Cidr string [Flannel Specific] The CIDR block for the pod network when using Flannel.
- Proxy
Mode string Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
- Rds
Instances List<string> RDS instance list, You can choose which RDS instances whitelist to add instances to.
- Resource
Group stringId The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- Retain
Resources List<string> - Runtime
Pulumi.
Ali Cloud. CS. Inputs. Edge Kubernetes Runtime Args The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- Security
Group stringId 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 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.
- Slb
Internet string The public ip of load balancer.
- Slb
Internet boolEnabled Whether to create internet load balancer for API Server. Default to true.
- Slb
Intranet string The ID of private load balancer where the current cluster master node is located.
- Dictionary<string, object>
Default nil, A map of tags assigned to the kubernetes cluster and work node.
- User
Data 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.
- Vpc
Id string The ID of VPC where the current cluster is located.
- Worker
Data List<Pulumi.Disks Ali Cloud. CS. Inputs. Edge Kubernetes Worker Data Disk Args> The data disk configurations of worker nodes, such as the disk type and disk size.
- Worker
Disk stringCategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- Worker
Disk stringPerformance Level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- Worker
Disk intSize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- Worker
Disk stringSnapshot Policy Id Worker node system disk auto snapshot policy.
- Worker
Instance stringCharge Type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.- Worker
Instance List<string>Types The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
- Worker
Nodes List<Pulumi.Ali Cloud. CS. Inputs. Edge Kubernetes Worker Node Args> 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
Ram stringRole Name The RamRole Name attached to worker node.
- Worker
Vswitch List<string>Ids The vswitches used by workers.
- Addons
[]Edge
Kubernetes Addon Args The addon you want to install in cluster.
- Availability
Zone string The ID of availability zone.
- Edge
Kubernetes Certificate Authority Args (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- Client
Cert string The path of client certificate, like
~/.kube/client-cert.pem
.- Client
Key string The path of client key, like
~/.kube/client-key.pem
.- Cluster
Ca stringCert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- Cluster
Spec string The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- Connections
Edge
Kubernetes Connections Args Map of kubernetes cluster connection information.
- 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 boolMonitor Install cloud monitor agent on ECS. default:
true
.- Is
Enterprise boolSecurity Group Enable to create advanced security group. default: false. See Advanced security group.
- Key
Name 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.- Kube
Config string The path of kube config, like
~/.kube/config
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- Load
Balancer stringSpec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- Log
Config EdgeKubernetes Log Config Args A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- Name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- Name
Prefix string - Nat
Gateway stringId The ID of nat gateway used to launch kubernetes cluster.
- New
Nat boolGateway 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 intMask 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.- Pod
Cidr string [Flannel Specific] The CIDR block for the pod network when using Flannel.
- Proxy
Mode string Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
- Rds
Instances []string RDS instance list, You can choose which RDS instances whitelist to add instances to.
- Resource
Group stringId The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- Retain
Resources []string - Runtime
Edge
Kubernetes Runtime Args The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- Security
Group stringId 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 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.
- Slb
Internet string The public ip of load balancer.
- Slb
Internet boolEnabled Whether to create internet load balancer for API Server. Default to true.
- Slb
Intranet string The ID of private load balancer where the current cluster master node is located.
- map[string]interface{}
Default nil, A map of tags assigned to the kubernetes cluster and work node.
- User
Data 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.
- Vpc
Id string The ID of VPC where the current cluster is located.
- Worker
Data []EdgeDisks Kubernetes Worker Data Disk Args The data disk configurations of worker nodes, such as the disk type and disk size.
- Worker
Disk stringCategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- Worker
Disk stringPerformance Level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- Worker
Disk intSize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- Worker
Disk stringSnapshot Policy Id Worker node system disk auto snapshot policy.
- Worker
Instance stringCharge Type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.- Worker
Instance []stringTypes The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
- Worker
Nodes []EdgeKubernetes Worker Node Args 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
Ram stringRole Name The RamRole Name attached to worker node.
- Worker
Vswitch []stringIds The vswitches used by workers.
- addons
List<Edge
Kubernetes Addon Args> The addon you want to install in cluster.
- availability
Zone String The ID of availability zone.
- Edge
Kubernetes Certificate Authority Args (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- client
Cert String The path of client certificate, like
~/.kube/client-cert.pem
.- client
Key String The path of client key, like
~/.kube/client-key.pem
.- cluster
Ca StringCert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- cluster
Spec String The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- connections
Edge
Kubernetes Connections Args Map of kubernetes cluster connection information.
- deletion
Protection Boolean Whether to enable cluster deletion protection.
- force
Update Boolean 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 BooleanMonitor Install cloud monitor agent on ECS. default:
true
.- is
Enterprise BooleanSecurity Group Enable to create advanced security group. default: false. See Advanced security group.
- key
Name 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.- kube
Config String The path of kube config, like
~/.kube/config
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- load
Balancer StringSpec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- log
Config EdgeKubernetes Log Config Args A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- name String
The kubernetes cluster's name. It is unique in one Alicloud account.
- name
Prefix String - nat
Gateway StringId The ID of nat gateway used to launch kubernetes cluster.
- new
Nat BooleanGateway 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 IntegerMask 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.- pod
Cidr String [Flannel Specific] The CIDR block for the pod network when using Flannel.
- proxy
Mode String Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
- rds
Instances List<String> RDS instance list, You can choose which RDS instances whitelist to add instances to.
- resource
Group StringId The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- retain
Resources List<String> - runtime
Edge
Kubernetes Runtime Args The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- security
Group StringId 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 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.
- slb
Internet String The public ip of load balancer.
- slb
Internet BooleanEnabled Whether to create internet load balancer for API Server. Default to true.
- slb
Intranet String The ID of private load balancer where the current cluster master node is located.
- Map<String,Object>
Default nil, A map of tags assigned to the kubernetes cluster and work node.
- user
Data 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.
- vpc
Id String The ID of VPC where the current cluster is located.
- worker
Data List<EdgeDisks Kubernetes Worker Data Disk Args> The data disk configurations of worker nodes, such as the disk type and disk size.
- worker
Disk StringCategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- worker
Disk StringPerformance Level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- worker
Disk IntegerSize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- worker
Disk StringSnapshot Policy Id Worker node system disk auto snapshot policy.
- worker
Instance StringCharge Type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.- worker
Instance List<String>Types The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
- worker
Nodes List<EdgeKubernetes Worker Node Args> List of cluster worker nodes.
- worker
Number 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.
- worker
Ram StringRole Name The RamRole Name attached to worker node.
- worker
Vswitch List<String>Ids The vswitches used by workers.
- addons
Edge
Kubernetes Addon Args[] The addon you want to install in cluster.
- availability
Zone string The ID of availability zone.
- Edge
Kubernetes Certificate Authority Args (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- client
Cert string The path of client certificate, like
~/.kube/client-cert.pem
.- client
Key string The path of client key, like
~/.kube/client-key.pem
.- cluster
Ca stringCert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- cluster
Spec string The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- connections
Edge
Kubernetes Connections Args Map of kubernetes cluster connection information.
- deletion
Protection boolean Whether to enable cluster deletion protection.
- force
Update boolean 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 booleanMonitor Install cloud monitor agent on ECS. default:
true
.- is
Enterprise booleanSecurity Group Enable to create advanced security group. default: false. See Advanced security group.
- key
Name 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.- kube
Config string The path of kube config, like
~/.kube/config
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- load
Balancer stringSpec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- log
Config EdgeKubernetes Log Config Args A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- name
Prefix string - nat
Gateway stringId The ID of nat gateway used to launch kubernetes cluster.
- new
Nat booleanGateway 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 numberMask 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.- pod
Cidr string [Flannel Specific] The CIDR block for the pod network when using Flannel.
- proxy
Mode string Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
- rds
Instances string[] RDS instance list, You can choose which RDS instances whitelist to add instances to.
- resource
Group stringId The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- retain
Resources string[] - runtime
Edge
Kubernetes Runtime Args The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- security
Group stringId 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 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.
- slb
Internet string The public ip of load balancer.
- slb
Internet booleanEnabled Whether to create internet load balancer for API Server. Default to true.
- slb
Intranet string The ID of private load balancer where the current cluster master node is located.
- {[key: string]: any}
Default nil, A map of tags assigned to the kubernetes cluster and work node.
- user
Data 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.
- vpc
Id string The ID of VPC where the current cluster is located.
- worker
Data EdgeDisks Kubernetes Worker Data Disk Args[] The data disk configurations of worker nodes, such as the disk type and disk size.
- worker
Disk stringCategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- worker
Disk stringPerformance Level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- worker
Disk numberSize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- worker
Disk stringSnapshot Policy Id Worker node system disk auto snapshot policy.
- worker
Instance stringCharge Type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.- worker
Instance string[]Types The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
- worker
Nodes EdgeKubernetes Worker Node Args[] List of cluster worker nodes.
- worker
Number 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.
- worker
Ram stringRole Name The RamRole Name attached to worker node.
- worker
Vswitch string[]Ids The vswitches used by workers.
- addons
Sequence[Edge
Kubernetes Addon Args] The addon you want to install in cluster.
- availability_
zone str The ID of availability zone.
- Edge
Kubernetes Certificate Authority Args (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_ strcert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- cluster_
spec str The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- connections
Edge
Kubernetes Connections Args Map of kubernetes cluster connection information.
- 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_ boolmonitor Install cloud monitor agent on ECS. default:
true
.- is_
enterprise_ boolsecurity_ group 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
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- load_
balancer_ strspec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- log_
config EdgeKubernetes Log Config Args A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- name str
The kubernetes cluster's name. It is unique in one Alicloud account.
- name_
prefix str - nat_
gateway_ strid The ID of nat gateway used to launch kubernetes cluster.
- new_
nat_ boolgateway 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_ intmask 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] RDS instance list, You can choose which RDS instances whitelist to add instances to.
- resource_
group_ strid The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- retain_
resources Sequence[str] - runtime
Edge
Kubernetes Runtime Args The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- security_
group_ strid 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 The public ip of load balancer.
- slb_
internet_ boolenabled 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.
- 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_ Sequence[Edgedisks Kubernetes Worker Data Disk Args] The data disk configurations of worker nodes, such as the disk type and disk size.
- worker_
disk_ strcategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- worker_
disk_ strperformance_ level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- worker_
disk_ intsize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- worker_
disk_ strsnapshot_ policy_ id Worker node system disk auto snapshot policy.
- worker_
instance_ strcharge_ type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.- worker_
instance_ Sequence[str]types The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
- worker_
nodes Sequence[EdgeKubernetes Worker Node Args] 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_
ram_ strrole_ name The RamRole Name attached to worker node.
- worker_
vswitch_ Sequence[str]ids The vswitches used by workers.
- addons List<Property Map>
The addon you want to install in cluster.
- availability
Zone String The ID of availability zone.
- Property Map
(Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- client
Cert String The path of client certificate, like
~/.kube/client-cert.pem
.- client
Key String The path of client key, like
~/.kube/client-key.pem
.- cluster
Ca StringCert The path of cluster ca certificate, like
~/.kube/cluster-ca-cert.pem
- cluster
Spec String The cluster specifications of kubernetes cluster,which can be empty. Valid values:
- ack.standard : Standard edge clusters.
- ack.pro.small : Professional edge clusters.
- connections Property Map
Map of kubernetes cluster connection information.
- deletion
Protection Boolean Whether to enable cluster deletion protection.
- force
Update Boolean 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 BooleanMonitor Install cloud monitor agent on ECS. default:
true
.- is
Enterprise BooleanSecurity Group Enable to create advanced security group. default: false. See Advanced security group.
- key
Name 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.- kube
Config String The path of kube config, like
~/.kube/config
.Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
- load
Balancer StringSpec The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see SLB instance overview.
- log
Config Property Map A list of one element containing information about the associated log store. It contains the following attributes:
Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
- name String
The kubernetes cluster's name. It is unique in one Alicloud account.
- name
Prefix String - nat
Gateway StringId The ID of nat gateway used to launch kubernetes cluster.
- new
Nat BooleanGateway 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 NumberMask 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.- pod
Cidr String [Flannel Specific] The CIDR block for the pod network when using Flannel.
- proxy
Mode String Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
- rds
Instances List<String> RDS instance list, You can choose which RDS instances whitelist to add instances to.
- resource
Group StringId The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
- retain
Resources List<String> - runtime Property Map
The runtime of containers. If you select another container runtime, see Comparison of Docker, containerd, and Sandboxed-Container. Detailed below.
- security
Group StringId 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 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.
- slb
Internet String The public ip of load balancer.
- slb
Internet BooleanEnabled Whether to create internet load balancer for API Server. Default to true.
- slb
Intranet String The ID of private load balancer where the current cluster master node is located.
- Map<Any>
Default nil, A map of tags assigned to the kubernetes cluster and work node.
- user
Data 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.
- vpc
Id String The ID of VPC where the current cluster is located.
- worker
Data List<Property Map>Disks The data disk configurations of worker nodes, such as the disk type and disk size.
- worker
Disk StringCategory The system disk category of worker node. Its valid value are
cloud_efficiency
,cloud_ssd
andcloud_essd
and . Default tocloud_efficiency
.- worker
Disk StringPerformance Level Worker node system disk performance level, when
worker_disk_category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- worker
Disk NumberSize The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
- worker
Disk StringSnapshot Policy Id Worker node system disk auto snapshot policy.
- worker
Instance StringCharge Type Worker payment type, its valid value is
PostPaid
. Defaults toPostPaid
. More charge details in ACK@edge charge.- worker
Instance List<String>Types The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
- worker
Nodes List<Property Map> List of cluster worker nodes.
- worker
Number 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.
- worker
Ram StringRole Name The RamRole Name attached to worker node.
- worker
Vswitch List<String>Ids The vswitches used by workers.
Supporting Types
EdgeKubernetesAddon
EdgeKubernetesCertificateAuthority
- Client
Cert string The path of client certificate, like
~/.kube/client-cert.pem
.- Client
Key string The path of client key, like
~/.kube/client-key.pem
.- Cluster
Cert 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 string The path of client certificate, like
~/.kube/client-cert.pem
.- Client
Key string The path of client key, like
~/.kube/client-key.pem
.- Cluster
Cert 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 String The path of client certificate, like
~/.kube/client-cert.pem
.- client
Key String The path of client key, like
~/.kube/client-key.pem
.- cluster
Cert 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 string The path of client certificate, like
~/.kube/client-cert.pem
.- client
Key string The path of client key, like
~/.kube/client-key.pem
.- cluster
Cert 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.
- client
Cert String The path of client certificate, like
~/.kube/client-cert.pem
.- client
Key String The path of client key, like
~/.kube/client-key.pem
.- cluster
Cert 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
- Api
Server stringInternet API Server Internet endpoint.
- Api
Server stringIntranet API Server Intranet endpoint.
- Master
Public stringIp Master node SSH IP address.
- Service
Domain string Service Access Domain.
- Api
Server stringInternet API Server Internet endpoint.
- Api
Server stringIntranet API Server Intranet endpoint.
- Master
Public stringIp Master node SSH IP address.
- Service
Domain string Service Access Domain.
- api
Server StringInternet API Server Internet endpoint.
- api
Server StringIntranet API Server Intranet endpoint.
- master
Public StringIp Master node SSH IP address.
- service
Domain String Service Access Domain.
- api
Server stringInternet API Server Internet endpoint.
- api
Server stringIntranet API Server Intranet endpoint.
- master
Public stringIp Master node SSH IP address.
- service
Domain string Service Access Domain.
- api_
server_ strinternet API Server Internet endpoint.
- api_
server_ strintranet API Server Intranet endpoint.
- master_
public_ strip Master node SSH IP address.
- service_
domain str Service Access Domain.
- api
Server StringInternet API Server Internet endpoint.
- api
Server StringIntranet API Server Intranet endpoint.
- master
Public StringIp Master node SSH IP address.
- service
Domain String Service Access Domain.
EdgeKubernetesLogConfig
EdgeKubernetesRuntime
- Name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- 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.
- Name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- 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.
- name String
The kubernetes cluster's name. It is unique in one Alicloud account.
- 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.
- name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- 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.
- name str
The kubernetes cluster's name. It is unique in one Alicloud account.
- 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.
- name String
The kubernetes cluster's name. It is unique in one Alicloud account.
- 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.
EdgeKubernetesWorkerDataDisk
- Auto
Snapshot stringPolicy Id Worker node data disk auto snapshot policy.
- Category string
The type of the data disks. Valid values:
cloud
,cloud_efficiency
,cloud_ssd
andcloud_essd
. Default tocloud_efficiency
.- Device string
- Encrypted string
Specifies whether to encrypt data disks. Valid values: true and false. Default is
false
.- Kms
Key stringId - Name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- Performance
Level string Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- Size string
The size of a data disk, at least 40. Unit: GiB.
- Snapshot
Id string
- Auto
Snapshot stringPolicy Id Worker node data disk auto snapshot policy.
- Category string
The type of the data disks. Valid values:
cloud
,cloud_efficiency
,cloud_ssd
andcloud_essd
. Default tocloud_efficiency
.- Device string
- Encrypted string
Specifies whether to encrypt data disks. Valid values: true and false. Default is
false
.- Kms
Key stringId - Name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- Performance
Level string Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- Size string
The size of a data disk, at least 40. Unit: GiB.
- Snapshot
Id string
- auto
Snapshot StringPolicy Id Worker node data disk auto snapshot policy.
- category String
The type of the data disks. Valid values:
cloud
,cloud_efficiency
,cloud_ssd
andcloud_essd
. Default tocloud_efficiency
.- device String
- encrypted String
Specifies whether to encrypt data disks. Valid values: true and false. Default is
false
.- kms
Key StringId - name String
The kubernetes cluster's name. It is unique in one Alicloud account.
- performance
Level String Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- size String
The size of a data disk, at least 40. Unit: GiB.
- snapshot
Id String
- auto
Snapshot stringPolicy Id Worker node data disk auto snapshot policy.
- category string
The type of the data disks. Valid values:
cloud
,cloud_efficiency
,cloud_ssd
andcloud_essd
. Default tocloud_efficiency
.- device string
- encrypted string
Specifies whether to encrypt data disks. Valid values: true and false. Default is
false
.- kms
Key stringId - name string
The kubernetes cluster's name. It is unique in one Alicloud account.
- performance
Level string Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- size string
The size of a data disk, at least 40. Unit: GiB.
- snapshot
Id string
- auto_
snapshot_ strpolicy_ id Worker node data disk auto snapshot policy.
- category str
The type of the data disks. Valid values:
cloud
,cloud_efficiency
,cloud_ssd
andcloud_essd
. Default tocloud_efficiency
.- device str
- encrypted str
Specifies whether to encrypt data disks. Valid values: true and false. Default is
false
.- kms_
key_ strid - 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
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- size str
The size of a data disk, at least 40. Unit: GiB.
- snapshot_
id str
- auto
Snapshot StringPolicy Id Worker node data disk auto snapshot policy.
- category String
The type of the data disks. Valid values:
cloud
,cloud_efficiency
,cloud_ssd
andcloud_essd
. Default tocloud_efficiency
.- device String
- encrypted String
Specifies whether to encrypt data disks. Valid values: true and false. Default is
false
.- kms
Key StringId - name String
The kubernetes cluster's name. It is unique in one Alicloud account.
- performance
Level String Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity. For more information, see Enhanced SSDs. Default isPL1
.- size String
The size of a data disk, at least 40. Unit: GiB.
- snapshot
Id String
EdgeKubernetesWorkerNode
- 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.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.