-
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
kube_deployment_labels
metric missing DEPLOYMENT_LABEL
labels
#1489
Comments
DEPLOYMENT_LABEL
labelskube_deployment_labels
metric missing DEPLOYMENT_LABEL
labels
Hey, it's not a bug but a new future as mentioned in the release notes these are now under an allow-list.
Please suggest a place where we can put this as we had few people ask about it, thank you! |
Huh, interesting, I must have glossed over that during my reading of https://kubernetes.io/blog/2021/04/13/kube-state-metrics-v-2-0/ Although now I can clearly see that in the post 😅 Sorry for the wrong(?) bug report and thanks for the info 👍️ In case anyone is needing the same labels as us, we needed to add the following argument to
|
It work for me of add |
If you want all the metrics to have the pod labels defined in Add t his relabel configs:
|
What happened:
After updating to kube-state-metrics v2.0.0 the extra labels, as described in https://github.com/kubernetes/kube-state-metrics/blob/release-2.0/docs/deployment-metrics.md, are missing. Meaning only
deployment
andnamespace
labels are set.What you expected to happen:
As they are in the above mentioned documentation and also not in the deprecation notice, I expected them to still exist
How to reproduce it (as minimally and precisely as possible):
Run kube-state-metrics and search for
kube_deployment_labels
in its metric endpointAnything else we need to know?:
Environment:
kubectl version
): v1.18.0The text was updated successfully, but these errors were encountered: