From e9680d3fe658539b03a94eddfdc72429d45eb598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20T=C3=B4rres?= Date: Fri, 23 Jun 2023 15:27:05 -0700 Subject: [PATCH] new interceptor scaling configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pedro Tôrres --- http-add-on/templates/deployment-scaler.yaml | 2 -- http-add-on/templates/scaledobject-interceptor.yaml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/http-add-on/templates/deployment-scaler.yaml b/http-add-on/templates/deployment-scaler.yaml index 90423b37..defffdc3 100644 --- a/http-add-on/templates/deployment-scaler.yaml +++ b/http-add-on/templates/deployment-scaler.yaml @@ -65,8 +65,6 @@ spec: value: "{{ .Chart.Name }}-{{ .Values.interceptor.admin.service }}" - name: KEDA_HTTP_SCALER_TARGET_ADMIN_PORT value: "{{ default 9091 .Values.interceptor.admin.port }}" - - name: KEDA_HTTP_SCALER_TARGET_PENDING_REQUESTS_INTERCEPTOR - value: "{{ default 200 .Values.scaler.pendingRequestsInterceptor }}" resources: {{- toYaml .Values.scaler.resources | nindent 10 }} terminationGracePeriodSeconds: 10 diff --git a/http-add-on/templates/scaledobject-interceptor.yaml b/http-add-on/templates/scaledobject-interceptor.yaml index 32e66825..bcdc7738 100644 --- a/http-add-on/templates/scaledobject-interceptor.yaml +++ b/http-add-on/templates/scaledobject-interceptor.yaml @@ -15,4 +15,4 @@ spec: - type: external metadata: scalerAddress: "{{ .Chart.Name }}-{{ .Values.scaler.service }}:{{ default 9091 .Values.scaler.grpcPort }}" - host: interceptor + interceptorTargetPendingRequests: "{{ default 200 .Values.scaler.pendingRequestsInterceptor }}"