Skip to content

Managed Clusters

CNO provides integration with cloud providers to help I.T. teams manage Kubernetes clusters such as EKS, AKS, GKE, and others. At CNO, we call them managed clusters because Cloud Providers provide API to automate certain operations like cluster creation.

So for those types of clusters, it is possible to create clusters directly from CNO through the APIs provided by the Cloud Providers. This action gives CNO complete control over chosen clusters.

In this guide, we'll go through adding already existing clusters to CNO.

Adding Existing Clusters to CNO

You can add existing clusters to CNO using either the CNO UI or the CNOCTL.

Prerequistes

  • An added Cloud Provider

Adding Cloud Providers To CNO

Head over to the Configuration - Cloud Providers for a guide-through on adding cloud providers to CNO.

Adding Existing Clusters Using CNO UI.

Head over to CNO Hub located at the Top-Right Corner of your CNO UI Dashboard.

You'll find a graph detailing the CPU and Memory Utilization of your Clusters.

Tap the Big Red Button at the top-left corner labeled "Add new Cluster to CNO Hub"

You'll be presented with two choices:

  • Boosted Integration - You can integrate clusters from previously added cloud providers.

  • Standard Integration - You can choose this if you wish to integrate any kubernetes clusters.

Boosted and Standard Integration

Select any of the cloud providers you've previously added and click the top-right blue "Add existing cluster" button.

The "Advanced Registration" the Green Arrow is pointing to will lead you to the the Standard Integration if you wish to add a kubernetes cluster.

If you haven't already added a cloud provider to CNO, head over to Configuration - Cloud Providers for a guide through on adding a cloud provider.

A dialog box will pop up listing all existing clusters in your cloud provider. You can choose one and then click the Blue "Add" Button.

To add Kubernetes Clusters. Fill out the cluster form:

  1. Name - Write a name for your cluster.

  2. Type - The type of kubernetes cluster you're adding.

  3. The API Server URL.

Adding Existing Clusters using CNOCTL You can also add existing clusters using the cnoctl. You just need to run the command below with the required flags.

Command.

cnoctl adm add managed-cluster [--flags]
Supported Flags.

cloud-provider: The name of your cloud provider hosting your cluster you've previously added. (Required)

Info

Refer to Configuration - Cloud Providers if you haven't added a cloud provider.

cluster-name: The name of your cluster. (Required)

region: The region your cluster is hosted in. (Required)

Now, you can check if your cluster is ready for mangagement by running the command below:

cnoctl adm get custom-cluster <CustomClusterName>
You should find a table like below. Your cluster status should be active.

NAME REGION STATUS
CustomClusterName *** ACTIVE

Last update: 2022-11-24