Setup
Install ArgoCD into the Cluster
kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
Install the argocd command line util
brew install argocd
To expose the Argo CD API server via load balancer or ingress see: https://argo-cd.readthedocs.io/en/stable/getting_started/
To Port-Forward the Ago CD API: (Required for argocd commands)
kubectl port-forward svc/argocd-server -n argocd 8080:443
Update Admin Password
argocd admin initial-password -n argocd
kgDvPDVUeEb5GGfv This password must be only used for first time login. We strongly recommend you update the password using `argocd account update-password`.
Login
argocd login <ARGOCD_SERVER>
Update Pasword
argocd account update-password
Creating A Sample Project
argocd app create simple --repo https://github.com/argoproj/argocd-example-apps.git --path kustomize-guestbook --dest-server https://kubernetes.default.svc --dest-namespace default
This project is located in https://github.com/argoproj/argocd-example-apps/tree/master/kustomize-guestbook
Multi-Level Cluster Test
argocd app create dev --repo https://github.com/johnmehan/argocd.git --path cluster/dev jmehan@lp-jmehan-mac argocd % argocd app create dev --repo https://github.com/johnmehan/argocd.git --path cluster/dev --dest-server https://kubernetes.default.svc --dest-namespace default
References
Refererence | URL |
---|---|
Getting Started | https://argo-cd.readthedocs.io/en/stable/getting_started/ |