How to export metrics from Windows Kubernetes nodes in AKS
Blog post from Octopus Deploy
At Octopus, the team uses Azure Kubernetes Service (AKS) to manage a Kubernetes cluster, which supports various internal tools and workloads, including build and test processes. Monitoring resource usage, such as CPU, memory, disk, and network bandwidth, is crucial, but while Sumo Logic's solution effectively gathers metrics from Linux nodes, it doesn't support Windows nodes within the cluster. To address this, a custom solution inspired by a GitHub user's approach was developed, which involves a Virtual Machine Scale Set Extension to install the windows-exporter service, a reverse proxy container to expose metrics, and Prometheus remote-write rules to forward metrics to Sumo Logic. This setup allows comprehensive monitoring of both Linux and Windows nodes, facilitating resource management and enabling experimentation without the risk of resource exhaustion.