Skip to content

Commit

Permalink
HTTP Add-On: new interceptor scaling configuration (kedacore#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
t0rr3sp3dr0 authored Jun 29, 2023
1 parent 008b720 commit a11a7c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions http-add-on/templates/deployment-scaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion http-add-on/templates/scaledobject-interceptor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit a11a7c1

Please sign in to comment.