Skip to content

Cloud Providers

CNO supports several cloud providers. We use the cloud providers to get the Kubernetes clusters we want to manage through CNO. The cloud providers currently available in CNO are AWS, Azure, and Google Cloud. Since they are all different, each of them will have its configuration.

To add cloud providers, you can do so through either the CNO UI or the CNO Command Line Interface (CNOCTL).

Adding Cloud Providers Through CNO UI

To add cloud providers through the CNO UI,

Step 1: Go to Parameters then Cloud Providers

Step 2: Click on the red Add New Cloud Provider button on the top right corner.

You'll be taken to a Dialog Pop-Up like this, choose the appropriate one:

Integrate your cloud provider

Fill the form:

  1. The Name: The name, you want to give to your cluster. (Required)

  2. Select the Default Region

  3. Input Your Access Key.

  4. Your Session Token.

  5. Choose your Secret Key.

Fill the form:

  1. Name. The name, you want to give to your cluster. (Required)

  2. Client ID.

  3. Client Secret.

  4. Subscription ID.

  5. Tenant ID.

  6. Resource Group Name.

Fill the form:

  1. Name. The name, you want to give to your cluster. (Required)

  2. Default Zone

  3. Choose the JSON file that contains the configuration of the GKE provider. (Required)

Adding Cloud Providers Through CNOCTL

Creation Syntax

You can create a cloud provider by giving the elements of configuration

Integrate your cloud provider with CNOCTL

To create an EKS use the command:

cnoctl adm create provider-eks [name] [--flags]
The supported arguments are:

name: The name of the cloud provider you want to create. (Required)

The supported flags are:

default-region: This is the region of the provider. (Required)

access-key: This is the access key for your EKS cloud provider. (Required)

secret-key: Your Secret key for your EKS cloud provider. (Required)

session-token: The session token for your EKS cloud provider. (Required)

To create an AKS use the command:

cnoctl adm create provider-aks [name] [--flags]

The supported arguments are:

name: The name of the cloud provider you want to create.(Required)

The supported flags are:

client-id: The client ID for your AKS provider.(Required)

client-secret: This is the client secret for your AKS provider.(Required)

subscription-id: This is the subscription ID for your AKS provider. (Required)

tenant-id: The tenant id of the AKS provider.(Required)

Unlike AKE and EKS, the only supported flags for the GKE are the zone and json-file. To add a GKE, use the command:

cnoctl adm create provider-gke [name] --json-file xx.json --zone string

The supported arguments are:

name: The name of the cloud provider you want to create. (Required)

The supported flags are:

json-file: The JSON file that contains the configuration of the GKE provider. (Required)

zone : The zone where your cloud provider is located.

Listing Information

To list information about all cloud providers, use the command:

cnoctl adm get provider  [name]

The supported arguments are:

name: The name of the cloud provider from which we want to retrieve information. To specify if you want to get information about a specific provider. (Optional)


Last update: 2022-11-15