Skip to content

Commit

Permalink
Add ability to control minimum number of replicas for Arcane.Ingestion
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vitaliy committed Oct 1, 2024
1 parent 2e609cf commit 26162ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .helm/templates/hpa-ingestion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ spec:
averageUtilization: {{ .Values.hpa.cpuTarget }}
type: Utilization
type: Resource
minReplicas: 3
minReplicas: {{ .Values.hpa.minReplicas }}
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ template "app.name" . }}-ingestion
name: {{ template "app.name" . }}-ingestion
2 changes: 1 addition & 1 deletion .helm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
environment: "Development"
replicaCount: 1

nodes:
taint: "kubernetes.sneaksanddata.com/servicenodetype"
Expand Down Expand Up @@ -27,6 +26,7 @@ hpa:
stabilizationWindow: 120
maxReplicas: 10
cpuTarget: 35
minReplicas: 1

image:
repository: arcane-ingestion
Expand Down

0 comments on commit 26162ae

Please sign in to comment.