Add custom prometehus-operator settings

This commit is contained in:
Stefan Reimer 2020-08-06 11:52:16 +01:00
parent 396c16d6ad
commit 5a46bc784f
3 changed files with 11 additions and 4 deletions

View File

@ -7,8 +7,9 @@
# Kubezero
- fully automated one command bootstrap incl. all kubezero components
- migrated from kube-prometheuss to community helm charts for metrics
- migrated from kube-prometheuss to prometheus-operator helm charts for metrics
- latest Grafana incl. peristence
- kube-prometheus adapter improvements / customizations
- integrated EFS CSI driver into Kubezero
- prometheus itself can be exposed via istio ingress on demand to ease development of custom metrics
- backup script to export all cert-manager items between clusters

View File

@ -13,8 +13,12 @@ prometheus:
prometheus-operator:
defaultRules:
create: true
coreDns:
enabled: true
kubeDns:
enabled: false
kubeApiServer:
enabled: true
kubeStateMetrics:
@ -22,9 +26,7 @@ prometheus-operator:
kubeProxy:
enabled: true
# Disabled until we figure out how to scrape etcd with ssl client certs, scheduler/proxy/controller require https since 1.17
kubeDns:
enabled: false
# Disabled until we figure out how to scrape etcd with ssl client certs
kubeEtcd:
enabled: false

View File

@ -116,6 +116,10 @@ kubezero:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- end }}
{{- if .Values.metrics.prometheus-operator }}
prometheus-operator:
{{- toYaml .Values.metrics.prometheus-operator | nindent 8 }}
{{- end }}
argo-cd:
{{- with index .Values "argo-cd" "server" }}