Repository navigation
docs: state the NetworkPolicy enforcement guarantee (bundled Cilium) and the silent no-op risk without it - #630
Merged
Merged
Conversation
…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
Contributor
…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.
|
Contributor
Author
|
✅ Delivered by Orbi · View delivery proof → |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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