autoscaling.apiVersion

This commit is contained in:
shcherbak 2024-03-26 23:49:56 +02:00 committed by Boky
parent 4b46b1d173
commit e3898ed071
2 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@
{{- $fullName := include (print $chart ".fullname") . -}} {{- $fullName := include (print $chart ".fullname") . -}}
{{- $labels := include (print $chart ".labels") . -}} {{- $labels := include (print $chart ".labels") . -}}
{{- $kind := "StatefulSet" -}} {{- $kind := "StatefulSet" -}}
apiVersion: autoscaling/v2beta1 apiVersion: {{ .Values.autoscaling.apiVersion }}
kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
metadata: metadata:
name: {{ $fullName | quote }} name: {{ $fullName | quote }}

View file

@ -39,7 +39,7 @@ metrics:
annotations: {} annotations: {}
port: 9154 port: 9154
path: /metrics path: /metrics
image: image:
repository: "boky/postfix-exporter" repository: "boky/postfix-exporter"
tag: "latest" tag: "latest"
@ -95,6 +95,7 @@ autoscaling:
# targetMemoryUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80
labels: {} labels: {}
annotations: {} annotations: {}
apiVersion: "autoscaling/v2beta1"
nodeSelector: {} nodeSelector: {}
tolerations: [] tolerations: []
@ -184,7 +185,7 @@ dns:
# - 8.8.8.8 # - 8.8.8.8
# - 8.8.4.4 # - 8.8.4.4
searches: "" searches: ""
# searches: # searches:
# - "default.svc.cluster.local" # - "default.svc.cluster.local"
# - "svc.cluster.local" # - "svc.cluster.local"
# - "cluster.local" # - "cluster.local"