Code Monkey home page Code Monkey logo

Comments (5)

aramalipoor avatar aramalipoor commented on August 29, 2024 3

I have the same situation as @MrJibbles I have installed both node-exporter and kube-state-metrics.

  • What's this URL config used for? And on which endpoint should it point to?
  • Does the jobs names matter?

from kubernetes-app.

MrJibbles avatar MrJibbles commented on August 29, 2024 2

Hi, I also have an existing deployment (with Node Exporter and Kube-State-Metrics) running and using a couple of Node Exporter related dashboards. However the dashboard with the plugin seem to be better! Which is the cluster URL needed for attaching the DataSource to my cluster? Prometheus is already scraping from the deployed Node Exporters/Kube-State-Metrics.
Thanks

from kubernetes-app.

adaniline-traderev avatar adaniline-traderev commented on August 29, 2024 1

I have the same problem - AWS EKS uses aws-iam-authenticator utility to generate STS tokens for authentication - this creates a problem when configuring the plugin's kubernetes authentication. I've tried specifying local https://kubernetes.default.svc.cluster url, this did not seem to work.

We've already installed prometheus operator with kube-state-metrics and node-exporter

Can you clarify if it is grafana process that connects to the k8s api endpoint (though plugin)? Why is this required if all the metrics are already exposed through the prometheus endpoint?

from kubernetes-app.

jtlisi avatar jtlisi commented on August 29, 2024

@RobertJBarron

If you are already running Prometheus you just need to ensure you are collecting metrics from the required exporters.

The rest of the metrics can be scraped from the /metrics endpoint on kubelet.

After installing the app and connecting to the cluster, there is a panel that generate a Prometheus scrape config for Prometheus on Kubernetes on the bottom of the cluster config page. There is also a download link for 2 static files that contain the deployment for the kube-state-metrics and node-exporter.

from kubernetes-app.

jtlisi avatar jtlisi commented on August 29, 2024

@MrJibbles @aramalipoor

The url config required is for your kubernetes cluster, not your prometheus cluster. The cluster config page allows the kubernetes-app access to your kubernetes cluster api.

I hope this clears things up. Let me know if you have any questions.

Also @aramalipoor Job name does not matter.

from kubernetes-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.