Register Azure AKS Cluster

  1. 1.
    In order to register an Azure Cluster, you must first register the Azure Cloud Account in gopaddle. Follow these steps to register the Azure Cloud Account.
  2. 2.
    Download and install Azure CLI by following these steps.
  3. 3.
    Login to Azure account and get the KubeConfig to access the cluster:
az login
az aks get-credentials --resource-group <resource-group-name> --name <azure-cluster-name>
If you don't have a Bastion Host setup, and if the server value in the Kubeconfig points to a private IP address:
a) Replace the server value to a publicly accessible Cluster Master API Endpoint
b) Make sure the firewall is open for the Cluster Master API port
c) Make sure the Cluster certificate is attached to the Public IP. Here is an example of how to update the certSANs with the public IP. - https://blog.scottlowe.org/2019/07/30/adding-a-name-to-kubernetes-api-server-certificate/
  1. 3.
    In the gopaddle UI, navigate to the Environments section and click on Add a Cluster.
  2. 4.
    Choose Register an existing Cluster
  3. 5.
    Provide the cluster name. The cluster name must match the AKS Cluster name in the azure portal.
  4. 6.
    Select the Cloud Provider as Azure
  5. 7.
    Select the Azure Cloud Account registered in step 1 and Provide the Subscription ID and the Resource Group Name
Register Azure AKS Cluster in gopaddle
  1. 8.
    In the Authentication Step, upload the Kubeconfig file gathered in step 2.
Upload the Kubeconfig file
  1. 8.
    If you have configured a bastion host, provide the Bastion Host IP, SSH Pem file, SSH port
If you are using a Bastion Host setup, make sure the Bastion Host IP and Port are accessible publicly. If you are looking for a private only setup, get in touch with us to explore gopaddle Enterprises.
Provide the Bastion Host Connection Details
  1. 8.
    Click on Finish to register the AKS Cluster.