☁️ Cloud

AKS

Azure Kubernetes Service

Azure's managed Kubernetes. Automates cluster operations. Integrated with Azure services.

📖 Detailed Explanation

AKS (Azure Kubernetes Service) is a fully managed Kubernetes service provided by Microsoft Azure. Azure manages the Control Plane (API server, etcd, scheduler) free of charge, and users pay only for the Worker Nodes.

Since its GA (general availability) in 2018, it has grown rapidly and is now available in more than 60 Azure regions worldwide. It integrates natively with Azure Active Directory (Entra ID), which makes RBAC-based access control straightforward, and CI/CD integration with Azure DevOps/GitHub Actions is smooth.

AKS supports various network models such as Azure CNI and Kubenet, and enables automatic authentication integration with Azure Container Registry (ACR). Through the Virtual Node feature, it also supports burst scaling with Azure Container Instances (ACI).

In practice, AKS is a particularly strong choice for .NET-based enterprise workloads or when Windows Containers are required. It can be integrated securely, without passwords, with other Azure PaaS services (Azure SQL, Cosmos DB, Key Vault, etc.) through Managed Identity.

💻 Code Example

# AKS 클러스터 생성
az aks create \
  --resource-group myResourceGroup \
  --name myAKSCluster \
  --node-count 3 \
  --node-vm-size Standard_D4s_v3 \
  --enable-managed-identity \
  --network-plugin azure \
  --generate-ssh-keys

# kubeconfig 가져오기
az aks get-credentials \
  --resource-group myResourceGroup \
  --name myAKSCluster

# 클러스터 노드 확인
kubectl get nodes

# ACR 연동 (이미지 풀 권한 부여)
az aks update \
  --name myAKSCluster \
  --resource-group myResourceGroup \
  --attach-acr myContainerRegistry

🗣️ Say It Like This in Practice

💬 In a Meeting
"If we migrate to AKS, we no longer have the burden of managing the Control Plane, and integrating Key Vault with Managed Identity will make secrets management clean as well. Since we're currently built on Azure infrastructure, network integration should also be easy."
💬 In an Interview
"I have experience operating production clusters on AKS. I assigned VNet IPs directly to Pods with Azure CNI and applied network policies through Azure Firewall and NSG, and I managed namespace permissions separately for each development team through AAD integration."
💬 During Incident Response
"The Spot Instance nodes in the AKS node pool were preempted, and the Pods got evicted. For critical workloads, let's set a nodeSelector to the regular node pool and also add a PodDisruptionBudget to ensure availability."

Take a mock interview on this topic → WIA SOOM AI Interview · Start for free

⚠️ Common Mistakes & Cautions

❌
Mistakes in choosing the network plugin

With Kubenet, Pod IPs are for internal use within the node, so direct integration with Azure services is not possible. If you need integration with Azure services (such as Private Endpoint), choose Azure CNI from the start. Changing it later requires recreating the cluster.

❌
No upgrade strategy in place

AKS supports Kubernetes versions only up to N-2. If you do not configure an automatic upgrade channel (stable, rapid, node-image), you may end up using an end-of-support version and be unable to receive security patches.

✅
The right approach

In production environments, separate the System node pool and the User node pool, and apply governance with Azure Policy. Enabling Container Insights for log/metric monitoring is also essential.

🔗 Related Terms

📚 Learn More