Skip to content

docs: state the NetworkPolicy enforcement guarantee (bundled Cilium) and the silent no-op risk without it - #630

Merged
xiaods merged 2 commits into
mainfrom
orbi/xiaods-k8e-issue-623
Oct 12, 2026
Merged

xiaods merged 2 commits into
mainfrom
orbi/xiaods-k8e-issue-623

Conversation

@orbi-build

@orbi-build orbi-build Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Fixes #623

docs: state the NetworkPolicy enforcement guarantee (bundled Cilium) and the silent no-op risk without it (run_id=c50bb750)

Built by Orbi from Issue #623

…silent no-op risk

k8e bundles Cilium as its default CNI, so the standard networking.k8s.io/v1
NetworkPolicy API is genuinely enforced by default. The README only described
the per-session toFQDNs egress control, not the default guarantee, and said
nothing about what happens to user NetworkPolicy objects when Cilium is
disabled.

Document both in the README (and the two tables that describe Cilium):

- standard NetworkPolicy is enforced by the bundled Cilium by default;
- without a policy-capable CNI (--disable-cilium + a CNI such as flannel)
  NetworkPolicy objects are silent no-ops: the API server accepts and stores
  them, the dataplane ignores them, and there is no error, event or warning;
- how to detect non-enforcement with a deny-all egress NetworkPolicy and a
  probe Pod.

Fixes #623
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

929 tests  ±0   902 ✅ ±0   6m 44s ⏱️ -5s
120 suites ±0    27 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit fe72820. ± Comparison against base commit 79a2602.

…heck

The deny-all egress policy in the verification snippet denies egress for
every Pod in the namespace; leaving it behind blackholes that namespace
silently, which is the failure mode the section documents. Delete it when
the probe is done.
@sonarqubecloud

Copy link
Copy Markdown

@xiaods
xiaods merged commit 41492ba into main Oct 12, 2026
@orbi-build

orbi-build Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

✅ Delivered by Orbi · View delivery proof →

@orbi-build
orbi-build Bot deleted the orbi/xiaods-k8e-issue-623 branch October 12, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: state the NetworkPolicy enforcement guarantee (bundled Cilium) and the silent no-op risk without it

1 participant