In this article
A Service IP test cannot establish portable ipBlock enforcement without the deployed translation and plugin behavior.
The operational scenario
A private artifact endpoint is reachable through a Kubernetes Service address that forwards outside the cluster. A security review compares that Service IP with an approved external CIDR and predicts whether the worker connection is allowed. The prediction can use the wrong address at the policy decision point. The declared client destination and the address evaluated by enforcement are not automatically identical.
The trust-boundary mechanism
The Kubernetes NetworkPolicy guide explicitly leaves address rewriting before or after policy processing undefined across network plugins, cloud providers and Service implementations. It notes that connections to Service IPs rewritten to external addresses may or may not be subject to ipBlock rules as expected. This is a documented portability boundary, not a universal statement that translation bypasses every policy or always occurs in one fixed order.
Define the control contract
Define the protected source workload, original destination, Service mapping and eventual external endpoint. Identify which component performs translation and which networking implementation enforces policy. If its documented behavior does not settle the decision point, preserve that uncertainty and verify the actual path. Do not replace this review with DNS success, a matching hostname or an assumption that every CIDR sees the client-facing virtual address.
A step-by-step verification
First use a disposable external-style target under operator control and a harmless response. Compare direct access with access through the intended Service path from the same policy-selected worker. Next vary only the explicitly permitted CIDR in a bounded fixture while keeping identity and backend stable. Observe fresh connections and endpoint receipt. Preserve Service configuration and plugin version so a later environment cannot inherit an unsupported conclusion.
Evidence required for acceptance
Acceptance requires a path diagram connecting original and translated addresses to the enforcement observation. Retain allowed and denied cases, the complete applicable policies and independent evidence that the target was healthy. Separate a policy rejection from routing failure or an absent Service endpoint. A packet trace, if authorized and needed, should retain only the headers necessary for this question and avoid synthetic payloads becoming accidental sensitive logging.
Failure cases and limits
A result for a deployed plugin and Service implementation does not settle every cloud or upgrade. Application authorization and TLS peer validation remain necessary even when the network path is permitted. Conversely, a failed connection does not prove that the intended CIDR was the actual reason. The deliverable is a qualified address-evaluation contract for this path, with a repeat condition after relevant networking or Service changes.
Primary references and related reading
A Service IP test cannot establish portable ipBlock enforcement without the deployed translation and plugin behavior. Kubernetes NetworkPolicy isolation and address translation; Kubernetes NetworkPolicy API defaults.
The proposed investigation of networkpolicy ipblock service address rewrite is a proposed control review; no live security test was executed. Related reading: Pod stays unready after deny-all: init container network dependencies; Distinguish combined NetworkPolicy peer selectors from separate peers.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.