This section describes how to import and manage KubeOne clusters in KKP. We can import/connect an existing KubeOne cluster. Imported Cluster can be viewed and edited.
Currently Supported Providers:
The following requirements must be met to import a KubeOne cluster:
kubeone config dump -m kubeone.yaml -t tf.json
from your KubeOne terraform directory.For more information on the KubeOne configuration for different environments, checkout the Creating the Kubernetes Cluster using KubeOne documentation.
KKP allows connecting any existing KubeOne cluster of supported provider to view and edit the cluster’s current state.
KubeOne Clusters
page and Click the Import KubeOne Cluster
button.After the cluster has been imported, we can see the details of the cluster in the dashboard.
After the cluster is imported, the KKP controller retrieves the cluster kubeconfig to display all necessary information.
A healthy cluster has Running
state. Move the mouse cursor over the state indicator to get more details.
KKP supports latest KubeOne code hence supported Kubernetes version has to be ‘>= 1.24’. If your cluster is running an older Kubernetes version, an older KubeOne version has to be used to upgrade your cluster to a supported version first. Please refer to the KubeOne Compatibility section docs for more details.
When an upgrade for the cluster is available, a little dropdown arrow will be shown beside the Control Plane Version
on the cluster’s page.
To start the upgrade, choose the desired version from the list of available upgrade versions and click on Change Version
.
If the version upgrade is valid, the cluster state will change to Reconciling
.
Kubelet version on the worker nodes managed by Machine Deployments can be updated as follows:
Navigate to the cluster overview, scroll down to machine deployments.
Click on the edit icon next to the machine deployment we want to edit.
Disconnect operation does not delete the cluster from the cloud provider.
We can Disconnect
a KubeOne cluster by clicking on the disconnect icon next to the cluster we want to disconnect or from the cluster details page.
To Troubleshoot a failing imported cluster we can Pause
cluster by editing the external cluster CR.
# set externalcluster.spec.pause=true
kubectl edit externalcluster xxxxxxxxxx
Once we are done, we can reset the pause
flag on the externalcluster:
# set externalcluster.spec.pause=false
kubectl edit externalcluster xxxxxxxxxx