Create AKS Cluster¶
Step-01: Introduction¶
- Understand about AKS Cluster
- Discuss about Kubernetes Architecture from AKS Cluster perspective
Azure Kubernetes Service with Azure DevOps and Terraform¶
Step-02: Create AKS Cluster¶
- Create Kubernetes Cluster
- Basics
- Subscription: Free Trial
- Resource Group: Creat New: aks-rg1
- Kubernetes Cluster Name: aksdemo1
- Region: (US) Central US
- Kubernetes Version: Select what ever is latest stable version
- Node Size: Standard DS2 v2 (Default one)
- Node Count: 1
- Node Pools
- leave to defaults
- Authentication
- Authentication method: System-assigned managed identity
- Rest all leave to defaults
- Networking
- Network Configuration: Advanced
- Network Policy: Azure
- Rest all leave to defaults
- Integrations
- Azure Container Registry: None
- leave to defaults
- Tags
- leave to defaults
- Review + Create
- Click on Create
Step-03: Cloud Shell - Configure kubectl to connect to AKS Cluster¶
- Go to https://shell.azure.com
Step-04: Explore Cluster Control Plane and Workload inside that¶
# List Namespaces
kubectl get namespaces
kubectl get ns
# List Pods from all namespaces
kubectl get pods --all-namespaces
# List all k8s objects from Cluster Control plane
kubectl get all --all-namespaces
Step-05: Explore the AKS cluster on Azure Management Console¶
- Explore the following features on high-level
- Overview
- Activity Log
- Access Control (IAM)
- Security
- Diagnose and solver problems
- Settings
- Node Pools
- Upgrade
- Scale
- Networking
- DevSpaces
- Deployment Center
- Policies
- Monitoring
- Insights
- Alerts
- Metrics
- and many more
- VM Scale Sets
- Verify Azure VM Instances
- Verify if Enhanced Networking is enabled or not
Step-06: Local Desktop - Install Azure CLI and Azure AKS CLI¶
# Install Azure CLI (MAC)
brew update && brew install azure-cli
# Install Azure AKS CLI
az aks install-cli
# Configure Cluster Creds (kube config)
az aks get-credentials --resource-group aks-rg1 --name aksdemo1
# List AKS Nodes
kubectl get nodes
kubectl get nodes -o wide
Step-07: Deploy Sample Application and Test¶
- Don't worry about what is present in these two files for now.
- By the time we complete Kubernetes Fundamentals sections, you will be an expert in writing Kubernetes manifest in YAML.
- For now just focus on result.
Step-07: Clean-Up¶
References¶
- https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-macos?view=azure-cli-latest
Why Managed Identity when creating Cluster?¶
- https://docs.microsoft.com/en-us/azure/aks/use-managed-identity
AWS ALB Ingress Installation¶
AWS ALB Ingress Implementation Basics¶
Best Selling Azure Kubernetes Service Course on Udemy¶
Best Selling AWS EKS Kubernetes Course on Udemy¶
HashiCorp Certified Terraform Associate - 50 Practical Demos¶
🎉 New Course
Ultimate DevOps Real-World Project Implementation on AWS
$15.99
$84.99
81% OFF
DEVOPS2026FEB
Enroll Now on Udemy
🎉 Offer


