Pods must call legacy.permits.example.com using an in-cluster DNS name legacy-permits. Which Service type creates a CNAME-style mapping for that external hostname?
Select an answer to reveal the explanation.
Short Explanation
ExternalName is a sticky note in cluster DNS that says “when you ask for this Service, go look up that outside name.” Perfect for easing Pods toward a legacy hostname without selecting Pod backends. It’s a CNAME-style alias, not a cloud LB.
Full Explanation
Service type ExternalName returns a CNAME to the configured externalName for in-cluster DNS lookups of the Service. It does not select Pods or create Endpoints for application backends. ClusterIP without Endpoints does not implement that CNAME mapping; NodePort externalIPs expects IP addresses; LoadBalancer loadBalancerIP is not a hostname alias mechanism.