Microservices shop, mission 1 of 7

Find each other

intermediate, about 8 minutes, in the Kubernetes Simulator

Start mission

Free in your browser, nothing to install.

The briefing

The shop is three deployments: frontend (nginx), and two APIs it calls, catalog and cart. Pods come and go and their IPs with them, so nothing should call a pod by address.

A Service gives a set of pods one stable name and IP. Cluster DNS answers that name from any pod — catalog, or in full catalog.default.svc.cluster.local. catalog listens on port 8080, and it serves its items at /api/catalog/items.

kubectl exec deploy/frontend -- curl … runs curl inside a frontend pod, where the cluster's DNS is.

What you'll do

  • Give catalog a Service on port 80
  • Fetch the items from a frontend pod by name
  • Bonus star: Look the name up the way curl does: getent hosts catalog

The mission checks the cluster, not your keystrokes: any fix that works, passes.

More Microservices shop missions

  1. 1. Find each other
  2. 2. Wrong door
  3. 3. One front door
  4. 4. Need to know
  5. 5. Outbound only
  6. 6. A fixed address
  7. 7. Moved out
Every Kubernetes Simulator mission

AboutGuidesCompare

PrivacyCookiesTerms

Hackademy is a trading name of Mather Software Ltd, registered in England and Wales, company number 17443861. ICO registration ZC256628.

Contact: support@mathersoftware.com© 2026 Mather Software Ltd