Adding Cloud Providers:

Several cloud providers are supported by CNO. We use cloud providers in CNO to get Kubernetes clusters that we want to manage through CNO. Available cloud providers in CNO are AWS, Azure and Google Cloud.
Since they are different, each of them will have its own configuration.

CREATION SYNTAX

Create a tag by giving elements of configuration

- AWS
                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: The region of the provider | [REQUIRED]
  • access-key: Access key for Aws cloud provider | [REQUIRED]
  • secret-key: Secret key for Aws cloud provider | [REQUIRED]
  • session-token: Session Token for Aws cloud provider | [REQUIRED]
- AZURE
                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 aks provider | [REQUIRED]
  • client-secret: The client secret for aks provider | [REQUIRED]
  • subscription-id: The subscription id for aks provider | [REQUIRED]
  • tenant-id: The tenant id of the aks provider | [REQUIRED]
- GCP
                cnoctl adm create provider-gke [name] [--flags]
              
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]

GET SYNTAX

List informations about all cloud provider

                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]