Skip to content

Commit a2ce195

Browse files
Merge pull request #243326 from bragi92/kaveesh/windows_exporter_issue
fix: add note for setting windows exporter limits as it can cause issues on aks nodes
2 parents 0fa9117 + fe73c34 commit a2ce195

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/azure-monitor/essentials/prometheus-metrics-enable.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,14 @@ Deploy the template with the parameter file by using any valid method for deploy
386386

387387
## Enable Windows metrics collection
388388

389+
> [!NOTE]
390+
> There is no CPU/Memory limit in windows-exporter-daemonset.yaml so it may over-provision the Windows nodes
391+
> For more details see [Resource reservation](https://kubernetes.io/docs/concepts/configuration/windows-resource-management/#resource-reservation)
392+
>
393+
> As you deploy workloads, set resource memory and CPU limits on containers. This also subtracts from NodeAllocatable and helps the cluster-wide scheduler in determining which pods to place on which nodes.
394+
> Scheduling pods without limits may over-provision the Windows nodes and in extreme cases can cause the nodes to become unhealthy.
395+
396+
389397
As of version 6.4.0-main-02-22-2023-3ee44b9e of the Managed Prometheus addon container (prometheus_collector), Windows metric collection has been enabled for the AKS clusters. Onboarding to the Azure Monitor Metrics add-on enables the Windows DaemonSet pods to start running on your node pools. Both Windows Server 2019 and Windows Server 2022 are supported. Follow these steps to enable the pods to collect metrics from your Windows node pools.
390398

391399
1. Manually install windows-exporter on AKS nodes to access Windows metrics.

0 commit comments

Comments
 (0)