Microsoft Azure (AKS Cluster)
Azure Kubernetes Service (AKS) offers the quickest way to start developing and deploying cloud-native apps in Azure.
Prerequisites
Before launching an AKS service, you need to have an Azure subscription and have the Azure CLI installed on your machine:
How to Create an AKS Cluster
Search the AKS Cluster in the Search Bar
Click on “Create a Kubernetes Cluster” to create the cluster
- Enter all the information in the Basics tab
- Now click on Node Pools tab and then + Add node pool button. Enter all the information and then click on the Update button
- Now, click on Networking tab and select Azure CNI in the Network configuration
- Select Azure as Network Policy
- Now go to Monitoring tab and Select Default Configuration as the Azure Monitor. Now click on “Review + Create“ button
How to Connect with AKS Cluster
- Search “AKS” in the search bar and then click on “Kubernetes Service” as mentioned in the image below
- Select the desired Kubernetes service and click on the “Connect” button
- Connect to the “Azure CLI” Service
- Open any of cmd, Powershell or gitbash and run the following commands
Use the below command, to check whether the cluster is connected or not with local machine
kubectl get deployments --all-namespaces=true