- Create namespace and install ArgoCD inside k8s cluster.
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- Get all the services created by argocd
kubectl get svc -n argocd
- Open the argocd-server in GUI inside browser by forwarding port
kubectl port-forward -n argocd svc/argocd-server 8000:443
- Login with a username and password The initial password for the admin account is auto-generated and stored as clear text in the field password in a secret named argocd-initial-admin-secret in your Argo CD installation namespace. You can simply retrieve this password using kubectl:
Default username: admin
- Get password
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
Create a new app and connect your github repo for the configuration file, leave revision as HEAD. If you are using SSH, then make sure you are adding your private key in Settings->Repositories
- Sync the application once it is done.