Alibaba Cloud
EdgeKubernetes
Import
Kubernetes cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of terraform plan
$ pulumi import alicloud:cs/edgeKubernetes:EdgeKubernetes alicloud_cs_edge_kubernetes.main cluster-id
Create a EdgeKubernetes Resource
new EdgeKubernetes(name: string, args: EdgeKubernetesArgs, opts?: CustomResourceOptions);
@overload
def EdgeKubernetes(resource_name: str,
opts: Optional[ResourceOptions] = None,
addons: Optional[Sequence[EdgeKubernetesAddonArgs]] = None,
availability_zone: Optional[str] = None,
client_cert: Optional[str] = None,
client_key: Optional[str] = None,
cluster_ca_cert: Optional[str] = None,
deletion_protection: Optional[bool] = None,
force_update: Optional[bool] = None,
install_cloud_monitor: Optional[bool] = None,
is_enterprise_security_group: Optional[bool] = None,
key_name: Optional[str] = None,
kube_config: Optional[str] = None,
log_config: Optional[EdgeKubernetesLogConfigArgs] = None,
name: Optional[str] = None,
name_prefix: Optional[str] = None,
new_nat_gateway: Optional[bool] = None,
node_cidr_mask: Optional[int] = None,
password: Optional[str] = None,
pod_cidr: Optional[str] = None,
proxy_mode: Optional[str] = None,
rds_instances: Optional[Sequence[str]] = None,
resource_group_id: Optional[str] = None,
retain_resources: Optional[Sequence[str]] = None,
security_group_id: Optional[str] = None,
service_cidr: Optional[str] = None,
slb_internet_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, Any]] = None,
user_data: Optional[str] = None,
version: Optional[str] = None,
worker_data_disks: Optional[Sequence[EdgeKubernetesWorkerDataDiskArgs]] = None,
worker_disk_category: Optional[str] = None,
worker_disk_performance_level: Optional[str] = None,
worker_disk_size: Optional[int] = None,
worker_disk_snapshot_policy_id: Optional[str] = None,
worker_instance_charge_type: Optional[str] = None,
worker_instance_types: Optional[Sequence[str]] = None,
worker_number: Optional[int] = None,
worker_vswitch_ids: Optional[Sequence[str]] = None)
@overload
def EdgeKubernetes(resource_name: str,
args: EdgeKubernetesArgs,
opts: Optional[ResourceOptions] = None)
func NewEdgeKubernetes(ctx *Context, name string, args EdgeKubernetesArgs, opts ...ResourceOption) (*EdgeKubernetes, error)
public EdgeKubernetes(string name, EdgeKubernetesArgs args, CustomResourceOptions? opts = null)
public EdgeKubernetes(String name, EdgeKubernetesArgs args)
public EdgeKubernetes(String name, EdgeKubernetesArgs args, CustomResourceOptions options)
type: alicloud:cs:EdgeKubernetes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgeKubernetesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EdgeKubernetesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EdgeKubernetesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgeKubernetesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EdgeKubernetesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EdgeKubernetes Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EdgeKubernetes resource accepts the following input properties:
- 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 - Addons
List<Pulumi.
Ali Cloud. CS. Inputs. Edge Kubernetes Addon Args> - 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
- 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
.- Log
Config Pulumi.Ali Cloud. CS. Inputs. Edge Kubernetes Log Config Args - 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> - 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> - 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
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 - Addons
[]Edge
Kubernetes Addon Args - 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
- 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
.- Log
Config EdgeKubernetes Log Config Args - 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 - 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 - 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
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 - addons
List<Edge
Kubernetes Addon Args> - 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
- 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
.- log
Config EdgeKubernetes Log Config Args - 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> - 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> - 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
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 - addons
Edge
Kubernetes Addon Args[] - 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
- 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
.- log
Config EdgeKubernetes Log Config Args - 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[] - 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[] - 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_
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 - addons
Sequence[Edge
Kubernetes Addon Args] - 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
- 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
.- log_
config EdgeKubernetes Log Config Args - 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] - 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] - 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
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 - addons List<Property Map>
- 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
- 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
.- log
Config Property Map - 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> - 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> - 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
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 - 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 - 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.
- Edge
Kubernetes Certificate Authority (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- Connections
Edge
Kubernetes Connections - 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 - 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.
- Edge
Kubernetes Certificate Authority (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections
Edge
Kubernetes Connections - 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 - 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.
- Edge
Kubernetes Certificate Authority (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections
Edge
Kubernetes Connections - 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 - 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.
- Edge
Kubernetes Certificate Authority (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections
Edge
Kubernetes Connections - 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 - 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.
- Property Map
(Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
- connections Property Map
- id String
The provider-assigned unique ID for this managed resource.
- nat
Gateway StringId The ID of nat gateway used to launch kubernetes cluster.
- slb
Internet String - 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.
Look up an Existing EdgeKubernetes Resource
Get an existing EdgeKubernetes resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EdgeKubernetesState, opts?: CustomResourceOptions): EdgeKubernetes
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addons: Optional[Sequence[EdgeKubernetesAddonArgs]] = None,
availability_zone: Optional[str] = None,
certificate_authority: Optional[EdgeKubernetesCertificateAuthorityArgs] = None,
client_cert: Optional[str] = None,
client_key: Optional[str] = None,
cluster_ca_cert: Optional[str] = None,
connections: Optional[EdgeKubernetesConnectionsArgs] = None,
deletion_protection: Optional[bool] = None,
force_update: Optional[bool] = None,
install_cloud_monitor: Optional[bool] = None,
is_enterprise_security_group: Optional[bool] = None,
key_name: Optional[str] = None,
kube_config: Optional[str] = None,
log_config: Optional[EdgeKubernetesLogConfigArgs] = None,
name: Optional[str] = None,
name_prefix: Optional[str] = None,
nat_gateway_id: Optional[str] = None,
new_nat_gateway: Optional[bool] = None,
node_cidr_mask: Optional[int] = None,
password: Optional[str] = None,
pod_cidr: Optional[str] = None,
proxy_mode: Optional[str] = None,
rds_instances: Optional[Sequence[str]] = None,
resource_group_id: Optional[str] = None,
retain_resources: Optional[Sequence[str]] = None,
security_group_id: Optional[str] = None,
service_cidr: Optional[str] = None,
slb_internet: Optional[str] = None,
slb_internet_enabled: Optional[bool] = None,
slb_intranet: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
user_data: Optional[str] = None,
version: Optional[str] = None,
vpc_id: Optional[str] = None,
worker_data_disks: Optional[Sequence[EdgeKubernetesWorkerDataDiskArgs]] = None,
worker_disk_category: Optional[str] = None,
worker_disk_performance_level: Optional[str] = None,
worker_disk_size: Optional[int] = None,
worker_disk_snapshot_policy_id: Optional[str] = None,
worker_instance_charge_type: Optional[str] = None,
worker_instance_types: Optional[Sequence[str]] = None,
worker_nodes: Optional[Sequence[EdgeKubernetesWorkerNodeArgs]] = None,
worker_number: Optional[int] = None,
worker_vswitch_ids: Optional[Sequence[str]] = None) -> EdgeKubernetes
func GetEdgeKubernetes(ctx *Context, name string, id IDInput, state *EdgeKubernetesState, opts ...ResourceOption) (*EdgeKubernetes, error)
public static EdgeKubernetes Get(string name, Input<string> id, EdgeKubernetesState? state, CustomResourceOptions? opts = null)
public static EdgeKubernetes get(String name, Output<String> id, EdgeKubernetesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Addons
List<Pulumi.
Ali Cloud. CS. Inputs. Edge Kubernetes Addon Args> - 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
- Connections
Pulumi.
Ali Cloud. CS. Inputs. Edge Kubernetes Connections Args - 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
.- Log
Config Pulumi.Ali Cloud. CS. Inputs. Edge Kubernetes Log Config Args - 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> - 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> - 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 - 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
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
Vswitch List<string>Ids
- Addons
[]Edge
Kubernetes Addon Args - 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
- Connections
Edge
Kubernetes Connections Args - 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
.- Log
Config EdgeKubernetes Log Config Args - 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 - 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 - 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 - 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
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
Vswitch []stringIds
- addons
List<Edge
Kubernetes Addon Args> - 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
- connections
Edge
Kubernetes Connections Args - 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
.- log
Config EdgeKubernetes Log Config Args - 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> - 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> - 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 - 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
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
Vswitch List<String>Ids
- addons
Edge
Kubernetes Addon Args[] - 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
- connections
Edge
Kubernetes Connections Args - 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
.- log
Config EdgeKubernetes Log Config Args - 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[] - 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[] - 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 - 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
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
Vswitch string[]Ids
- addons
Sequence[Edge
Kubernetes Addon Args] - 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
- connections
Edge
Kubernetes Connections Args - 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
.- log_
config EdgeKubernetes Log Config Args - 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] - 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] - 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 - 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_
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_
vswitch_ Sequence[str]ids
- addons List<Property Map>
- 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
- connections Property Map
- 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
.- log
Config Property Map - 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> - 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> - 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 - 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
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
Vswitch List<String>Ids
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 stringIntranet - Master
Public stringIp - Service
Domain string
- Api
Server stringInternet - Api
Server stringIntranet - Master
Public stringIp - Service
Domain string
- api
Server StringInternet - api
Server StringIntranet - master
Public StringIp - service
Domain String
- api
Server stringInternet - api
Server stringIntranet - master
Public stringIp - service
Domain string
- api
Server StringInternet - api
Server StringIntranet - master
Public StringIp - service
Domain String
EdgeKubernetesLogConfig
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
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.