This is an excerpt from Manning's book Kubernetes in Action. Login to get full access to this book.
Listing 5.14. Ingress exposing multiple services on same host, but different paths ... - host: kubia.example.com http: paths: - path: /kubia #1 backend: #1 serviceName: kubia #1 servicePort: 80 #1 - path: /bar #2 backend: #2 serviceName: bar #2 servicePort: 80 #2
... - host: kubia.example.com http: paths: - path: /kubia #1 backend: #1 serviceName: kubia #1 servicePort: 80 #1 - path: /bar #2 backend: #2 serviceName: bar #2 servicePort: 80 #2