- Home
- All questions
- Question 701
CKA study material · question 701 of 1000
A Service of type NodePort is created without naming a nodePort value. Which range does the allocated port come from by default?
Show the answer
Answer: C. 30000-32767
The control plane allocates from --service-node-port-range, which defaults to 30000-32767, and records the choice in .spec.ports[*].nodePort.
Source: Service (Kubernetes) — Service type › type: NodePort