Skip to content

Commit fa4de10

Browse files
committed
Addressing some issues
1 parent 4848390 commit fa4de10

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

deployment/helm/charts/onyx/templates/api-scaledobject.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ spec:
99
scaleTargetRef:
1010
apiVersion: apps/v1
1111
kind: Deployment
12-
name: {{ include "onyx-stack.fullname" . }}
13-
minReplicaCount: {{ .Values.api.autoscaling.minReplicas }}
14-
maxReplicaCount: {{ .Values.api.autoscaling.maxReplicas }}
12+
name: {{ include "onyx-stack.fullname" . }}-api-server
13+
minReplicaCount: {{ .Values.api.autoscaling.minReplicas | default 1 }}
14+
maxReplicaCount: {{ .Values.api.autoscaling.maxReplicas | default 10 }}
1515
pollingInterval: {{ .Values.api.autoscaling.pollingInterval | default 30 }}
1616
cooldownPeriod: {{ .Values.api.autoscaling.cooldownPeriod | default 300 }}
1717
idleReplicaCount: {{ .Values.api.autoscaling.idleReplicaCount | default 1 }}

deployment/helm/charts/onyx/templates/celery-worker-docfetching-scaledobject.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
kind: Deployment
1212
name: {{ include "onyx-stack.fullname" . }}-celery-worker-docfetching
1313
minReplicaCount: {{ .Values.celery_worker_docfetching.autoscaling.minReplicas | default 1 }}
14-
maxReplicaCount: {{ .Values.celery_worker_docfetching.autoscaling.maxReplicas | default 10 }}
14+
maxReplicaCount: {{ .Values.celery_worker_docfetching.autoscaling.maxReplicas | default 20 }}
1515
pollingInterval: {{ .Values.celery_worker_docfetching.autoscaling.pollingInterval | default 30 }}
1616
cooldownPeriod: {{ .Values.celery_worker_docfetching.autoscaling.cooldownPeriod | default 300 }}
1717
idleReplicaCount: {{ .Values.celery_worker_docfetching.autoscaling.idleReplicaCount | default 1 }}

deployment/helm/charts/onyx/templates/webserver-scaledobject.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
apiVersion: keda.sh/v1alpha1
33
kind: ScaledObject
44
metadata:
5-
name: {{ include "onyx-stack.fullname" . }}-webserver
5+
name: {{ include "onyx-stack.fullname" . }}-web-server
66
labels:
77
{{- include "onyx-stack.labels" . | nindent 4 }}
88
spec:
99
scaleTargetRef:
1010
apiVersion: apps/v1
1111
kind: Deployment
12-
name: {{ include "onyx-stack.fullname" . }}
12+
name: {{ include "onyx-stack.fullname" . }}-web-server
1313
minReplicaCount: {{ .Values.webserver.autoscaling.minReplicas }}
1414
maxReplicaCount: {{ .Values.webserver.autoscaling.maxReplicas }}
1515
pollingInterval: {{ .Values.webserver.autoscaling.pollingInterval | default 30 }}

0 commit comments

Comments
 (0)