WeSearch

Show HN: Superkube - Rewriting Kubernetes in Rust

·13 min read · 0 reactions · 0 comments · 3 views
#kubernetes#rust#containerization#cloud-native#distributed-systems
Show HN: Superkube - Rewriting Kubernetes in Rust
⚡ TL;DR · AI summary

Superkube is a minimal, single-binary Kubernetes-compatible control plane written in Rust, designed to be simple and production-ready over time. It supports core Kubernetes workloads, networking, RBAC, scheduling, and observability features using standard kubectl commands. The system enables multi-master setups via PostgreSQL, with coordination through short-lived leases for controllers and schedulers.

Key facts
Original article
GitHub
Read full at GitHub →
Opening excerpt (first ~120 words) tap to expand

Superkube A minimal, single-binary Kubernetes-compatible control plane in Rust. Building it just because I want to build it. PS: I am working towards making this platform production grade. superkube server boots the API server and registers the host as a node — one process, one binary, real containers running through Docker (macOS) or libcontainer (Linux), accessible from real kubectl. What works kubectl-shaped API: discovery, table responses, cluster-info, get all, describe, logs -f, exec, port-forward. Workloads: Pods, Deployments, StatefulSets, DaemonSets — each with their own controller loop. Networking: Services (ClusterIP, NodePort, LoadBalancer), Endpoints; a userspace NodePort proxy on every node forwards to local pods. Configuration: ServiceAccount, Secret, ConfigMap.

Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from GitHub