You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Azure Kubernetes Service (AKS) is a managed Kubernetes offering that simplifies deploying, managing, and scaling containerised applications. Azure manages the Kubernetes control plane — the API server, etcd, scheduler, and controller manager — while you manage the worker nodes that run your application workloads. This lesson covers the architecture, key concepts, and your first AKS deployment.
Kubernetes (K8s) is an open-source container orchestration platform originally developed by Google. It automates:
Kubernetes is powerful but complex to operate. AKS removes much of the operational burden by managing the control plane for you.
graph TD
subgraph MANAGED["Azure Managed"]
CP["Control Plane (Free): API Server | etcd | Scheduler | Controllers"]
end
CP --> NP1
CP --> NP2
subgraph NP1["Node Pool 1 (System)"]
direction LR
N1A["Node VM"]
N1B["Node VM"]
end
subgraph NP2["Node Pool 2 (User / App)"]
direction LR
N2A["Node VM"]
N2B["Node VM"]
end
# Create a resource group
az group create --name rg-aks --location uksouth
# Create an AKS cluster
az aks create \
--resource-group rg-aks \
--name my-aks-cluster \
--node-count 3 \
--node-vm-size Standard_D4s_v5 \
--generate-ssh-keys \
--attach-acr mycompanyacr \
--network-plugin azure \
--enable-managed-identity
# Get credentials and configure kubectl
az aks get-credentials \
--resource-group rg-aks \
--name my-aks-cluster
# Verify the connection
kubectl get nodes
A pod is the smallest deployable unit in Kubernetes — one or more containers that share networking and storage.
apiVersion: v1
kind: Pod
metadata:
name: my-app
spec:
containers:
- name: web
image: mycompanyacr.azurecr.io/myapp:1.0
ports:
- containerPort: 8080
A Deployment manages a set of identical pod replicas and handles rolling updates.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.