Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: argocd hpa defaults #1681

Merged
merged 3 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions helmfile.d/snippets/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ environments:
enabled: true
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 70
targetMemoryUtilizationPercentage: 70
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
server:
enabled: true
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 70
targetMemoryUtilizationPercentage: 70
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
resources:
controller:
requests:
Expand All @@ -36,8 +36,8 @@ environments:
memory: 2Gi
server:
requests:
cpu: 50m
memory: 256M
cpu: 100m
memory: 512M
limits:
cpu: "1"
memory: 1Gi
Expand Down
2 changes: 2 additions & 0 deletions values/argocd/argocd.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ repoServer:
maxReplicas: {{ $a.autoscaling.repoServer.maxReplicas }}
minReplicas: {{ $a.autoscaling.repoServer.minReplicas }}
targetMemoryUtilizationPercentage: {{ $a.autoscaling.repoServer.targetMemoryUtilizationPercentage }}
targetCPUUtilizationPercentage: {{ $a.autoscaling.repoServer.targetCPUUtilizationPercentage }}
resources: {{- $a.resources.repo | toYaml | nindent 4 }}

server:
Expand All @@ -43,6 +44,7 @@ server:
maxReplicas: {{ $a.autoscaling.server.maxReplicas }}
minReplicas: {{ $a.autoscaling.server.minReplicas }}
targetMemoryUtilizationPercentage: {{ $a.autoscaling.server.targetMemoryUtilizationPercentage }}
targetCPUUtilizationPercentage: {{ $a.autoscaling.server.targetCPUUtilizationPercentage }}
resources: {{- $a.resources.server | toYaml | nindent 4 }}

configs:
Expand Down