This is a project for starter to setup whole home in kubernetes infrastructure. Please contact me if you need my help to setup this project.
- Hardware running Linux OS
- Kubernetes with worker nodes or standalone setup
- ArgoCD for gitops
- Metrics - I prefer datadog free tier
- cert-bot operator
- persistent volume
ClusterIssuer
by nameletsencrypt
- Install Ubuntu Server & Open SSH
- Install Docker - https://docs.docker.com/engine/install/ubuntu/
- Install Kubernetes - K3s
curl -sfL https://get.k3s.io | sh -s - --write-kubeconfig-mode 644 --docker --disable traefik,local-storage,metrics-server
- Install ArgoCD -
kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- Get ArgoCD secret
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
- Expose ArgoCD UI -
kubectl port-forward svc/argocd-server -n argocd 8080:443
- Access ArgoCD https://localhost:8080 with username
admin
and password got it in step 4 - Configure Projects, Repositories
- Fork the repository, make your changes and add it as repository
- Create Application from Git and direct to
apps
folder and all the application should be created automatically.