Deployment files
Service target-port resolver
Match supplied Pods by selector/namespace and resolve declared target ports.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Use selector equality within the Service namespace. Numeric targets work without declared ports; named targets match protocol and regular/restartable-init container ports.
The sample selects web-1 and resolves its http target name to TCP port 8080.
Limits
Declared-data preview only; no cluster access. Readiness, phase, IPs, permissions, EndpointSlice policy and reachability are not assessed. Services without selectors need separately managed endpoint data.