Skip to content

Instantly share code, notes, and snippets.

@bhimsur
Last active October 1, 2024 10:50
Show Gist options
  • Save bhimsur/b6c575916883ff7712861beacbe1ff0b to your computer and use it in GitHub Desktop.
Save bhimsur/b6c575916883ff7712861beacbe1ff0b to your computer and use it in GitHub Desktop.
Installing ArgoCD on Minikube

Installing ArgoCD

  1. We will start with launching minikube cluster.
minikube start --driver=docker
  1. Create a namespace for argocd
kubectl create namespace argocd
  1. Apply ArgoCD manifest installation file from ArgoCD github repository
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.8.4/manifests/install.yaml
  1. Verify the installation by getting all the objects in the ArgoCD namespace.
kubectl get all -n argocd
  1. wait till all pods in that namespace running

Access ArgoCD UI

  1. we need to do a port forwarding from the argocd-server service
kubectl port-forward svc/argocd-server -n argocd 8080:443
  1. now lets go to browser with http://localhost:8080
  2. retrieve password from secret in argocd namespace
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
  1. the default login username is admin with the password we took above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment