A developer needs a short-lived external demo of a UI on a lab cluster without an Ingress controller. Which Service choice is reasonable for that temporary access?
Select an answer to reveal the explanation.
Short Explanation
Need outsiders to poke the demo without Ingress? NodePort hangs a high port on each node’s IP—clunky for production, fine for a lab walkthrough. Just remember it’s a temporary side door, not your long-term front door.
Full Explanation
NodePort exposes the Service on a static port on each node’s IP, which can provide quick external access in lab or demo settings when Ingress or a cloud LoadBalancer is unavailable. Headless Services return Pod IPs for discovery, not a browser-friendly node publish. ExternalName does not create node ports from a Deployment name. ClusterIP alone is not reachable from arbitrary external laptops without additional exposure.