Objective

Deploy and manage a production-grade Kubernetes cluster on Azure AKS.

Tools & Technologies

  • AKS
  • Azure CLI
  • helm
  • kubectl

Key Commands

az aks create --name myAKS --node-count 2
az aks get-credentials --name myAKS
helm install nginx-ingress ingress-nginx/ingress-nginx
kubectl apply -f ingress.yaml

Lab Steps

01
Provision AKS

Create an AKS cluster with managed identity and monitoring enabled.

02
Connect kubectl

Download cluster credentials and verify connection.

03
Deploy Application

Deploy a containerized application with Deployment and Service.

04
Ingress Controller

Install Nginx ingress controller with Helm and expose services.

Challenges Encountered

  • AKS provisioning takes 5-10 minutes
  • Helm chart values differ between chart versions

Key Takeaways

  • Enable AKS cluster autoscaler for cost-efficient scaling
  • Use Azure Container Registry with AKS for private image hosting