$ ./guess_the_languageDevOps
DevOps · medium · #258

What does looking up the name db return in the cluster?

kind: Service
metadata: { name: db }
spec:
  type: ExternalName
  externalName: db.prod.example.com
  1. A CNAME pointing at db.prod.example.com
  2. A ClusterIP that kube-proxy forwards on
  3. A node port mapped to the external host
  4. The address of a new cloud load balancer
An ExternalName Service has no selector or proxying; cluster DNS simply answers with a CNAME record to the external host name.
Play DevOps ▸