Skip to content
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

Explorer view in Sumo UI shows kube-state-metrics container added to every pod #2097

Closed
perk-sumo opened this issue Feb 8, 2022 · 0 comments · Fixed by #2144
Closed

Explorer view in Sumo UI shows kube-state-metrics container added to every pod #2097

perk-sumo opened this issue Feb 8, 2022 · 0 comments · Fixed by #2144
Labels
bug Something isn't working
Milestone

Comments

@perk-sumo
Copy link
Contributor

Describe the bug
The issue can be observed in the Explore view in Sumo UI (go to Sumo UI, create new Explore tab), when viewing a k8s cluster's data e.g. by Kubernetes Namespace View. You can see that there is a kube-state-metrics container displayed in the left-hand navigation tree for every single pod in the cluster.

Description of the cause of the issue and possible fix
This is due to Prometheus labelling the metrics from kube-state-metrics with container=kube-state-metrics. We are already removing Prometheus-decorated pod and service labels from non-pod kube-state-metrics metrics, but it looks like we should also remove the container label from non-container pod metrics like kube_pod_phase_status and other kube_pod_, but not from container metrics like kube_pod_container_.

Configuration
Default configuration used.

To Reproduce
Install the Helm Chart and go to Explore view in Sumo UI.

Expected behavior
kube-state-metrics should not be shown for evey pod in the cluster.

image

@perk-sumo perk-sumo added the bug Something isn't working label Feb 8, 2022
@perk-sumo perk-sumo added this to the v2.5 milestone Feb 8, 2022
@perk-sumo perk-sumo modified the milestones: v2.5, v2.6 Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant