-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metric "kube_node_role" missing (AKS) #2474
Comments
Workaround / SolutionIt looks like, it is not allowed to set
|
Workaround not working!Unfortunately our workaround is not really working, because we cannot set the labels on the AKS node pools. Here the answer of Microsoft support: |
/triage accepted |
I opened a related issue in the AKS project: Azure/AKS#4628 |
@abossard any news? |
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: