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

how to reuse grafana and prometheus #769

Closed
jainpratik163 opened this issue Oct 7, 2024 · 5 comments
Closed

how to reuse grafana and prometheus #769

jainpratik163 opened this issue Oct 7, 2024 · 5 comments

Comments

@jainpratik163
Copy link

we already have Prometheus/grafana/node-exporter/metric server already installed in our eks env.
so how can we use this k8s-monitoring helm chart?

Are there any grafana dashboards shared?

@skl
Copy link
Member

skl commented Oct 7, 2024

You can disable each dependent deployment using the enabled value of each subchart entry.

For example, to disable node exporter and kube-state-metrics from being deployed you can use these values.

Note that you may also need to set the labelMatchers to discover your existing deployments if they don't match the defaults:

metrics:
  kube-state-metrics:
    enabled: true
    labelMatchers:
      app.kubernetes.io/name: kube-state-metrics

  node-exporter:
    enabled: true
    labelMatchers:
      app.kubernetes.io/name: prometheus-node-exporter.*

kube-state-metrics:
  enabled: false

prometheus-node-exporter:
  enabled: false

For dashboards compatible with k8s-monitoring-helm chart, you can use Grafana Cloud Kubernetes Monitoring or the open-source kubernetes-mixin.

@jainpratik163
Copy link
Author

thanks for the update, one more doubt if we install this k8s-monitoring-helm chart will this also install all dashboard?

@skl
Copy link
Member

skl commented Oct 8, 2024

@jainpratik163 the k8s-monitoring-helm chart does not include any dashboards, alerting or recording rules.

See here for more details on what is deployed:

@marcomusso
Copy link

It would be nice to have a flag "provision compatible dashboards to a grafana instance" (not trivial but definitely a nice step towards a complete solution for k8s).

@petewall
Copy link
Collaborator

petewall commented Nov 6, 2024

Rule syncing will be tracked in this issue: #564.
I'm less interested in dashboard syncing, because this chart does not create, manage, or really know about Grafana at all. You can put dashboards in the Grafana Helm chart.

I'm going to close this, since @skl has answered the original question.

@petewall petewall closed this as completed Nov 6, 2024
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

4 participants