diff --git a/jaspersoft-containers/K8s/jrs/helm/templates/hpa.yaml b/jaspersoft-containers/K8s/jrs/helm/templates/hpa.yaml index deecdf1..cddca11 100644 --- a/jaspersoft-containers/K8s/jrs/helm/templates/hpa.yaml +++ b/jaspersoft-containers/K8s/jrs/helm/templates/hpa.yaml @@ -1,5 +1,5 @@ {{- if .Values.autoscaling.enabled }} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ include "jrs.fullname" . }} diff --git a/jaspersoft-containers/K8s/scalableQueryEngine/helm/templates/hpa.yaml b/jaspersoft-containers/K8s/scalableQueryEngine/helm/templates/hpa.yaml index 2dd1f71..2afff5b 100644 --- a/jaspersoft-containers/K8s/scalableQueryEngine/helm/templates/hpa.yaml +++ b/jaspersoft-containers/K8s/scalableQueryEngine/helm/templates/hpa.yaml @@ -1,5 +1,5 @@ {{- if and .Values.autoscaling.enabled (not .Values.customMetricScaling.enabled) -}} -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ include "queryEngine.fullname" . }} @@ -33,4 +33,4 @@ spec: averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} {{- end }} -{{- end -}} \ No newline at end of file +{{- end -}}