concept

NetworkPolicy selectors

Learn how Kubernetes NetworkPolicy selectors, ingress and egress isolation, additive allowances and IP blocks determine permitted Pod connections.

Formal Syntax & Structure

kubernetes syntaxkubernetes
NetworkPolicy selectors

Working Example

Example Snippetkubernetes
frontend (shop-study) -> API (shop-study): TCP 8080monitor (ops-study) -> API (shop-study): TCP 8080other -> API: not allowed by intended policy
Kubernetes Reference