Azure -- AKS - How to set up Kubernetes on AKS - Page-1

 Service Endpoint : 

A Service Endpoint is not a separate device, tunnel, VPN, or NIC. It is a feature of an Azure subnet that tells Azure:

"When resources in this subnet access a specific Azure service (Storage, SQL, Key Vault, etc.), identify the traffic as coming from this subnet and keep it on the Azure backbone network."

Let's walk through how it is established.

 

Private EndPoint : 

 

A Private Endpoint does not change the Storage Account itself to have a private IP.

Instead, Azure creates a private network interface (NIC) with a private IP inside your VNet, and that NIC becomes the private entry point to the Storage Account.

 

 ----

 

In Azure Kubernetes Service (AKS), the architecture is broadly divided into the System Node Pool and User Node Pool. Understanding what runs in each is important for designing a reliable cluster.

1. System Node Pool

A System Node Pool is dedicated to Kubernetes and AKS platform components that keep the cluster running.

Components typically running on System Nodes

  • CoreDNS
    • Provides DNS resolution for pods and services inside the cluster.
  • Metrics Server
    • Collects CPU and memory metrics used by autoscaling and monitoring.
  • Kubernetes Dashboard (if installed)
    • Web UI for cluster management.
  • Azure CNI / Kubenet networking components
    • Networking plugins that connect pods to the network.
  • kube-proxy
    • Manages networking rules and service routing.
  • Container Runtime
    • Usually containerd, responsible for running containers.
  • Node Problem Detector
    • Detects and reports node health issues.
  • AKS-managed add-ons
    • Examples:
      • Azure Monitor agents
      • OMS/Log Analytics agents
      • Azure Policy agents
      • Microsoft Defender for Containers components
      • CSI drivers for storage
  • System DaemonSets
    • Any daemonset required on every node for cluster operation.

Characteristics

  • Must contain at least one node.
  • Recommended VM size: 4 vCPUs or more.
  • Hosts critical infrastructure workloads.
  • Usually tainted to prevent regular application workloads from being scheduled.

Example taint:

CriticalAddonsOnly=true:NoSchedule
 

2. User Node Pool

A User Node Pool is where your business applications run.

Components typically running on User Nodes

  • Application Pods
    • Web applications
    • APIs
    • Microservices
  • Stateful workloads
    • Databases
    • Caches
    • Message brokers
  • Batch workloads
    • CronJobs
    • Data processing jobs
  • Custom DaemonSets
    • Logging agents
    • Security agents
    • Monitoring sidecars

Examples

  • Frontend application
  • Backend services
  • Java/.NET applications
  • AI/ML workloads
  • Kafka consumers
  • Worker pods

Characteristics

  • Can have multiple node pools.
  • Can use different VM sizes.
  • Can be autoscaled independently.
  • Can be specialized for:
    • GPU workloads
    • High-memory workloads
    • Spot instances
    • Linux or Windows workloads
 
AKS Cluster Architecture
 
AKS Cluster

├── Control Plane (Managed by Microsoft)
│ ├── API Server
│ ├── Scheduler
│ ├── Controller Manager
│ └── etcd

├── System Node Pool
│ ├── CoreDNS
│ ├── Metrics Server
│ ├── kube-proxy
│ ├── Azure CNI
│ ├── CSI Drivers
│ └── Monitoring/Policy Agents

└── User Node Pool
├── Frontend Pods
├── Backend Pods
├── Database Pods
├── Batch Jobs
└── Custom Applications 
 

Control Plane vs Node Pools

Control Plane (Managed by Microsoft)

AKS manages these components for you:

  • Kubernetes API Server
  • etcd
  • Scheduler
  • Controller Manager
  • Cloud Controller Manager

You do not see or manage the VMs running these components.

Node Pools (Managed by You)

You manage:

  • Node count
  • VM sizes
  • Autoscaling
  • Application deployment
  • Upgrades (with AKS orchestration)
 
Typical Production Setup
 
AKS Cluster

├── System Pool
│ ├── 3 x Standard_D4s_v5
│ └── AKS/Kubernetes system pods

├── User Pool 1
│ ├── 5 x Standard_D8s_v5
│ └── Application workloads

├── User Pool 2
│ ├── 2 x GPU VMs
│ └── AI/ML workloads

└── User Pool 3
├── Spot VMs
└── Batch processing 

Comments

Popular posts from this blog

Azure Migrate

Azure -- All Networking Components

All Kuberneters - Components