r/coolgithubprojects • u/xShd0wX • 3h ago
I build a one-command to bootstrap any kubernetes cluster
Hello, I'm working as SRE for years and one of my job was to setup again and again each kubernetes cluster from scratch project after project.
So instead of repeating myself, I start to develop https://github.com/kinopshq/core which help anyone to bootstrap their fresh kubernetes cluster into a usable platform in under 30min. (~13min in my env)
Everything is open source and runs on your own machines and disks. No managed cloud service.
What it install in details
- GitOps with argocd
- HTTPS with Let's Encrypt
- Secret manager
- database postgres with PITR
- Monitoring stack: Prometheus (passthrough mode), Grafana, VictoriaMetrics, VictoriaLogs
- S3-compatible storage inside your cluster. Postgres and the metrics history are backed up to it after installation
- Network policies on the platform's components, deny by default with Cilium (optional, recommended)
Limitation: the S3 server runs in the same cluster, so it protects you from software failures (a corrupted database, a bad migration) but not from losing the hardware. For that, point backups at an external target.
If you are curious, you can try and install it in one command in your minikube. It installs into your current kubectl context. (you will need kubectl, helm and git as pre-requisite and ofc a minikube cluster):
curl -fsSL https://raw.githubusercontent.com/kinopshq/core/main/scripts/try.sh | bash
After that, you'll have a complete, ready-to-use Kubernetes platform running locally. Happy to hear any feedback or question !
