Argo CD Installation: Install on Kubernetes Step by Step

an engineer's hands connecting an aluminum server to a laptop on a neat workbench, cluster installation

An Argo CD installation takes two commands on a fresh cluster, but the choices around those commands decide whether the setup survives its first upgrade. This guide walks through each step in order: choosing the right install manifest, applying it, checking every component, installing the CLI, exposing the web UI, securing the admin account and pinning a version you can upgrade on purpose.

Everything here uses the official manifests published in the argoproj/argo-cd repository. If you only want a quick sandbox to learn with, the Argo CD tutorial uses a shorter path.

Prerequisites

  • A running Kubernetes cluster: managed (EKS, GKE, AKS), self-hosted, or local with kind, minikube or k3d.
  • kubectl pointing at that cluster, with permission to create namespaces, CRDs and cluster-wide RBAC objects.
  • Outbound internet access from your workstation to raw.githubusercontent.com and from the cluster to your Git hosts and container registries.
  • For production: a DNS name and TLS certificate for the Argo CD server, plus a plan for SSO.

Choose the right install manifest

The project ships several manifests under manifests/. Picking the wrong one is the most common reason people reinstall later.

ManifestWhat it installsUse it when
install.yamlAll components, single replica each, cluster-wide permissionsEvaluation, development and small production setups
ha/install.yamlSame components with multiple replicas and Redis HAProduction where the UI, API and sync must survive node loss
namespace-install.yamlComponents with permissions limited to namespaces you grantShared clusters where Argo CD must not hold cluster-admin rights
core-install.yamlHeadless core without the UI, API server or DexPlatform teams that drive Argo CD purely through Kubernetes resources and the CLI

The HA manifest needs at least three worker nodes, because pod anti-affinity spreads replicas across nodes. Start with install.yaml if you are unsure; you can move to HA later by applying the HA manifest over the top.

Step 1: Create the namespace and apply the manifest

kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

The stable path always tracks the newest stable release. That is fine for a first look, but for anything long-lived you should pin a specific tag, covered below.

Some Argo CD CRDs are large enough to exceed the annotation size limit that client-side kubectl apply relies on. If you see an error such as "metadata.annotations: Too long", re-run the command with --server-side --force-conflicts. Recent versions of the official docs recommend server-side apply for this reason.

kubectl apply -n argocd --server-side --force-conflicts \
  -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

Step 2: Verify the components

Watch the pods come up:

kubectl get pods -n argocd
kubectl get deploy,statefulset -n argocd

A healthy non-HA install shows these workloads, all ready:

WorkloadKindRole
argocd-serverDeploymentAPI server and web UI
argocd-repo-serverDeploymentClones repositories and renders Helm, Kustomize, Jsonnet or plain YAML
argocd-application-controllerStatefulSetCompares live and desired state, runs syncs, reports health
argocd-applicationset-controllerDeploymentGenerates Applications from ApplicationSet templates
argocd-dex-serverDeploymentOptional SSO broker for GitHub, GitLab, LDAP, SAML and others
argocd-redisDeploymentCache for rendered manifests and cluster state
argocd-notifications-controllerDeploymentSends Slack, email, Teams and webhook notifications

If a pod is stuck in Pending, check node capacity with kubectl describe pod. If one crash-loops, its logs usually name the problem: kubectl logs -n argocd deploy/argocd-repo-server or kubectl logs -n argocd statefulset/argocd-application-controller. The troubleshooting guide covers the usual suspects.

Step 3: Install the argocd CLI

The CLI is optional, since everything can be done with the UI or with kubectl, but it makes logins, diffs and syncs much faster.

macOS and Linux with Homebrew

brew install argocd

Linux, manual install

curl -sSL -o argocd-linux-amd64 https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64
sudo install -m 555 argocd-linux-amd64 /usr/local/bin/argocd
rm argocd-linux-amd64

Replace amd64 with arm64, ppc64le or s390x to match your machine.

Windows

Download argocd-windows-amd64.exe from the GitHub Releases page, rename it to argocd.exe and place it in a folder on your PATH. Community packages for winget, Chocolatey or Scoop may also be available. Check with argocd version --client. Our Argo CD download guide lists every binary and archive.

Step 4: Reach the API server and web UI

By default the argocd-server Service is ClusterIP, so nothing is exposed outside the cluster. Pick one of three approaches.

Port-forward (development)

kubectl port-forward svc/argocd-server -n argocd 8080:443

Open https://localhost:8080 and accept the self-signed certificate warning.

LoadBalancer Service

kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "LoadBalancer"}}'
kubectl get svc argocd-server -n argocd

Your cloud provider assigns an external address. This is quick, but it puts the API directly on the network, so restrict source ranges and replace the self-signed certificate.

Ingress (most production setups)

Argo CD serves both HTTPS and gRPC on the same port, which needs care behind an Ingress controller. The two common patterns are TLS passthrough to argocd-server, or terminating TLS at the Ingress and running the server in insecure mode by setting server.insecure: "true" in the argocd-cmd-params-cm ConfigMap and restarting argocd-server. If your Ingress cannot carry gRPC, log in with argocd login <host> --grpc-web. The official docs list controller-specific examples for ingress-nginx, Traefik, AWS ALB and others.

Step 5: Log in and secure the admin account

The built-in user is admin, with a random password stored in a Secret at install time:

argocd admin initial-password -n argocd
argocd login localhost:8080 --username admin --insecure
argocd account update-password
kubectl -n argocd delete secret argocd-initial-admin-secret

Without the CLI you can read the same password with kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d. In production, configure SSO through Dex or a direct OIDC provider and consider disabling the local admin account afterwards. The Argo CD login guide covers both.

Step 6: Register additional clusters (optional)

Argo CD can always deploy to the cluster it runs in. To manage another cluster, make sure its context is in your kubeconfig, then:

kubectl config get-contexts -o name
argocd cluster add <context-name>

The CLI creates a service account in the target cluster and stores its credentials in Argo CD. Run argocd cluster list to confirm the connection.

Pin a version and plan upgrades

Installing from stable means the next kubectl apply silently pulls whatever is newest. For predictable environments, reference a release tag instead and keep the URL, or a vendored copy of the manifest, in Git:

kubectl apply -n argocd --server-side --force-conflicts \
  -f https://raw.githubusercontent.com/argoproj/argo-cd/<release-tag>/manifests/install.yaml

Take the tag from the releases page. To upgrade, read the upgrade notes for every minor version you are crossing, then apply the newer tag's manifest the same way. Avoid skipping several minor versions in one jump on production clusters; step through them and verify sync behaviour after each. Many teams eventually let Argo CD manage its own installation through Kustomize or the Argo CD Helm chart, which makes upgrades a reviewed pull request.

Uninstall cleanly

Delete your Applications first so their finalizers can run, then remove the install with the same manifest you applied:

kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
kubectl delete namespace argocd

Removing the CRDs also removes any remaining Application and AppProject objects, so back up anything you have not stored in Git.

Production checklist after your Argo CD installation

A working install is not yet a production install. Before you hand Argo CD to other teams, run through this list:

  1. TLS: replace the self-signed certificate with one your users and the CLI trust.
  2. Identity: configure SSO and map groups to roles in argocd-rbac-cm; keep the local admin account for break-glass use only, or disable it.
  3. Projects: create AppProjects that limit which repositories, clusters and namespaces each team can target, instead of putting everything in default.
  4. Webhooks: add Git webhooks pointing at https://<argocd-host>/api/webhook so changes sync in seconds rather than after the polling interval.
  5. Observability: scrape the Prometheus metrics the components expose and alert on apps stuck OutOfSync or Degraded.
  6. Configuration as code: keep ConfigMaps, Secrets references and Applications in Git so the whole setup can be rebuilt.

Frequently asked questions

Should I install Argo CD with plain manifests or the Helm chart?

Both are valid. The plain manifests are maintained in the main Argo CD repository and are the simplest way to start. The community Helm chart from argo-helm is convenient when you already manage cluster add-ons with Helm and want all configuration in one values file.

Does Argo CD have to run in the argocd namespace?

The official manifests assume the argocd namespace, and several defaults reference it. Using a different namespace is possible but needs extra changes, such as adjusting the ClusterRoleBinding subjects, so stick with argocd unless you have a clear reason not to.

How much capacity does an Argo CD installation need?

A small non-HA install runs comfortably on a development cluster. Resource needs grow with the number of applications, clusters and repositories, mostly in the application controller and repo server. Watch their memory and CPU after go-live and scale or shard them as the estate grows.

Can I install Argo CD without cluster-admin permissions?

Partly. The namespace-install manifest avoids cluster-wide roles for Argo CD itself, but the CRDs still have to be created once by someone with cluster-level rights. After that, Argo CD can manage resources only in the namespaces you grant it.

Next steps

With Argo CD running, deploy something real in the Argo CD tutorial, connect private repositories with Argo CD with GitHub and GitLab, or check the installation summary and download options on the homepage.