mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-13 11:17:30 +00:00
- add loki-stack HelmRelease to install Loki and Promtail in the monitoring namespace - make the loki-stack HelmRelease depend on kube-prometheus-stack to install Loki's datasource and service monitors in the correct order - add a Grafana dashboard for displaying and filtering the Flux controllers JSON logs Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
16 lines
428 B
YAML
16 lines
428 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: flux-system
|
|
resources:
|
|
- podmonitor.yaml
|
|
configMapGenerator:
|
|
- name: flux-grafana-dashboards
|
|
files:
|
|
- dashboards/control-plane.json
|
|
- dashboards/cluster.json
|
|
- dashboards/logs.json
|
|
options:
|
|
labels:
|
|
grafana_dashboard: "1"
|
|
app.kubernetes.io/part-of: flux
|
|
app.kubernetes.io/component: monitoring
|