- Create cluster
- Create 3 virtual machines
- Install k3s on main vm
curl -sfL https://get.k3s.io | sh -
- Get k3s token
sudo cat /var/lib/rancher/k3s/server/node-token
from main vm - Install k3s on agent vms with token
curl -sfL https://get.k3s.io | K3S_URL=https://<main node>:6443 K3S_TOKEN=<token> sh -
- Install ArgoCD
cd install
kubectl create namespace argocd
- Apply secrets
kubectl apply -f ../secrets/repo-secret.yaml
kubectl apply -f ../secrets/sops-age-secret.yaml
- Install helm
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
- Run as root:
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
helm install argo-cd argo-cd/ --namespace argocd --values values-override.yaml
- Login to ArgoCD
kubectl port-forward svc/argocd-server -n argocd 8080:443
- Get password from
argocd-initial-admin-secret
secret - Login with admin:
- Change password
- Delete
argocd-initial-admin-secret
secret
-
Notifications
You must be signed in to change notification settings - Fork 0
maxwlang/argocd-homelab
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
My homelab kubernetes stack
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published