Register Azure AKS Cluster
Last updated
Last updated
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.
Download and install Azure CLI by following these steps.
Login to Azure account and get the KubeConfig to access the cluster:
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/
In the gopaddle UI, navigate to the Environments section and click on Add a Cluster.
Choose Register an existing Cluster
Provide the cluster name. The cluster name must match the AKS Cluster name in the azure portal.
Select the Cloud Provider as Azure
Select the Azure Cloud Account registered in step 1 and Provide the Subscription ID and the Resource Group Name
In the Authentication Step, upload the Kubeconfig file gathered in step 2.
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.
Click on Finish to register the AKS Cluster.