INSERT COIN — PITCH AN IDEA

Got something worth a cabinet? One coin, one pitch. I read every one.

PROCESSING CREDIT…
CREDIT ACCEPTED
idea launched — I'll ping you soon
+1 CREDIT · PLAYER TWO JOINED
← BACK TO THE FLOOR
SYSTEM 03 · MISSION BRIEFING

Bosun

A Kubernetes operator and internal platform in miniature, in Go — one object becomes a whole stack.

ROLESOLO — EVERYTHING
TIMELINE2026 — PRESENT
STACKGO · KUBERNETES · CONTROLLER-RUNTIME
Live capture of the one-command demo on a machine with no cluster: kind comes up, kube-prometheus-stack, CloudNativePG and the Redpanda operator install, the manager starts out-of-cluster, and one PaymentStack becomes two apps, a Postgres cluster and two topics. The run then asserts Ready off the API server, Prometheus scraping both apps with the generated alert rules loaded, and Grafana serving both generated dashboards — 4m28s elapsed. A phase log and a closing kubectl get replay the whole set.

LEVEL 1THE PROBLEM

Getting a real system onto a cluster is a paperwork problem. The Payment Rail stack alone is a handful of Deployments and Services, a Postgres, a broker, secrets, and the ordering between them — and every environment retypes it by hand. An operator is the standard answer: teach the cluster one noun, then let a controller keep reality matching it. Bosun is my attempt at that noun and that controller — opinionated CRDs and a golden path that turn "I want this environment" into something a cluster reconciles. It was built in the open, milestone by milestone, and it is finished — so this page describes what shipped, including the things it deliberately never does.

LEVEL 2THE BUILD

Three CRDs and three reconcilers in one Go module. ManagedApp is the unit — image, replicas and port, because a field the operator would only store is a promise it does not keep. Its controller server-side applies the Deployment, the Service and four observability objects it owns under its own field manager, claiming only the Service port list exclusively, writes Ready and Progressing conditions back against the observed generation, and holds a finalizer that tears the children down in order. PaymentStack is the golden path: apps, a CloudNativePG database and Redpanda topics, composed as unstructured objects — for the database and the topics the repo vendors CRD YAML for envtest and imports no Go SDK. PreviewEnvironment is that same stack on a deadline. The loop is level-triggered with no periodic resync anywhere.

Bosun operator architecture at v1.0 kubectl applies a PreviewEnvironment, a PaymentStack or a ManagedApp to a local kind cluster's API server. Bosun's manager runs three controllers: the PreviewEnvironment controller creates the child PaymentStack it owns and deletes it when the TTL deadline passes; the PaymentStack controller composes one to ten ManagedApps it owns plus a CloudNativePG cluster and Redpanda topics, built as unstructured objects; the ManagedApp controller server-side applies the Deployment and Service each ManagedApp owns, writes Ready and Progressing conditions back to the resource, holds a finalizer that removes the children in order, and applies one observability set — a ServiceMonitor, a PrometheusRule, an OpenTelemetry collector and a dashboard ConfigMap — that an externally installed Prometheus scrapes and no controller watches. Only what runs is drawn: Prometheus and Grafana are installed by the demo rather than by Bosun, and the Argo CD manifests, the External Secrets pair and the preview CI workflow are rendered in the repository and executed by nothing. BOSUN Go operator · 1 manager · 3 controllers kubectl apply -f API server kind cluster · local not production PreviewEnvironment CRD · stack + TTL PaymentStack CRD · 1–10 apps database · messaging names CEL-unique ManagedApp CRD · image · port 8080 replicas · default 1 Ready · Progressing PreviewEnv controller TTL · deadline requeue PaymentStack controller owns ManagedApps CNPG + topics unstructured ManagedApp controller server-side apply owns Deployment + Service finalizer · ordered teardown watch creates watch creates watch status composes CNPG Cluster 1–3 instances vendored CRD Redpanda Topics up to 20 vendored CRD server-side apply Deployment + Service applied · owned GC on delete observability ServiceMonitor PrometheusRule OTelCollector dashboard ConfigMap scraped by Prometheus unwatched Go code API object cluster · external
A Grafana dashboard bosun generated for the ManagedApp payments--payment-rail-api in the bosun-demo namespace, with panels for target up, fast and slow error-budget burn rate, and scrape duration.

BOSS FIGHTTHE RESULT

Feature-complete: every milestone from M0 to M7c landed. One command takes a machine with no cluster to a PaymentStack reporting Ready on a real CloudNativePG database and a real Redpanda broker, with Prometheus scraping both apps and Grafana serving the dashboards it generated — 4m28s measured against a 900-second ceiling, zero manual steps. An eleven-scenario chaos suite, the manager race-built and SIGKILLed mid-reconcile, puts deleted children back in one to two seconds. The gaps are written down as tests, not hidden: four owned kinds are watched by nothing, so one deleted out of band stays deleted until its parent reconciles. There is no Degraded condition, no HPA or PodDisruptionBudget, no CLI and no container image — the manager runs out-of-cluster under a developer kubeconfig. Local kind clusters only, no production traffic, not a supported operator.

HIGH SCORES

  • 151TEST FUNCTIONS75 ENVTEST · 71 UNIT · 5 CHAOS
  • 75ADRSNUMBERED · README EXCLUDED
  • 11CHAOS SCENARIOSOWN CLUSTER · RACE DETECTOR
  • 3CRDS+ 3 CONTROLLERS · 1 MANAGER
  • 4m30sDEMO END TO ENDFRESH KIND CLUSTER · 900S GATE
  • 1–2 sCHILD RECONVERGEDELETED CHILD · 120S BUDGET
NEXT LEVEL
Payment Rail