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

No prometheus metrics from kured on a control plane node #998

Open
amrap030 opened this issue Oct 17, 2024 · 1 comment
Open

No prometheus metrics from kured on a control plane node #998

amrap030 opened this issue Oct 17, 2024 · 1 comment

Comments

@amrap030
Copy link

Hello, I am running kured with Helm in the version 5.5.0 and kured v1.16.0 in my Kubernete Cluster with v1.31.1. I want to use prometheus and grafana to monitor kured, so I enabled the service monitor via the Helm values with the following configuration:

metrics:
    create: true
    namespace: ""
    labels:
      release: kube-prometheus-stack
    interval: 60s
    scrapeTimeout: ""

I have 3 nodes in my cluster, 1 control plane and 2 worker nodes. For some reason, prometheus only catches the metrics of the pods on the worker nodes and not of the pod on the control plane, see image below.

image

If I set hostNetwork: true in the Helm values, it works fine, see image below.

image

However, I don't want to set hostNetwork: true. Do you have an idea what might be the problem here?

@evrardjp
Copy link
Collaborator

We don't treat the master and workers any differently.

So at first sight, I don't know... Maybe a netpol? @ckotzbauer do you have an idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants