Merge "Update podManagementPolicy for Prometheus and Alertmanager"

This commit is contained in:
Zuul 2019-11-21 00:41:03 +00:00 committed by Gerrit Code Review
commit 0edd3e18de
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ metadata:
{{ tuple $envAll "alertmanager" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} {{ tuple $envAll "alertmanager" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
spec: spec:
serviceName: {{ tuple "alerts" "discovery" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }} serviceName: {{ tuple "alerts" "discovery" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
podManagementPolicy: "Parallel"
replicas: {{ .Values.pod.replicas.alertmanager }} replicas: {{ .Values.pod.replicas.alertmanager }}
selector: selector:
matchLabels: matchLabels:

View File

@ -75,6 +75,7 @@ metadata:
{{ tuple $envAll "prometheus" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} {{ tuple $envAll "prometheus" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
spec: spec:
serviceName: {{ tuple "monitoring" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }} serviceName: {{ tuple "monitoring" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
podManagementPolicy: "Parallel"
replicas: {{ .Values.pod.replicas.prometheus }} replicas: {{ .Values.pod.replicas.prometheus }}
selector: selector:
matchLabels: matchLabels: