Cluster is the Schema for the Clusters API. Provide a resource to create a kubernetes cluster.
Type
CRD
Group
tke.tencentcloud.crossplane.io
Version
v1alpha1
apiVersion: tke.tencentcloud.crossplane.io/v1alpha1
kind: Cluster
ClusterSpec defines the desired state of Cluster
No description provided.
Specify cluster authentication configuration. Only available for managed cluster and cluster_version >= 1.20.
Specify cluster authentication configuration. Only available for managed cluster and cluster_version
>= 1.20.
Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler. Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
The customized parameters for kube-apiserver. The customized parameters for kube-apiserver.
The customized parameters for kube-controller-manager. The customized parameters for kube-controller-manager.
The customized parameters for kube-scheduler. The customized parameters for kube-scheduler.
Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field network_type is 'VPC-CNI'. eni_subnet_ids can not empty once be set.
Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field network_type
is 'VPC-CNI'. eni_subnet_ids
can not empty once be set.
Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
create tke cluster by existed instances. create tke cluster by existed instances.
Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter. Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
Reinstallation parameters of an existing instance. Reinstallation parameters of an existing instance.
Cluster IDs. Cluster IDs.
Custom parameter information related to the node. Custom parameter information related to the node.
Specify cluster log agent config. Specify cluster log agent config.
this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.
Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type
is 'MANAGED_CLUSTER' and cluster_internet
is true. managed_cluster_internet_security_policies
can not delete or empty once be set.
Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users. Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
Configurations of data disk. Configurations of data disk.
Disaster recover groups to which a CVM instance belongs. Only support maximum 1. Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
ID list of keys, should be set if password not set.
ID list of keys, should be set if password
not set.
Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.
Global config effective for all node pools. Global config effective for all node pools.
Reference to a VPC in vpc to populate vpcId.
Policies for referencing.
Selector for a VPC in vpc to populate vpcId.
Policies for selection.
Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_scale_worker'. Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_scale_worker'.
Configurations of data disk. Configurations of data disk.
Disaster recover groups to which a CVM instance belongs. Only support maximum 1. Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
ID list of keys, should be set if password not set.
ID list of keys, should be set if password
not set.
Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.
THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
Specify cluster authentication configuration. Only available for managed cluster and cluster_version >= 1.20.
Specify cluster authentication configuration. Only available for managed cluster and cluster_version
>= 1.20.
Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler. Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
The customized parameters for kube-apiserver. The customized parameters for kube-apiserver.
The customized parameters for kube-controller-manager. The customized parameters for kube-controller-manager.
The customized parameters for kube-scheduler. The customized parameters for kube-scheduler.
Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field network_type is 'VPC-CNI'. eni_subnet_ids can not empty once be set.
Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field network_type
is 'VPC-CNI'. eni_subnet_ids
can not empty once be set.
Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
create tke cluster by existed instances. create tke cluster by existed instances.
Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter. Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
Reinstallation parameters of an existing instance. Reinstallation parameters of an existing instance.
Cluster IDs. Cluster IDs.
Custom parameter information related to the node. Custom parameter information related to the node.
Specify cluster log agent config. Specify cluster log agent config.
this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.
Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type
is 'MANAGED_CLUSTER' and cluster_internet
is true. managed_cluster_internet_security_policies
can not delete or empty once be set.
Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users. Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
Configurations of data disk. Configurations of data disk.
Disaster recover groups to which a CVM instance belongs. Only support maximum 1. Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
ID list of keys, should be set if password not set.
ID list of keys, should be set if password
not set.
Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.
Global config effective for all node pools. Global config effective for all node pools.
Reference to a VPC in vpc to populate vpcId.
Policies for referencing.
Selector for a VPC in vpc to populate vpcId.
Policies for selection.
Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_scale_worker'. Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_scale_worker'.
Configurations of data disk. Configurations of data disk.
Disaster recover groups to which a CVM instance belongs. Only support maximum 1. Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
ID list of keys, should be set if password not set.
ID list of keys, should be set if password
not set.
Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
ClusterStatus defines the observed state of Cluster.
No description provided.
Specify cluster authentication configuration. Only available for managed cluster and cluster_version >= 1.20.
Specify cluster authentication configuration. Only available for managed cluster and cluster_version
>= 1.20.
Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler. Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
The customized parameters for kube-apiserver. The customized parameters for kube-apiserver.
The customized parameters for kube-controller-manager. The customized parameters for kube-controller-manager.
The customized parameters for kube-scheduler. The customized parameters for kube-scheduler.
Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field network_type is 'VPC-CNI'. eni_subnet_ids can not empty once be set.
Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field network_type
is 'VPC-CNI'. eni_subnet_ids
can not empty once be set.
Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
create tke cluster by existed instances. create tke cluster by existed instances.
Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter. Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
Reinstallation parameters of an existing instance. Reinstallation parameters of an existing instance.
Cluster IDs. Cluster IDs.
Custom parameter information related to the node. Custom parameter information related to the node.
Specify cluster log agent config. Specify cluster log agent config.
this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.
Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type
is 'MANAGED_CLUSTER' and cluster_internet
is true. managed_cluster_internet_security_policies
can not delete or empty once be set.
Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users. Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
Configurations of data disk. Configurations of data disk.
Disaster recover groups to which a CVM instance belongs. Only support maximum 1. Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
ID list of keys, should be set if password not set.
ID list of keys, should be set if password
not set.
Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.
Global config effective for all node pools. Global config effective for all node pools.
Access policy. Access policy.
Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_scale_worker'. Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_scale_worker'.
Configurations of data disk. Configurations of data disk.
Disaster recover groups to which a CVM instance belongs. Only support maximum 1. Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
ID list of keys, should be set if password not set.
ID list of keys, should be set if password
not set.
Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.
An information list of cvm within the 'WORKER' clusters. Each element contains the following attributes: An information list of cvm within the 'WORKER' clusters. Each element contains the following attributes:
Conditions of the resource.