From 29cdf8f86dfcf2312bc77eeb6e8aa375195aa1a7 Mon Sep 17 00:00:00 2001 From: jreckner Date: Tue, 25 Apr 2023 11:14:31 -0400 Subject: [PATCH 1/2] Update hpa.yaml --- jaspersoft-containers/K8s/jrs/helm/templates/hpa.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" . }} From f977c7fe7049c5e7b62df5ee3444ff7e20989551 Mon Sep 17 00:00:00 2001 From: jreckner Date: Tue, 25 Apr 2023 11:15:10 -0400 Subject: [PATCH 2/2] Update hpa.yaml --- .../K8s/scalableQueryEngine/helm/templates/hpa.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -}}