open source · local-first

Ship the policy.
Not the outage.

Test a CiliumNetworkPolicy against what's actually happening on your cluster — before it merges, not after it pages someone.

Go CLI + embedded web UI. One binary.
Your kubeconfig, read-only RBAC. No new cluster footprint.

guardbee-demo · live cluster simulation
01 / INSPECT

Sample Real Traffic

Ground truth directly from Hubble Relay flows — never synthetic test cases.

02 / SIMULATE

Diff Against Baseline

Evaluates candidate policy twice using Cilium's embedded pkg/policy engine.

03 / CATCH

Flag Silent Regressions

Instantly detects NEWLY_DROPPED flows (like kubelet health probes) before merge.

04 / REMEDIATE

One-Click Fix & Re-verify

Appends missing rules in one click, re-runs simulator, and confirms 100% unchanged.

true story. sort of.

02:47

Your phone buzzes. PagerDuty: 14 pods restarting. Grafana: dashboards gone blank.

✓ Code review: approved
✓ CI: green
✓ Matched every flow anyone tested by hand

Then it shipped.

  • Liveness probes start failing — the kubelet can't reach the port anymore
  • Pods restart in a loop — nothing about that looks like a network problem
  • The Prometheus scrape target goes dark — dashboards just stop updating
  • DNS egress forgotten — timeouts everywhere, looks like a different outage entirely
  • "It only allowed less traffic. How could that break anything?"

The rule you wrote was right in isolation. It just wasn't the only rule that matters.
40 minutes to find it. Zero minutes it would have taken to catch before merge.
A composite of the kind of incident every platform team has lived through.

how it works

This isn't a linter.

A local-first tool that tests your policy against what's actually happening on the cluster — not against a test case someone imagined.

Your candidate policyCiliumNetworkPolicy YAML
Real recent flowsHubble Relay
↓
Cilium's own policy engineembedded pkg/policy — not a reimplementation
↓
Verdict: what would break, what's newly allowed

Real engine

Embeds Cilium's actual pkg/policy code — the same engine your cluster runs. Not a reimplementation that can drift.

Real traffic

Diffs against live Hubble flows from your cluster, not synthetic test cases someone imagined.

Local-first

Runs with your own kubeconfig. No new cluster footprint, no agent to deploy. Your traffic data never leaves your machine.

Same engine, if you live in a terminal

The Lab's postgres scenario, before and after the fix. Reproduce it with mise run lab-up.

$ guardbee verdict -n postgres \
  looks-correct.yaml
NEWLY_DROPPED prometheus → postgres :9187 NEWLY_DROPPED reserved:host → postgres :5432 50 flows sampled — 17 would BREAK if merged as-is
$ guardbee verdict -n postgres \
  merge-ready.yaml
0 newly dropped 0 newly allowed 50 flows sampled — 31 unchanged

Before / After

BeforeWith GuardBee
Confidence sourceCode review, hopeReal traffic, verified
When you find outAfter it ships, from pagesBefore you merge
Fixing a gapGuess, patch, redeploy, waitOne click, re-validate instantly
Blast radiusDiscovered in prodVisible in a diff

Catch the next one before it merges.