kepler does not see/report metrics from all namespaces #1729
Unanswered
BoyanBanev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have kepler 0.7.11 running on a cluster with multiple applications deployed in own namespaces. Kepler reports metrics for its own and for the system ones (e.g. kube-system, rbac-system) but does not report anything for the other namespaces.
I have given it the following clusterrole, associated with the sa used by kepler:
rules:
resources: ["pods", "nodes", "nodes/metrics", "nodes/proxy", "nodes/stats", "namespaces", "services"]
verbs: ["get", "list", "watch"]
resources: ["pods", "nodes"]
verbs: ["get", "list", "watch"]
resources: ["deployments"]
verbs: ["get", "list", "watch"]
(I modified the chart templates for that. The result with the standard roles was the same)
Using the the token for the kepler service account allows me to see all namespaces with kubectl.
Any tips on how to make kepler report metrics for all resources in the cluster?
EDIT:
kepler logs from worker nodes indicate that it does see the resources from other namespaces. However no metrics for such pods are exported on the service port.
Beta Was this translation helpful? Give feedback.
All reactions