Argo CD


Install
// check preconditions. There should be argocd namespace
kubectl get namespaces
// if absent, create it
kubectl create namespace argocd
// install ArgoCD to the cluster
k apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
// check argocd was installed
kubectl get pods -n argocd
// clean up setup
kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
// install argoCD CLI
brew install argocd
👍Useful article about installation. 👍Official docs
// expose ArgoCD UI for local experiments
kubectl port-forward svc/argocd-server -n argocd 8080:443 &
// The user is admin
// get initial password to login to ArgoCD UI
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
// more fresh way to retrieve a password
argocd admin initial-password -n argocd
// how to changet the password
argocd account update-password
GitOps (+Helm)
How does Argo CD know our application is a Helm chart? It looks for a Chart.yaml
file under path
in the Git repository
Last updated
Was this helpful?