Install ArgoCD

To install ArgoCD and ArgoCD CLI, use the following list of commands

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

# Install ArgoCD 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

To verify whether ArgoCD is up and running

kubectl get pods -n argocd

To expose the ArgoCD server, edit the service manifest of argo-cd server and change the ClusterIP to NodePort. To get a list of ArgoCD services:

To edit the argocd-server service manifest

Change the type from ClusterIP to NodePort

Expose the service

In order to use ArgoCD CLI, a password is required so to extract the password from the secret file and decode

Login using the ArgoCD CLI

Last updated