liveBook · Manning

Path-based routing

Path-based routing is a traffic-routing technique that directs requests to backend services according to the request URL or URI path.

How 2 Manning books explain it

Kubernetes for Developers

Path-based routing directs requests to different backends according to the URI path.

How it is used
Routes multiple HTTP services through one external IP and domain while preserving public-facing URL paths.
How deep it goes
Explains Ingress rules, backend Services, and deployment inspection, but stops short of TLS configuration details.
Examples
Uses root and /robohash paths mapped to timeserver-internal and robohash-internal Services.
What you can do after
Configure Kubernetes Ingress rules that map URI paths to backend Services and inspect the resulting address and health.

Read how Kubernetes for Developers explains path-based routing →

Learn Docker in a Month of Lunches, Second Edition

Path-based routing directs requests to different backend services according to the request URL path.

How it is used
Uses a reverse proxy to assemble multiple application components under one domain.
How deep it goes
Walks through configuration replacement, proxy reload, and curl verification without detailing Nginx matching internals.
Examples
Demonstrates an image-gallery web UI and API exposed through image-gallery.local and /api/image.
What you can do after
Operate Nginx path routing by installing a site configuration, reloading the proxy, and testing an API URL.

Read how Learn Docker in a Month of Lunches, Second Edition explains path-based routing →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.