frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: We built instant Kubernetes provisioning with KVM and gRPC

2•didierbreedt•1h ago
We've spent the last year building RunOS, a platform that spins up production-ready Kubernetes clusters in 5-10 minutes with databases, message queues, observability, and AI tooling configured.

The Problem

Every team rebuilds the same Kubernetes infrastructure: networking, certificates, monitoring, databases, storage. The existing solutions either lock you into a vendor ecosystem or dump you into raw Kubernetes complexity. We wanted the control of self-hosting without weeks of setup.

Architecture

Our system uses two agent types:

Server agents run on VM hosts and communicate with our backend via gRPC bidirectional streams. When users request a cluster node, the agent provisions a KVM-based VM and bootstraps it.

Node agents run on each Kubernetes node and handle cluster operations, monitoring, and service installations.

Key insight: gRPC streams initiated by agents eliminate firewall configuration and public IP requirements. Agents reach out to our backend, not vice versa.

Why KVM?

- Battle-tested, works great with Ubuntu

- Solid Go bindings via libvirt

- Excellent GPU passthrough for AI workloads like Ollama

- Good isolation/performance balance

Sometimes boring technology is the right choice.

Provisioning Flow

1. User clicks "Create Cluster"

2. Backend selects available server agents

3. gRPC commands sent to provision VMs

4. KVM VMs spin up (Ubuntu Cloud 24.04, 30-60 seconds)

5. Node agents install and connect

6. Kubernetes bootstrap with kubeadm + Cilium

7. WireGuard mesh established between nodes

8. Storage configured (OpenEBS + Longhorn)

9. Cluster ready (5-10 minutes total)

The WireGuard Decision

We manage WireGuard at the OS level, not Kubernetes level. Why?

- Same VPN secures both K8s traffic and SSH access

- Nodes communicate securely even if Kubernetes fails

- Simpler troubleshooting with separated layers

- Easier multi-cluster peering (coming soon)

Our backend orchestrates WireGuard configs across nodes via the agents. Centrally coordinated, locally executed.

Version Management Hell

The hardest problem? Keeping 20+ services compatible across updates.

The platform supports one-click installation of: PostgreSQL, MySQL, ClickHouse, Kafka, RabbitMQ, MinIO, Longhorn, Harbor, Traefik, Grafana, Prometheus, Ollama, LiteLLM, Open WebUI, and more.

Each has opinions about K8s versions, storage, and networking. We use Helm charts, operators, and custom YAML as appropriate. The real work is maintaining compatibility matrices and testing every combination.

Deployment Models

Managed option: Dedicated servers with fixed 8 CPU/16GB instances. KVM handles VM provisioning with GPU passthrough for AI workloads. Strict security since it's early access.

Self-hosted option: Run node agents on any hardware. Complete tenant isolation since you control infrastructure.

Working on: Self-managed VM hosts with custom sizing.

What's Next

The agent code will be open source eventually. One company runs three production clusters already. Common feedback: "I can't believe how fast I went from zero to a working cluster with Postgres, Kafka, and monitoring."

We're planning weekly updates here on HackerNews about new features, technical challenges, and production lessons learned building RunOS.

Questions? Happy to discuss architecture in the comments.

Beyond These Stars

https://store.steampowered.com/app/2295060/Beyond_These_Stars/
1•doener•2m ago•0 comments

Simplification

https://netwars.pelicancrossing.net/2025/11/14/simplification/
1•ColinWright•3m ago•0 comments

New Upcoming City Building Games in 2026 [video]

https://www.youtube.com/watch?v=OP6OjwowbMQ
1•doener•3m ago•0 comments

Kagi Bloopers – Search Results Gone Wrong

https://help.kagi.com/kagi/bloopers/
1•embedding-shape•3m ago•0 comments

The Two Jobs of a CPO

https://staysaasy.com/product/2025/11/11/two-jobs-of-a-cpo.html
1•thisismytest•4m ago•0 comments

End of The Line: how Saudi Arabia's Neom dream unravelled

https://www.ft.com/register/access
1•doener•11m ago•0 comments

Wikipedia Co-Founder Jimmy Wales Snaps at Podcast Host, Storms Out of Interview

https://www.freepressjournal.in/viral/wikipedia-co-founder-jimmy-wales-snaps-at-podcast-host-stor...
3•qwertox•14m ago•0 comments

DIY IKEA Backpack

https://web.archive.org/web/20180328124526/http://sandiegomitch.com/backpacking.html
1•tosh•16m ago•0 comments

Show HN: TasksLink – configure and send checklists to others

https://www.taskslink.com/
1•mox-1•17m ago•0 comments

Go-Agent

https://github.com/Protocol-Lattice/go-agent
1•raezil12•20m ago•1 comments

Jimmy Wales, Wikipedia's founder/co-founder – Jung and Naiv: Episode 792 [video]

https://www.youtube.com/watch?v=uswRbWyt_pg
2•qwertox•22m ago•2 comments

Show HN: Turn Any Website into AI Knowledge Base Using N8n [video]

https://www.youtube.com/watch?v=YYCBHX4ZqjA
1•ahmedelhadidi•22m ago•0 comments

Bobibos Value Expert Good Innovation, but Needs Good Test Before Mass Use

https://voi.id/en/news/533832
1•salkahfi•29m ago•0 comments

The Lightest FPS Game

https://free-visit.net
1•tmilard•32m ago•1 comments

Alice Wong Has Died

https://disabilityvisibilityproject.com/about/
2•Avshalom•34m ago•1 comments

I know you don't want them to want AI, but

https://www.anildash.com//2025/11/14/wanting-not-to-want-ai/
1•ryanleesipes•35m ago•0 comments

The twin probes just launched toward Mars have an Easter egg on board

https://arstechnica.com/space/2025/11/the-twin-probes-just-launched-toward-mars-have-an-easter-eg...
1•pseudolus•37m ago•0 comments

U.S. Congress considers ban on Chinese collaborations

https://www.science.org/content/article/u-s-congress-considers-sweeping-ban-chinese-collaborations
3•Anon84•41m ago•0 comments

Web Dev Has Never Been This Easy

https://blog.lohr.dev/ai-web-development
1•michidk•47m ago•0 comments

Can Language Models Optimize Real-World Repositories on Real Workloads?

https://swefficiency.com/
1•stared•59m ago•0 comments

Show HN: Palettt – AI Powered Color Palette Generator

https://palettt.com
1•mustafaiste•1h ago•0 comments

I rode in one of the UK's first self-driving cars

https://www.theverge.com/report/820324/wayve-driverless-robotaxi-london
1•TMWNN•1h ago•0 comments

What the humans like is responsiveness

https://sashachapin.substack.com/p/what-the-humans-like-is-responsiveness
1•eatitraw•1h ago•0 comments

Shepard Tone

https://en.wikipedia.org/wiki/Shepard_tone
2•dilawar•1h ago•0 comments

How Much LEGO Is Too Much? [video]

https://www.youtube.com/watch?v=cu88t9jlwU0
2•zeristor•1h ago•0 comments

No Shorts Please Hidden YouTube RSS Feed URLs

https://blog.amen6.com/blog/2025/01/no-shorts-please-hidden-youtube-rss-feed-urls/
1•Noghartt•1h ago•0 comments

Should Hitler's DNA have been studied – or just left alone?

https://www.bbc.com/news/articles/c5ylw4pz83do
3•c-oreills•1h ago•1 comments

Edible Robots: Safe and Biodegradable Tech

https://spectrum.ieee.org/soft-edible-robot
1•pseudolus•1h ago•0 comments

Show HN: MuseGen – Tired of juggling AI tools, I built a unified creative studio

https://musegen.org/
1•qinggeng•1h ago•0 comments

Show HN: We built instant Kubernetes provisioning with KVM and gRPC

2•didierbreedt•1h ago•0 comments