Metric "kube_node_role" missing (AKS) #2474
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened:
kube_node_role
is missing because the labelnode-role.kubernetes.io/*
is missing.node-role.kubernetes.io/*
is deprecated and the recommended substitute iskubernetes.azure.com/role=*
(more in the docs)kubernetes.azure.com/
kubernetes.io/
What you expected to happen:
kube_node_role
is available.How to reproduce it (as minimally and precisely as possible):
http://localhost:8080/metrics
.kube_node_role
and you can see there is only the description and help of the metric but no metric data:Anything else we need to know?:
kubernetes.azure.com/role=*
instead ofnode-role.kubernetes.io/*
, because it is hardcoded.kube_node_role
is very important, because we have a lot of recording- and alertingrules that uses it.Environment:
kubectl version
): 1.29.6The text was updated successfully, but these errors were encountered: