Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-tencentcloud.Go to Latest
crossplane-contrib/provider-tencentcloud@v0.8.1
Cluster
tke.tencentcloud.crossplane.io
Cluster
crossplane-contrib/provider-tencentcloud@v0.8.1tke.tencentcloud.crossplane.io

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

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

ClusterSpec defines the desired state of Cluster

forProvider
requiredobject
requiredobject

No description provided.

array

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.

array

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.

array

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.

array

The customized parameters for kube-apiserver. The customized parameters for kube-apiserver.

array

The customized parameters for kube-controller-manager. The customized parameters for kube-controller-manager.

array

The customized parameters for kube-scheduler. The customized parameters for kube-scheduler.

clusterOs
string
array

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.

array

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.

array

create tke cluster by existed instances. create tke cluster by existed instances.

array

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.

array

Reinstallation parameters of an existing instance. Reinstallation parameters of an existing instance.

array

Cluster IDs. Cluster IDs.

nodeRole
string
array

Information of the add-on to be installed. Information of the add-on to be installed.

name
string
param
string
array

Custom parameter information related to the node. Custom parameter information related to the node.

labels
object
array

Specify cluster log agent config. Specify cluster log agent config.

array

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.

array

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.

count
number
array

Configurations of data disk. Configurations of data disk.

array

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.

hostname
string
imgId
string
keyIds
array
array

ID list of keys, should be set if password not set. ID list of keys, should be set if password not set.

object

Password to access, should be set if key_ids not set. Password to access, should be set if key_ids not set.

key
requiredstring
name
requiredstring
namespace
requiredstring
array

Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.

subnetId
string
userData
string
array

Global config effective for all node pools. Global config effective for all node pools.

projectId
number
tags
object
vpcId
string
vpcIdRef
object
object

Reference to a VPC in vpc to populate vpcId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a VPC in vpc to populate vpcId.

policy
object
object

Policies for selection.

resolve
string
array

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_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_worker'.

count
number
array

Configurations of data disk. Configurations of data disk.

array

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.

hostname
string
imgId
string
keyIds
array
array

ID list of keys, should be set if password not set. ID list of keys, should be set if password not set.

object

Password to access, should be set if key_ids not set. Password to access, should be set if key_ids not set.

key
requiredstring
name
requiredstring
namespace
requiredstring
array

Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.

subnetId
string
userData
string
object

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.

array

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.

array

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.

array

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.

array

The customized parameters for kube-apiserver. The customized parameters for kube-apiserver.

array

The customized parameters for kube-controller-manager. The customized parameters for kube-controller-manager.

array

The customized parameters for kube-scheduler. The customized parameters for kube-scheduler.

clusterOs
string
array

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.

array

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.

array

create tke cluster by existed instances. create tke cluster by existed instances.

array

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.

array

Reinstallation parameters of an existing instance. Reinstallation parameters of an existing instance.

array

Cluster IDs. Cluster IDs.

nodeRole
string
array

Information of the add-on to be installed. Information of the add-on to be installed.

name
string
param
string
array

Custom parameter information related to the node. Custom parameter information related to the node.

labels
object
array

Specify cluster log agent config. Specify cluster log agent config.

array

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.

array

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.

count
number
array

Configurations of data disk. Configurations of data disk.

array

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.

hostname
string
imgId
string
keyIds
array
array

ID list of keys, should be set if password not set. ID list of keys, should be set if password not set.

array

Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.

subnetId
string
userData
string
array

Global config effective for all node pools. Global config effective for all node pools.

projectId
number
tags
object
vpcId
string
vpcIdRef
object
object

Reference to a VPC in vpc to populate vpcId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a VPC in vpc to populate vpcId.

policy
object
object

Policies for selection.

resolve
string
array

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_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_worker'.

count
number
array

Configurations of data disk. Configurations of data disk.

array

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.

hostname
string
imgId
string
keyIds
array
array

ID list of keys, should be set if password not set. ID list of keys, should be set if password not set.

array

Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.

subnetId
string
userData
string
array

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

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

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.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

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.

name
requiredstring
namespace
requiredstring
status
object
object

ClusterStatus defines the observed state of Cluster.

object

No description provided.

array

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.

array

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.

array

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.

array

The customized parameters for kube-apiserver. The customized parameters for kube-apiserver.

array

The customized parameters for kube-controller-manager. The customized parameters for kube-controller-manager.

array

The customized parameters for kube-scheduler. The customized parameters for kube-scheduler.

clusterOs
string
domain
string
array

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.

array

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.

array

create tke cluster by existed instances. create tke cluster by existed instances.

array

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.

array

Reinstallation parameters of an existing instance. Reinstallation parameters of an existing instance.

array

Cluster IDs. Cluster IDs.

nodeRole
string
array

Information of the add-on to be installed. Information of the add-on to be installed.

name
string
param
string
array

Custom parameter information related to the node. Custom parameter information related to the node.

id
string
labels
object
array

Specify cluster log agent config. Specify cluster log agent config.

array

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.

array

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.

count
number
array

Configurations of data disk. Configurations of data disk.

array

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.

hostname
string
imgId
string
keyIds
array
array

ID list of keys, should be set if password not set. ID list of keys, should be set if password not set.

array

Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.

subnetId
string
userData
string
array

Global config effective for all node pools. Global config effective for all node pools.

password
string
projectId
number
array

Access policy. Access policy.

tags
object
userName
string
vpcId
string
array

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_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_worker'.

count
number
array

Configurations of data disk. Configurations of data disk.

array

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.

hostname
string
imgId
string
keyIds
array
array

ID list of keys, should be set if password not set. ID list of keys, should be set if password not set.

array

Security groups to which a CVM instance belongs. Security groups to which a CVM instance belongs.

subnetId
string
userData
string
array

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:

array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.