prometheus-community / helm-charts

Prometheus community Helm charts
Apache License 2.0
4.97k stars 4.98k forks source link

[kube-prometheus-stack] Grafana alerts in kube-prometheus-stack helm chart #3480

Open Vsevosemnog opened 1 year ago

Vsevosemnog commented 1 year ago

Describe the bug a clear and concise description of what the bug is.

Good day

Is there any way in kube-prometheus-stack helm chart values file to add grafana alerts like in https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml#L570

What's your helm version?

3.12.0-24

What's your kubectl version?

v1.26.0

Which chart?

kube-prometheus-stack

What's the chart version?

46.6.0

What happened?

Can`t find feature which adds grafana alerts in values.yaml to grafana in chart

What you expected to happen?

A group of fields in values.yaml to add grafana alerts

How to reproduce it?

No response

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

.

Anything else we need to know?

No response

zeritti commented 1 year ago

You can use that same field in your stack's values file:

grafana:
  alerting:

Another option is using a sidecar through

grafana:
  sidecar:
    alerts:

See also a note on provisioning alerts.

Vsevosemnog commented 1 year ago

Thanks a lot

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.