Install and run argo cd on Kubernetes
A step-by-step guide to install and run Argo CD on a Kubernetes cluster, access its UI, and set up the CLI.
Less than 1 minute(148 words)moderate
Quick Navigation
Difficulty: Intermediate
Estimated Time: 15-25 minutes
Prerequisites: Running Kubernetes cluster, kubectl installed and configured, cluster-admin access, basic command-line familiarity
Create the argocd namespace and install Argo CD into it:
kubectl create ns argocd
kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml -n argocd
Port-forward the Argo CD server so you can reach the UI locally:
kubectl port-forward svc/argocd-server -n argocd 8080:443
Retrieve the initial admin secret:
kubectl get secret -n argocd argocd-initial-admin-secret -o yaml
Access the Argo CD UI here: https://localhost:8080/
- user : admin
- password decode base 64 password from secret
Base64 Decode and Encode - Online — Decode from Base64 format or encode into it with various advanced options. Our site has an easy to use online tool to… (www.base64decode.org)
Install CLI
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