Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 912 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 912 Bytes

Prerequisites

Start minikube clusters

minikube start
minikube start -p minikube2 --apiserver-ips=192.168.1.223

Install Argo

Add clusters to Argo

argocd cluster add --label env=staging --in-cluster minikube --name staging-cluster --upsert
argocd cluster add --label env=production --insecure minikube2 --name production-cluster --upsert

Bootstrap cluster dependencies and applicationset

kubectl --context=minikube -n argocd port-forward svc/argocd-server 8080:443
argocd login localhost:8080 --insecure
argocd repo add https://github.com/sergeij/argocd.git
argocd app create cluster-dependencies --repo https://github.com/sergeij/argocd.git --path bootstrap --dest-namespace sergeij --dest-server https://kubernetes.default.svc