AKS monitoring for nodes, pods and workloads on Azure
by Obseria · Containers and platforms- OpenTelemetry
- Infrastructure Observability
- Containers and platforms
- Category
- Containers and platforms
- Key metrics
- 10
- Ready-made
- 5 dashboards & alerts
- Setup
- 3 steps
- Standard
- OTLP
Install the OpenTelemetry Collector on Azure Kubernetes Service with Helm and Obseria shows node pressure, pod restarts, container limits and logs next to the traces of your services.
One Helm install per cluster
A DaemonSet collects kubelet metrics and container logs on every AKS node; a single-replica deployment adds cluster-wide state from the API server.
Kubernetes context on every signal
The k8sattributes processor tags traces, metrics and logs with namespace, pod, deployment and node, so you can filter and group consistently.
From restart loop to root cause
Obseria Intelligence connects a crashing pod with the deploy, the memory limit or the node condition behind it and shows the chain of evidence.
Obseria interface



Ready the moment data arrives
- AKS cluster overview: nodes, pods, restarts
- Node pool capacity: CPU and memory against allocatable
- Alert on containers restarting repeatedly
- Alert on nodes reporting MemoryPressure or NotReady
- Workloads: desired versus available replicas
What Obseria monitors in your AKS clusters
Nodes and node pools
CPU, memory, filesystem and network per node, plus Ready, MemoryPressure and DiskPressure conditions.
Pods and containers
Usage per pod and container compared with requests and limits, read from the kubelet.
Deployments, StatefulSets and DaemonSets
Desired versus available replicas, so stuck rollouts become visible right away.
Horizontal Pod Autoscaler
Current, desired and maximum replicas per HPA to see when scaling hits its ceiling.
Container logs
stdout and stderr of every container with pod and namespace attached, linked to traces by trace ID.
Application telemetry
Traces, metrics and logs your workloads send via OTLP to the in-cluster collector.
The AKS signals that matter
Obseria collects these values automatically and shows them in ready-made dashboards and alerts.
| Metric | Unit | What it tells you |
|---|---|---|
k8s.node.cpu.usage | {cpu} | CPU cores in use per node; sustained high values limit room for new pods. |
k8s.node.memory.working_set | By | Working set memory per node, the value the kubelet uses for eviction decisions. |
k8s.node.condition | {condition} | Node conditions such as Ready and MemoryPressure as reported by the API server. |
k8s.pod.cpu.usage | {cpu} | CPU used by a pod, the basis for right-sizing requests. |
k8s.pod.memory.working_set | By | Pod memory that cannot be reclaimed; compare it with the limit to anticipate OOM kills. |
container.cpu.usage | {cpu} | CPU per container, to find the noisy container inside a multi-container pod. |
k8s.container.restarts | {restart} | Restart count per container; steady growth points to crash loops or OOM kills. |
k8s.pod.phase | Current pod phase (Pending, Running, Succeeded, Failed, Unknown) to spot pods that never start. | |
k8s.deployment.available | {pod} | Available replicas per deployment, compared with k8s.deployment.desired. |
k8s.hpa.current_replicas | {pod} | Replicas the autoscaler currently runs, compared with k8s.hpa.max_replicas. |
Set up AKS monitoring in minutes
- 1
Connect to the cluster
Run az aks get-credentials for your cluster and add the OpenTelemetry Helm repository.
- 2
Deploy the node collector
Install the OpenTelemetry Collector as a DaemonSet with the kubeletMetrics, kubernetesAttributes and logsCollection presets and the Obseria OTLP endpoint.
- 3
Add the cluster collector
Install a second release with one replica and the clusterMetrics preset for deployments, pod phases, restarts and node conditions.
# 1) Connect kubectl to the AKS cluster
# az aks get-credentials --resource-group rg-prod --name aks-prod
# 2) helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
# helm install otel-collector open-telemetry/opentelemetry-collector -f values.yaml
# values.yaml: one collector pod per AKS node
mode: daemonset
image:
repository: otel/opentelemetry-collector-contrib
presets:
kubeletMetrics:
enabled: true # node, pod and container metrics (kubeletstats receiver)
kubernetesAttributes:
enabled: true # k8s.namespace.name, k8s.pod.name, k8s.deployment.name ...
logsCollection:
enabled: true # container stdout and stderr
config:
exporters:
otlphttp:
endpoint: ${OBSERIA_OTLP_ENDPOINT}
headers:
Authorization: Bearer ${OBSERIA_TOKEN}
service:
pipelines:
metrics: { exporters: [otlphttp] }
logs: { exporters: [otlphttp] }
traces: { exporters: [otlphttp] }
# 3) Second release for cluster-wide state (k8s_cluster receiver):
# mode: deployment, replicaCount: 1, presets.clusterMetrics.enabled: trueWhy AKS monitoring needs more than platform metrics
Azure Kubernetes Service takes the control plane off your hands, but everything running on the nodes is still your responsibility. Pods get evicted when a node runs out of memory, containers restart after hitting their limit, rollouts stall because a new image cannot pull, and the Horizontal Pod Autoscaler quietly reaches its maximum. AKS monitoring has to cover the cluster from the node down to the individual container and connect that view with the applications that actually serve your users.
Azure Monitor publishes platform metrics for managed clusters, which are useful for a high-level view. For day-to-day operations, teams need pod and container detail with Kubernetes labels attached, container logs and application traces in the same place. The OpenTelemetry Collector provides exactly that through its Kubernetes receivers, and it runs on AKS like on any other conformant Kubernetes cluster.
How AKS monitoring with OpenTelemetry is set up
The recommended layout uses two Collector releases from the official OpenTelemetry Helm chart:
- Node collector (DaemonSet): one pod per node. The
kubeletstatsreceiver reads CPU, memory, filesystem and network for the node, its pods and containers. Thefilelogreceiver reads container logs, and thek8sattributesprocessor adds namespace, pod, deployment and node to every signal. Applications send their OTLP traces to this local collector. - Cluster collector (one replica): the
k8s_clusterreceiver talks to the API server and reports facts about the cluster as a whole: pod phases, container restarts, deployment and StatefulSet replicas, HPA state and node conditions. Run exactly one replica, otherwise every object is counted several times.
Both releases export over OTLP to Obseria. No proprietary agent is required, and the same configuration works on AKS, other managed Kubernetes services and self-managed clusters.
Metrics that matter for Azure Kubernetes Service monitoring
A focused set of metrics covers most incidents on AKS:
- Node health:
k8s.node.conditionwith Ready, MemoryPressure and DiskPressure, plusk8s.node.memory.working_setandk8s.node.cpu.usage. Node readiness is disabled by default in the receiver and should be switched on. - Pod and container resources:
k8s.pod.memory.working_setandcontainer.cpu.usagecompared with requests and limits. Working set memory, not total usage, decides when a container is OOM killed. - Stability:
k8s.container.restartsandk8s.pod.phasereveal crash loops and pods stuck in Pending. - Rollouts and scaling:
k8s.deployment.availableagainstk8s.deployment.desired, andk8s.hpa.current_replicasagainstk8s.hpa.max_replicas.
Typical AKS problems and how to detect them
OOM kills and memory limits
A container that exceeds its memory limit is terminated and restarted. In Obseria you see the working set climbing towards the limit, followed by a restart. If it happens to many pods on one node, check the node's memory pressure and whether requests reflect real usage.
Pending pods during scale-out
When the cluster autoscaler cannot add nodes quickly enough, or a node pool has reached its maximum size, new pods stay in Pending. Alerting on pods in the Pending phase for more than a few minutes catches this before the HPA's extra replicas are missing under load.
Stalled rollouts
A wrong image tag, a failing readiness probe or a missing secret leaves a deployment with fewer available replicas than desired. Comparing both values per deployment, together with the rollout time, shows which release is stuck.
Noisy neighbours
Pods without CPU limits can consume a node and slow down everything else on it. Grouping container.cpu.usage by node quickly shows which workload is responsible.
Best practices for AKS cluster monitoring
- Set
k8s.cluster.nameas a resource attribute so several AKS clusters stay separable in one Obseria workspace. - Enable node conditions in the
k8s_clusterreceiver; without them a NotReady node looks healthy. - Set requests and limits on every workload, so usage-to-limit ratios become meaningful alerts.
- Store the Obseria token in a Kubernetes secret and reference it from the Helm values instead of committing it.
- Use Managed Identity on the node pool for any Azure APIs the collector needs, so no credentials have to be managed.
How Obseria helps with AKS observability
Obseria receives node, pod and container metrics, cluster state, container logs and application traces from the OpenTelemetry Collector over OTLP. TopoGraph maps services, pods, nodes and their dependencies, so you see which workloads share a struggling node. When pods restart or latency rises, Obseria Intelligence checks recent deploys, resource limits and node conditions and presents the likely root cause with its chain of evidence. Dashboards, alerts and SLOs are included, data can be hosted in the EU, and everything stays exportable via OTLP.
Learn more
What is observability?
What is observability? Learn how metrics, logs, traces and profiles let you understand any system state, how it differs from monitoring, and how to start.
The four golden signals: latency, traffic, errors and saturation
The four golden signals explained: latency, traffic, errors and saturation, how they relate to the RED and USE methods, and how to measure them with OTel.
AKS monitoring FAQ
No. Obseria uses the OpenTelemetry Collector inside the cluster, which reads metrics from the kubelet and the Kubernetes API directly. You can keep Container Insights if other teams use it, the two do not interfere.
Node, pod and container metrics come from each node's kubelet, so they need a collector per node. Cluster state such as deployments and restarts comes from the API server and must be collected exactly once, which is why it runs as a single-replica deployment.
The collector image and the kubeletstats receiver target Linux nodes in the default Helm setup. For Windows node pools, check the OpenTelemetry Collector documentation for Windows support and schedule the DaemonSet with a matching node selector.
Point the OpenTelemetry SDK in your pods at the node collector, for example via the node's host IP and port 4318. The collector adds Kubernetes attributes and forwards the traces to Obseria together with the cluster metrics.
Yes. Install the collector in each cluster and set a distinct k8s.cluster.name. Obseria shows all clusters side by side and lets you filter by cluster, namespace and workload.
Start monitoring AKS today
Connect AKS in minutes with OpenTelemetry or the Obseria Agent. Free for 14 days.