Steven Fitzpatrick 125ffd7237 LMA Configuration Updates
This change fixes some configurations of LMA CRs and values,
such that logs and metrics are properly visible on kibana
and grafana after workload and workload-config phase.

Also:
- Added dashboards to grafana
- Added a container to kibana which sets up the discover page
- Added the DependsOn directive was added to the workload-lma
  prometheus-elasticsearch-exporter HR
- Added NodePort bindings to LMA services in multi-tenant/lma
  subcluster

Change-Id: I14338f5cab0808654173a09494f5fde540397dcc
2021-07-13 04:45:25 +00:00

50 lines
1.2 KiB
YAML

apiVersion: "helm.toolkit.fluxcd.io/v2beta1"
kind: HelmRelease
metadata:
name: grafana
spec:
values:
adminUser: admin
adminPassword: changeme
defaultDashboardsEnabled: true
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: lma-infra-thanos
type: prometheus
url: http://monitoring-thanos-query.lma.svc.cluster.local:10902
access: server
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: default
orgId: 1
type: file
disableDeletion: false
options:
path: /var/lib/grafana/dashboards/default
dashboards:
default:
node-exporter:
gnetId: 7249
revision: 1
datasource: lma-infra-thanos
elasticsearch:
gnetId: 2322
revision: 4
datasource: lma-infra-thanos
kube-state-metrics:
gnetId: 13332
revision: 6
datasource: lma-infra-thanos
logging:
gnetId: 7752
revision: 4
datasource: lma-infra-thanos
minio:
gnetId: 13502
revision: 4
datasource: lma-infra-thanos