netflux-kubernetes/deploy/base/kustomization.yaml

77 lines
1.9 KiB
YAML
Raw Normal View History

2022-05-02 15:26:33 +00:00
---
2022-05-02 15:27:05 +00:00
helmCharts:
- name: ingress-nginx
version: "4.1.0"
repo: https://kubernetes.github.io/ingress-nginx
includeCRDs: true
releaseName: ingress-nginx
valuesInline:
controller:
publishService:
enabled: true
metrics:
enabled: true
service:
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "10254"
- name: prometheus
version: "15.8.5"
repo: https://prometheus-community.github.io/helm-charts
includeCRDs: true
releaseName: prometheus
valuesInline: {}
2022-05-09 03:34:36 +00:00
- name: grafana
repo: https://grafana.github.io/helm-charts
version: "6.29.1"
releaseName: grafana
valuesInline:
admin:
existingSecret: grafana-credentials
# Seems to launch a failing container, disabling for now:
testFramework:
enabled: false
persistence:
enabled: false
# Note: datasources are patched in overlays to correct the URLs.
# Including here is required for the helm chart to mount the configmap
# volume.
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- isDefault: true
name: Prometheus
type: prometheus
url: http://prometheus-server
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/default
dashboards:
default:
postgresql:
gnetId: 9628
revision: 7
datasource: Prometheus
node:
gnetId: 1860
revision: 26
datasource: Prometheus
nginx-ingress:
gnetId: 9614
revision: 1
datasource: Prometheus
kubernetes-apiserver:
gnetId: 12006
revision: 1
datasource: Prometheus