Azure Kubernetes Services (AKS) Fundamentals
Azure Kubernetes Services (AKS) Fundamentals In this post we are going to look at the basics of Azure Kubernetes Services, the implementation of Kubernetes as PaaS in the Microsoft Cloud. What is Kubernetes? According to official documentat
Source comparison and review notes
- Automated pair-review warning (AI bilingual content review): Both simplify Azure CNI flat-network outbound behavior as having no SNAT; actual egress/SNAT behavior also depends on the selected outbound, load-balancer, and NAT configuration.

In this post we are going to look at the basics of Azure Kubernetes Services, the implementation of Kubernetes as PaaS in the Microsoft Cloud.

What is Kubernetes?
According to official documentation, Kubernetes is an open-source container orchestration engine designed to automate the deployment, scaling, and management of containerized applications. This open-source project is hosted by the Cloud Native Computing Foundation (CNCF).
It has become a de facto standard for modern application management thanks to its key features regarding Portability and Flexibility, Self-Healing, Auto-Scaling, and Continuous Deployments.
For more details, I invite you to review the post Introduction to Kubernetes — Learn Multi Cloud(s)
Particularities of Managed Kubernetes in the cloud
Like all cloud providers, Microsoft also has its Kubernetes implementation. Azure Kubernetes Services (AKS) is one of the top competitors in the field of Managed Kubernetes along with Amazon’s EKS and Google’s GKE.
This type of Kubernetes-based cloud platforms provide several advantages to administrators when it comes to Deploying a Cluster. To do this, we must understand, at a high level, how a Kubernetes cluster works and what are the details of its implementation.
On-premises Kubernetes architecture
At a high level, the Kubernetes architecture is composed of two main components: the Control Plane and the Nodes, which work together to manage and orchestrate containerized applications.
1. Control Plane
The Control Plane is the brain of Kubernetes, has visibility into cluster health through ETCD and is responsible for making decisions about cluster health and handling the overall orchestration of containers. Its main components are:
- API Server (api): Exposure of the Kubernetes API that acts as an entry point for all administrative operations. It receives requests (e.g.,
kubectl) and processes them. - Controller Manager (c-m, c-cm): Manages the controllers that ensure that the desired state of the cluster is maintained. Examples include replicating pods or handling node failures.
- etcd: Key-value database that stores all the configuration and state information of the cluster consistently.
- Scheduler (sched): Decides on which node each pod will run based on defined resource requirements and policies.
2. Nodes
Nodes are the machines (physical or virtual) where application containers run. Each node contains the following components:
- Kubelet: It is an agent that runs on each node and is responsible for communicating with the Control Plane to ensure that the containers run according to the instructions received and are in the desired state.
- Kube-proxy (k-proxy) or CNI: A component that handles network rules to expose pod services inside and outside the cluster.
In these cases, each of the components is managed by the IT team.
- It requires the IT team to manage the entire physical infrastructure (servers, networking, storage, cooling, power, etc.).
- The installation, configuration and maintenance of the cluster (control plane and worker nodes) are the responsibility of the internal team.
- Considerable effort is needed for the implementation of high availability and disaster recovery.
Maintaining a Kubernetes Cluster is not an easy task; it requires IT teams to have expertise and in-depth knowledge of Kubernetes Cluster Administration (CKA).
What is Azure Kubernetes Services (AKS)?
Azure Kubernetes Services (AKS) is a PaaS service that reduces the complexity of managing an entire Kubernetes Cluster and manages the Control Plane by shifting responsibility for maintenance and deployment to Azure. Administrators do not need to be Kubernetes experts or have CKA experience to manage the Cluster; these tasks are delegated to the cloud provider.
AKS manages this Control Plane that is in charge of managing not only the Worker Nodes but also the rest of the Kubernetes objects. It also handles the maintenance and health monitoring of the platform.

The Control Plane is entirely managed by Azure, but the Worker Nodes are created in our Azure subscription in Virtual Machines:

Azure uses Virtual Machine Scale Sets (VMSS) to manage our Worker Nodes infrastructure automatically through the Azure-managed Control Plane.
AKS Components
Node Pools
Node Pools are a group of Kubernetes Worker Nodes that share the same grouped configurations. These servers run the container workloads. When you create an AKS, you create a System Node Pool that serves to run all the basic services for the cluster’s functionality, such as CoreDNS or Konnectivity. Administrators can create User Node Pools with different configurations to run specific workloads.
AKS Resource Group
In AKS, two resource groups are created during deployment to support the underlying Kubernetes infrastructure on Azure.
First group of resources:
- Manually created by the user during deployment.
- Contains only the Kubernetes Service (AKS) resource.
- Acts as the reference point for cluster management in Azure.
Second Resource Group (Node Resource Group):
- Automatically created by the AKS resource provider during deployment.
- Default name format:
MC_<nombre-del-grupo>_<nombre-del-cluster>_<región> - Example:
MC_myResourceGroup_myAKSCluster_eastus
This second resource group contains all the infrastructure resources, including:
- Virtual Machine Scale Sets (VMSS)
- Virtual networks (VNets) and subnets
- Managed disks
- Network Security Group (NSG)
- Managed Identity
- Network Interfaces (NICs)
- Private Endpoints
- Public IP addresses (if applicable)
- Load Balancers
- Private DNS zones
Manually modifying resources in the Node Resource Group is not supported and may cause cluster failure.
Cluster Modes in AKS
There are two cluster modes:
- Automatic (currently in preview)
- Standard
AKS Automatic
A fully managed offering where administrators do not manage NodePools or any kubernetes infrastructure resources. AKS handles everything, offering ease of use but less flexibility.
Features:
- Automated cluster management
- Smart scaling with Node Autoprovisioning and HPA, KEDA, VPA
- Built-in security and compliance
- Integrated monitoring with Prometheus, Grafana, Container Insights
Standard
The most widely used and flexible option, giving administrators full control over the managed cluster infrastructure.
Features:
- Manual node management
- Scaling options
- Maintenance control
- Customizable security measures
Networking at AKS
To better understand how Networking works in Kubernetes and, above all, how it relates to Kubernetes Managed Services, I invite you to read the following articles: Kubernetes networking — Part 1 — Learn Multi Cloud(s) and Kubernetes networking — Part 2 — Learn Multi Cloud(s).
AKS networking can be deployed in two ways:
1. Azure CNI Overlay

- Pods get private IPs, separate from the Azure subnet.
- Outbound traffic uses SNAT.
- Options: Azure CNI Overlay and kubenet.
2. Advanced Networking

- Pods receive IPs from the same subnet as nodes.
- No SNAT for outbound traffic.
- Options: Azure CNI Pod Subnet and Azure CNI Node Subnet.
Author: Mateo Di Loreto
Thanks for reading. The learning continues in the next article.


