Skip to content

Azure Kubernetes Service

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Kubernetes Service (AKS) via the KubernetesService resource type.

When using declared resources, the following fields need to be provided:

  • clusterName - The name of the Azure Kubernetes Service

All supported metrics are documented in the official Azure Monitor documentation.

Example

Here is an example configuration:

name: azure_kubernetes_available_cpu_cores
description: "Available CPU cores in cluster"
resourceType: KubernetesService
azureMetricConfiguration:
  metricName: kube_node_status_allocatable_cpu_cores
  aggregation:
    type: Average
resources: # Optional, required when no resource discovery is configured
- clusterName: promitor-aks
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
- name: kubernetes-service-landscape