liveBook · Manning

Network address space

As explained in Acing the Certified Kubernetes Administrator Exam, Second Edition

An IP block is a CIDR-defined range of IP addresses used as a source or destination in a network policy rule.

A network address space is a CIDR-defined range of IP addresses used as a source or destination in a Kubernetes NetworkPolicy rule. IP blocks let administrators control traffic alongside pod selectors and namespace selectors. section 6.6 section 6.8

Use network address spaces when defining traffic boundaries:

  • Permit or restrict traffic based on source or destination IP ranges. section 6.8
  • Combine IP-based rules with ingress, egress, pod-selector, and namespace-selector rules. section 6.6 section 6.8
  • Verify that the installed CNI implements NetworkPolicy behavior; creating the resource alone has no effect without implementation support. section 6.6

Policy traffic boundary

A NetworkPolicy can enforce default-deny behavior and then selectively permit communication from specified IP blocks, pods, or namespaces. Test the resulting path with kubectl and a client such as busybox. section 6.6 section 6.8

How Acing the Certified Kubernetes Administrator Exam, Second Edition covers it

How deep it goes
Explains IP blocks as NetworkPolicy criteria and connects them to selectors, but does not detail CIDR syntax or address calculations.
Examples
Uses default-deny policies, selective pod communication, and kubectl connectivity tests as operational examples.
What you can do after
Apply it via NetworkPolicy to permit or restrict traffic from selected IP ranges and verify the enforced communication paths.
How it connects
Connects network address spaces to NetworkPolicy, ingress, egress, pod selectors, namespace selectors, and CNI support.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the Certified Kubernetes Administrator Exam, Second Edition. The section links point to the parts of the book it draws on.