Fix optional prometheus support
This commit is contained in:
parent
943a2080b7
commit
4d5a6b72d1
5
charts/kubezero-logging/delete_zdt-logging.sh
Executable file
5
charts/kubezero-logging/delete_zdt-logging.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# We only need to delete the service monitor and virtual service, others will be taken over by the new chart and we dont loose data
|
||||
kubectl delete -n logging VirtualService kibana-logging
|
||||
kubectl delete -n logging ServiceMonitor es-logging
|
@ -16,7 +16,9 @@ spec:
|
||||
node.data: true
|
||||
node.ingest: true
|
||||
node.ml: false
|
||||
{{- if $.Values.es.prometheus }}
|
||||
prometheus.indices: false
|
||||
{{- end }}
|
||||
{{- if .zone }}
|
||||
node.attr.zone: {{ .zone }}
|
||||
cluster.routing.allocation.awareness.attributes: zone
|
||||
|
Loading…
Reference in New Issue
Block a user