One hostname parks.city.example should send path /ui to Service parks-ui and path /api to Service parks-api. How should the Ingress express that split?
Select an answer to reveal the explanation.
Short Explanation
One front door, two hallways: /ui and /api. A single Ingress host with two path backends is the portable pattern. Smushing both apps into one Service throws away path-based routing.
Full Explanation
Ingress allows multiple paths under one host, each referencing a different backend Service. That pattern cleanly separates UI and API traffic for parks.city.example. Merging workloads into one Service loses path distinction, and NetworkPolicies do not rewrite HTTP paths for routing.