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

@ -95,6 +95,7 @@ autoscaling:
# targetMemoryUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80
labels: {} labels: {}
annotations: {} annotations: {}
apiVersion: "autoscaling/v2beta1"
nodeSelector: {} nodeSelector: {}
tolerations: [] tolerations: []