This section describes how to add and manage existing Kubernetes clusters known as external clusters in KKP. You can import or connect a cluster.
The KKP platform uses existing kubeconfig or generates the new one from the cloud provider API. The KKP backend takes advantage of this kubeconfig to retrieve the cluster’s information, nodes, metrics, and events. Every cluster update is performed only by the cloud provider client. There is no need to install any agent on the cloud provider side.
The following requirements must be met to add an external Kubernetes cluster:
To import a new external cluster go to Clusters
-> External Clusters
and click the Import External Cluster
button.
Select the Kubernetes cloud provider. You can add the following external clusters:
To connect a cluster from any provider, click on Any Provider
and provide the cluster name and kubeconfig.
You can then see the details of the cluster.
You can view the current state of your cluster by hovering the cursor over the small circle on the left of the cluster name.
Provisioning state depicts that the cluster is getting created:
Reconciling state depicts that the cluster is getting upgraded:
If you delete the cluster from the provider, the state in KKP will be shown as Deleting
.
You can Disconnect
the deleted cluster by clicking on the disconnect icon next to the cluster you want to disconnect, which will delete internal cluster object in KKP.