- Prepare repository of the application in github: created service.yaml, deployment.yaml files
- install argoCD from the internet.
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
free -h # check free mem space on WSL
kubectl get svc -n argocd # get services running in argocd namespace
kubectl port-forward -n argocd svc/argocd-server 8080:443 # forward ports locally
- Login as default user admin. The password in secrets argocd-initial-admin-secret
kubectl get secret argocd-initial-admin-secret -n argocd -o yaml
echo TXZhOGRIaWI3WTVnLXlyRg== | base64 --decode
- create application.yaml and make sure that it corresponds to documentation
- create namespace 'myapp' in k8s
- ArgoCD doesn't know anything about our repository so to apply configuration do:
kubectl apply -f application.yaml
- See synced project in 127.0.0.1:8080 you can find it.
change deployment.yaml