ExternalName
A Service type that has no pods behind it and simply answers DNS lookups with another host name.
In more detail
It returns a CNAME record, so clients inside the cluster can use a local name for something outside it. There is no selector, no ClusterIP and no EndpointSlice. It only changes DNS; it does not proxy traffic or check that the target exists.
Related terms
- Kubernetes Service — The Kubernetes object that gives a changing set of pods one stable name and address, and spreads traffic across the ready ones.
- CNAME record — A DNS record that says one name is an alias for another name, so the lookup continues with the second name.
- CoreDNS — The DNS server that runs inside a Kubernetes cluster and resolves Service and pod names.
Related guides
Taught in
- Services And Empty Endpoints — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Network Exposure: NodePorts, Host Firewalls And Egress — Certified Kubernetes Security Specialist (CKS) Exam Prep
- A Name That Outlives Its Pods: Services And DNS — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- NodePort, LoadBalancer And ExternalName — Kubernetes: Production-Grade Container Orchestration