Skip to content

Commit

Permalink
new interceptor scaling configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Tôrres <pedrotorres@microsoft.com>
  • Loading branch information
t0rr3sp3dr0 committed Jun 23, 2023
1 parent 56b0749 commit e9680d3
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 e9680d3

Please sign in to comment.