Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 8 · Networking · Port 8.10

DNS in Kubernetes

Ask the Captain
Instagram
db works from namespace apps. From namespace web: unknown. Why?
You'll learn to

build any service / pod DNS name

Recap

  1. 1Full name: service.namespace.svc.cluster.local
  2. 2Short name works in your own namespace only
  3. 3Other namespace: add it (db.apps)
Check yourself

A pod in namespace web needs Service db in namespace apps. Which name works?

8.10

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.