-
Notifications
You must be signed in to change notification settings - Fork 21
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
prometheus is missing container metrics from certain nodes #970
Comments
Internal related issue: https://github.com/defenseunicorns/uds-infrastructure/issues/573 |
Thanks to @rjferguson21's suggestion, we've been able to confirm that the |
Would suggest to resolve this we build an Code links for current kubeapi logic:
Once this is added as a generated target we can add it to Prometheus and make sure that the traffic works as expected. |
Environment
Device and OS: darwin arm64
App version: v0.29.1-unicorn
Kubernetes distro being used: k3d with two nodes
Steps to reproduce
Expected result
Container metrics such as CPU and Memory utilization should be queryable
Actual Result
Prometheus only returns metrics from pods that are scheduled on control plane nodes
Visual Proof (screenshots, videos, text, etc)
Metrics returned for
container_cpu_usage_seconds
No metrics returned when filtering out control plane node:
Severity/Priority
Moderate
Additional Context
Removing all
NetworkPolicies
in themonitoring
namespace allows Prometheus to pick up metrics from the missing nodes.The text was updated successfully, but these errors were encountered: