Menu

I built Vesper, a Kubernetes operator for ephemeral preview environments, as a way to learn Go. v0.1.0 is out

Reading 0:00
15s threshold

Hi ! I've been learning Go and the cloud-native ecosystem by building something real: **Vesper** , an operator + CLI that gives each preview environment its own namespace and deletes it when its TTL expires. What v0.1 does: - One `PreviewEnvironment` → a namespace with the restricted Pod Security profile, a ResourceQuota, a LimitRange and a default-deny NetworkPolicy - A public URL through your ingress controller (HTTPS with a wildcard cert) - A TTL from 1 minute to 7 days; when it passes, everything is gone, no orphans - `vesperctl create / list / get / extend / delete` - Prometheus metrics, signed release artifacts (build provenance attestations) The most interesting part of the journey: testing it on a real k3s VPS, I found that a preview could reach the API server and the kubelet through the node's **public** IP, because a NetworkPolicy that excludes private ranges doesn't cover it. Fixed and published as an advisory (GHSA-m437-fj8p-6x8h).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.