How to install Argo CD on Kubernetes using Helm or Terraform?

What is Argo CD?

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.

Install Argo CD using helm

Add helm repository first and install it (it will install without HA and there is an option to make it with HA)

helm repo add argo https://argoproj.github.io/argo-helm

helm install argo-cd argo/argo-cd --version 5.53.9

Install Argo CD using helm (with HA mode with autoscaling)

Prepare values-ha.yaml file with such configuration

redis-ha:
  enabled: true

controller:
  replicas: 1

server:
  autoscaling:
    enabled: true
    minReplicas: 2

repoServer:
  autoscaling:
    enabled: true
    minReplicas: 2

applicationSet:
  replicas: 2

And install a chart with values-ha.yaml

helm install -f values-ha.yaml argo-cd argo/argo-cd --version 5.53.9

Install Argo CD using helm (with HA mode without autoscaling)

Or there is an option to prepare values-ha-without-autoscaling.yaml

redis-ha:
  enabled: true

controller:
  replicas: 1

server:
  replicas: 2

repoServer:
  replicas: 2

applicationSet:
  replicas: 2
helm install -f values-ha-without-autoscaling.yaml argo-cd argo/argo-cd --version 5.53.9

Install Argo CD using Terraform

Like option you could use also terraform.

Here is our open-source module for deploying argo-cd inside Kubernetes.

https://registry.terraform.io/modules/devdynamicio/argocd/kubernetes/latest

Leave a Reply

Your email address will not be published. Required fields are marked *