Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Scraping don't work on rke2? #49

Open
tina-junold opened this issue Nov 15, 2021 · 0 comments
Open

Scraping don't work on rke2? #49

tina-junold opened this issue Nov 15, 2021 · 0 comments

Comments

@tina-junold
Copy link

Hi,

i setup this via

helm upgrade --install --namespace kube-system --set image.tag=v0.0.7  metrics-server-exporter ./helm

It seems to be functional, since the expected metrics show up, if i use port forward to the deployment.

Addionally i setup an ServiceMontior (my prometheus is running under kube-telemetry:

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: metrics-server-exporter
  namespace: kube-telemetry
  labels:
    name: metrics-server-exporter
spec:
  selector:
    matchLabels:
      app.kubernetes.io/instance: metrics-server-exporter
      app.kubernetes.io/name: metrics-server-exporter
  namespaceSelector:
    matchNames:
      - kube-system
  endpoints:
    - port: "8000"

But even with the servicemonitor no metrics show up in prometheus

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

No branches or pull requests

1 participant