liveBook · Manning

pathType field

The pathType field is an Ingress field specifying how a request path is matched for routing.

How 2 Manning books explain it

Acing the Certified Kubernetes Administrator Exam, Second Edition

A path type is an Ingress rule setting that specifies how a URL path is matched.

How it is used
Routes external HTTP and HTTPS traffic to different internal Services through Ingress path rules.
How deep it goes
Defines Prefix and Exact matching with a manifest example, without detailing controller-specific matching internals.
Examples
Uses hello.com and app.hello.com rules targeting hello-svc and nginx.
What you can do after
Configure Ingress paths that select backend Services using prefix, exact, or implementation-specific matching.

Read how Acing the Certified Kubernetes Administrator Exam, Second Edition explains pathType field →

Kubernetes in Action, Second Edition

The pathType field specifies the matching semantics applied to a request path in an Ingress rule.

How it is used
Controls how an Ingress rule selects backend services from incoming request paths.
How deep it goes
Defines all three values and demonstrates Exact and Prefix matching, while delegating ImplementationSpecific behavior to the controller.
Examples
Uses /quote with Exact and /questions with Prefix in an Ingress manifest, then exercises them with curl.
What you can do after
Apply it via kubectl in an Ingress manifest to route exact paths and path-element prefixes to different services.

Read how Kubernetes in Action, Second Edition explains pathType field →

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.