DevOps Classroom notes 21/Nov/2026

Azure Kubernetes service (aks):

offical docs

aks

conponets in aks

  1. control plane – managed by aks
  2. worker nodes – virtual machines runing containers
  3. Node pool: group of worker nodes – node_type: platform
  4. ingress & services –> http & https routing and provide access applications

Key benfits:

  1. managed k8s control plane –> master maintain by azure
  2. Auto scalling and upgrades (vmss will supourt for worker nodes)
  3. Azure AD integration –> manage access using RBAC
  4. Integrated Monitoring with Azure
  5. loadbalancing and ingress suppourt
  6. HA and secuirty feature
  7. cost optimization with node pool

Prerequests:

  1. azure subscripition
  2. azure cli
  3. kubectl cli install

way to create aks

  1. portal
  2. cli
  3. terraform –> 90%
  4. bicep
  5. azure resource manager (ARM)
  6. powershell

Steps to create aks

image-27

image-28

image-29

create cluster using cli

choco install azure-cli -y 
choco install kubernetes-cli -y
# login azure 
az login --tenant 726fed04-5c24-4ce7-9f26-23aede5f917f

RESOURCE_GROUP=aks
CLUSTER_NAME=qt-aks
az aks get-credentials --resource-group aks --name qt-aks


az aks command invoke --resource-group aks --name qt-aks --command "kubectl get nodes"

deploy nexus on aks

helm repo add sonatype https://sonatype.github.io/helm3-charts/
helm repo update
helm search repo sonatype/nexus-repository-manager

kubectl create namespace nexus
# nexus-values.yaml
nexus:
  resources:
    requests:
      cpu: 1
      memory: 4Gi
    limits:
      cpu: 2
      memory: 6Gi

persistence:
  enabled: true
  # storageClass: managed-csi      # Azure Disk CSI (default on AKS)
  storageSize: 20Gi

service:
  type: LoadBalancer 
helm install nexus sonatype/nexus-repository-manager \
  -n nexus -f nexus-values.yaml
kubectl get pods -n nexus -w

curl -s ifconfig.me

clean up

az group list --query "[].name" -o tsv | while read -r rg; do
    echo "Deleting resource group: $rg"
    az group delete --name "$rg" --yes --no-wait
done

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company
Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube