A port may be either a numerical or named port on a pod.
But only demonstrates a port number.
Because "named port on a pod" can be ambiguous, I suggest adding an example, or at the least clarifying if this is a port name from the pod spec (e.g., Deployment) or a port name from the service spec.
I assume this is the port name from the Deployment, which corresponds to the targetPort in the Service.
The port example description says:
But only demonstrates a port number.
Because "named port on a pod" can be ambiguous, I suggest adding an example, or at the least clarifying if this is a port name from the pod spec (e.g., Deployment) or a port name from the service spec.
I assume this is the port name from the Deployment, which corresponds to the targetPort in the Service.