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

feat(argo-cd): Adding ARGOCD_API_SERVER_REPLICAS environment variable #2750

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bdun1013
Copy link
Contributor

@bdun1013 bdun1013 commented Jun 6, 2024

Resolves #2749 - Adding ARGOCD_API_SERVER_REPLICAS environment variable to server when autoscaling is not enabled

Checklist:

  • I have bumped the chart version according to versioning
  • I have updated the documentation according to documentation
  • I have updated the chart changelog with all the changes that come with this pull request according to changelog.
  • Any new values are backwards compatible and/or have sensible default.
  • I have signed off all my commits as required by DCO.
  • My build is green (troubleshooting builds).

@bdun1013 bdun1013 changed the title #2749 Adding ARGOCD_API_SERVER_REPLICAS environment variable feat(argo-cd): Adding ARGOCD_API_SERVER_REPLICAS environment variable Jun 6, 2024
@@ -76,6 +76,10 @@ spec:
{{- with (concat .Values.global.env .Values.server.env) }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- if not .Values.server.autoscaling.enabled }}
Copy link
Member

@pdrastil pdrastil Jun 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This condition enables HPA that scales server between min and max number of replicas. It's not a fixed a number stated below.

For HPA it should be probably minimum number of replicas, without HPA this could be fixed number of replicas defined as of now.

Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/high_availability/#argocd-server

@bdun1013 bdun1013 force-pushed the 2749-server-replicas-env-var branch from b07d4ec to d8f92a2 Compare June 10, 2024 20:46
@bdun1013 bdun1013 force-pushed the 2749-server-replicas-env-var branch 2 times, most recently from 3bd776a to ca39977 Compare June 13, 2024 18:19
@bdun1013 bdun1013 force-pushed the 2749-server-replicas-env-var branch from ca39977 to 4a51721 Compare August 2, 2024 16:08
…to server when autoscaling is not enabled

Signed-off-by: Brian Dunnigan <[email protected]>
@bdun1013 bdun1013 force-pushed the 2749-server-replicas-env-var branch from dfc794e to ff411cc Compare August 20, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Argo CD Server ARGOCD_API_SERVER_REPLICAS environment variable should be set
3 participants