Bitpath

Boss lesson · Unit 02

Follow one request

From the internet to a container hop by hop, and a selector that matches nothing.

13 exercisesabout 3 min

What you practise

  • From the internet to a container, hop by hop
  • A selector that matches nothing found and fixed

Try a question from this lesson

Pick one

A user opens https://shop.example.com/api/cart. The api container listens on 8080 in a Pod at 10.244.2.9. Why can the browser not just connect to 10.244.2.9:8080?

Hint

Two problems: can that address be routed from the internet at all, and will the same Pod be there tomorrow?

The idea

Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.

Concept

The whole path

Every hop turns a stable thing into the next, less stable thing.

Public DNS: a name to the balancer's IP. The balancer: to the ingress controller, which is itself Pods behind a LoadBalancer Service. The Ingress rules: host and path to a Service. The Service: a selector to whichever Pods are ready now.

When a request fails, the fault is at one hop. Test from the inside out, and read the first hop that fails.

browser
  |  DNS: shop.example.com
load balancer        public IP
  |
ingress controller   reads host, path
  |
Service api          stable name, port 80
  |
Pod 10.244.2.9       port 8080, may change

11 more exercises in the app

  • 1× order the lines
  • 1× match the pairs
  • 5× multiple choice
  • 2× type the answer
  • 1× fill the blanks
  • 1× true or false

Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.

One email when Bitpath is ready to try. Nothing else. Privacy