Coder Social home page Coder Social logo

Grafana Dashboard about kubenurse HOT 7 CLOSED

postfinance avatar postfinance commented on August 23, 2024 1
Grafana Dashboard

from kubenurse.

Comments (7)

eli-halych avatar eli-halych commented on August 23, 2024

I was also looking for it and couldn't find it in the repo.

from kubenurse.

eli-halych avatar eli-halych commented on August 23, 2024

@djboris9 can you help us with that, please?

from kubenurse.

djboris9 avatar djboris9 commented on August 23, 2024

Sorry @liyongxian and @eli-halych I'm currently busy and had missed the issues.

Can you please try out this dashboard: https://github.com/djboris9/kubenurse/blob/d6b2d260ce150d69c5e39240dd3d4ea3e0e61232/doc/grafana-kubenurse.json

If it works, I will merge it into this repository and probably add it to helm too.

from kubenurse.

ywllongge avatar ywllongge commented on August 23, 2024

Thanks@[djboris9]

from kubenurse.

eli-halych avatar eli-halych commented on August 23, 2024

@djboris9
It worked! I had to change a few things in the helm chart though. I added ServiceMonitor:

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: {{ include "name" . | quote }}
  namespace: {{ .Values.namespace }}
  labels:
    release: {{ .Values.release }}
    k8s-app: {{ include "name" . | quote }}
{{ include "common-labels" . | indent 4 }}
spec:
  jobLabel: k8s-app
  endpoints:
  - port: {{ .Values.service.name }}
    interval: 30s
    scheme: http
  selector:
    matchLabels:
     app: {{ include "name" . | quote }}
  namespaceSelector:
    matchNames:
    - {{ .Values.namespace }}

and add release: prometheus label to ServiceMonitor and DaemonSet resounces. (release: {{ .Values.release }} in this case and the value itself is placed in values.yaml)

Source: https://programmer.ink/think/cluster-network-monitoring-using-kubenurse.html

from kubenurse.

djboris9 avatar djboris9 commented on August 23, 2024

Hi @eli-halych

Thanks for the feedback! I just merged the dashboard into the master branch with #40 .

I will open a new issue to incorporate and test the ServiceMonitor into the helm chart as you've written and close this issue.

Is this ok for you?

/cc @liyongxian

from kubenurse.

djboris9 avatar djboris9 commented on August 23, 2024

PR #42 implements the ServiceMonitor. Therefore I will close this issue. Feel free to provide feedback or reopen it.

from kubenurse.

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.