Microsegmentation
Cheat sheet · https://pcornel.dk/topic.php?topic=5075
Answer
Microsegmentation applies fine-grained workload, service or identity-aware policy close to protected resources to reduce lateral movement and constrain east-west dependencies beyond coarse network segments.
Remember
- Microsegmentation ≠ many small VLANs.
- Agent/label deployed ≠ least-privilege enforcement proven.
- Design intent ≠ runtime enforcement; prove the policy decision, actual enforcement point and observed resource outcome independently.
- No observed bypass ≠ no bypass unless alternate paths, failure modes, management paths and telemetry coverage have been tested.
First checks
kubectl get networkpolicy -A— K8s policies- Host/workload firewall policies (NSX, Illumio) — rules
- Flow observation vs policy — gaps
Verify in this order
workload labels → policy → allowed connections
Where it usually breaks
First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5075