Skip to main content

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

  1. Search the AKS Cluster in the Search Bar

  2. Click on “Create a Kubernetes Cluster” to create the cluster

Image1

  1. Enter all the information in the Basics tab

Image2

Image3

  1. Now click on Node Pools tab and then + Add node pool button. Enter all the information and then click on the Update button

Image4

Image5

Image6

  1. Now, click on Networking tab and select Azure CNI in the Network configuration

Image7

  1. Select Azure as Network Policy

Image8

  1. Now go to Monitoring tab and Select Default Configuration as the Azure Monitor. Now click on “Review + Create“ button

Image9

How to Connect with AKS Cluster

  1. Search “AKS” in the search bar and then click on “Kubernetes Service” as mentioned in the image below

Image10

  1. Select the desired Kubernetes service and click on the “Connect” button

Image11

  1. Connect to the “Azure CLI” Service

Image12

  1. Open any of cmd, Powershell or gitbash and run the following commands

Image13

  1. Use the below command, to check whether the cluster is connected or not with local machine

    kubectl get deployments --all-namespaces=true

AKS Kubernetes Deployment