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 # Kubezero
- fully automated one command bootstrap incl. all kubezero components - 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 - latest Grafana incl. peristence
- kube-prometheus adapter improvements / customizations - kube-prometheus adapter improvements / customizations
- integrated EFS CSI driver into Kubezero - integrated EFS CSI driver into Kubezero
- prometheus itself can be exposed via istio ingress on demand to ease development of custom metrics - 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: prometheus-operator:
defaultRules: defaultRules:
create: true create: true
coreDns: coreDns:
enabled: true enabled: true
kubeDns:
enabled: false
kubeApiServer: kubeApiServer:
enabled: true enabled: true
kubeStateMetrics: kubeStateMetrics:
@ -22,9 +26,7 @@ prometheus-operator:
kubeProxy: kubeProxy:
enabled: true enabled: true
# Disabled until we figure out how to scrape etcd with ssl client certs, scheduler/proxy/controller require https since 1.17 # Disabled until we figure out how to scrape etcd with ssl client certs
kubeDns:
enabled: false
kubeEtcd: kubeEtcd:
enabled: false enabled: false

View File

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