diff options
author | makefunstuff <[email protected]> | 2024-06-28 18:35:39 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-28 18:35:39 +0200 |
commit | 02703a96ecf343b793b02edbda97a54e186bf5b3 (patch) | |
tree | 3aa6962f0fce178235e1e3c226897641c892cb35 /tools/monitoring/values.yaml | |
parent | c6292662cd65ba74a15841c8e698e64bfbcc65cb (diff) | |
download | k3s-lab-02703a96ecf343b793b02edbda97a54e186bf5b3.tar.gz |
boom
Diffstat (limited to 'tools/monitoring/values.yaml')
-rw-r--r-- | tools/monitoring/values.yaml | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/tools/monitoring/values.yaml b/tools/monitoring/values.yaml new file mode 100644 index 0000000..195209f --- /dev/null +++ b/tools/monitoring/values.yaml @@ -0,0 +1,81 @@ +global: + namespace: monitoring + +grafana: + ingress: + enabled: true + annotations: + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" + traefik.ingress.kubernetes.io/router.tls.certresolver: "default" + traefik.ingress.kubernetes.io/redirect-entry-point: https + hosts: + - grafana.topkek.cloud + path: / + tls: + - hosts: + - grafana.topkek.cloud + secretName: grafana-tls + + datasources: + datasources.yaml: + apiVersion: 1 + datasources: + - name: Prometheus + type: prometheus + access: proxy + url: http://prometheus-server.monitoring.svc.cluster.local + isDefault: true + - name: Elasticsearch + type: elasticsearch + access: proxy + url: http://elasticsearch-master.monitoring.svc.cluster.local:9200 + jsonData: + esVersion: 7 + timeField: "@timestamp" + +prometheus: + alertmanager: + enabled: true + pushgateway: + enabled: true + server: + enabled: true + +elasticsearch: + volumeClaimTemplate: + accessModes: [ "ReadWriteOnce" ] + resources: + requests: + storage: 30Gi + +opentelemetry-collector: + config: + receivers: + otlp: + protocols: + grpc: + http: + processors: + batch: + exporters: + prometheusremotewrite: + endpoint: "http://prometheus-server.monitoring.svc.cluster.local/api/v1/write" + logging: + loglevel: debug + elasticsearch: + endpoints: ["http://elasticsearch-master.monitoring.svc.cluster.local:9200"] + index: "otel-logs-%{+yyyy.MM.dd}" + service: + pipelines: + metrics: + receivers: [otlp] + processors: [batch] + exporters: [prometheusremotewrite] + logs: + receivers: [otlp] + processors: [batch] + exporters: [logging, elasticsearch] + otelcol: + enabled: true + |