Adding labels from a namespace to kube_namespace_labels
560 views
Skip to first unread message
Kevin Cameron
unread,
Nov 18, 2021, 11:30:55 PM11/18/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
We are using a typical deployment for Kubernetes to collect Prometheus metrics. When I inspect the metric kube_namespace_labels which comes from job=Kubernetes-service_endpoints from Kubernetes_name=kube-state-metrics it does not include the 2 labels we have added to our namespaces which are visible during a kubectl describle namespace X
Is there anything special I have to do to allow/enable namespace labels to be used by kube-state-metrics? To be specific I want to expose the kiosk.sh/account label.