Create ASK Cluster using Console

Create Azure AKS Cluster

- Subscription: your-subscription

- Resource Group: Creat New: you-resource-group

- Cluster preset configuration: Standard

- Kubernetes Cluster Name: your-cluster-name

- Region: (US) Central US

- Availability zones: Zones 1, 2, 3

- AKS Pricing Tier: Free

- Kubernetes Version: Select what ever is latest stable version

- Automatic upgrade: Enabled with patch (recommended)

- Node Size: Standard D2s v2 (Default one)

- Scale method: Autoscale

- Node Count range: 1 to 5

- Node Pools

- leave to defaults

- Access

- Authentication and Authorization: Local accounts with Kubernetes RBAC

- Rest all leave to defaults

- Networking

- Network Configuration: Azure CNI

- Review all the auto-populated details

- Virtual Network

- Cluster Subnet

- Kubernetes Service address range

- Kubernetes DNS Service IP Address

- DNS Name prefix

- Traffic routing: leave to defaults

- Security: Leave to defaults

- Integrations

- Azure Container Registry: None

- All leave to defaults

- Advanced

- All leave to defaults

- Tags

- leave to defaults

- Review + Create

- Click on Create

Once cluster created execute below commands to access cluster from your local machine

# Install Azure CLI (MAC)
brew update && brew install azure-cli


# Login to Azure
az login
# Install Azure AKS CLI
az aks install-cli
# Configure Cluster Creds (kube config)
az aks get-credentials --resource-group your-resource-group-name --name you-cluster-name

# List Kubernetes Worker Nodes

kubectl get nodes

kubectl get nodes -o wide

kubectl get pods --all-namespaces

kubectl get all

Verify All workloads on Azure Portal

Use load balancer ip to access your nginx deployment exposed using LoadBalancer Service

0
Subscribe to my newsletter

Read articles from Nitesh Wayafalkar directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Nitesh Wayafalkar
Nitesh Wayafalkar

I am carrying 9.5 Years of experience into IT. Earlier, I used to automate manual tests using Selenium and Rest assured to make the application robust and find defects in the early stage. Now, I help businesses time the market by automating application deployment process and secure them using different SAST and DAST tools along with various dashboard and alerting mechanism like Grafana. Also helped production by making application highly available and more faiure tolerant.