-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
/kind feature
Describe the solution you'd like
Knative deployment mode ingress with istio support path-based routing using a path template. This allows multiple isvcs to deploy to the same domain and route to the individual endpoints using the URL path instead of the domain name.
Standard deployment mode only supports domain template routing. Feature parity between the two deployment modes should be maintained such that Standard deployments can also use path routing templates when configuring ingress.
For example:
If IngressDomain is example.com,
Namespace is default,
Name is TestModelEndpoint,
Then setting the DomainTemplate to {{ .IngressDomain }} and the PathTemplate to /namespaces/{{ .Namespace }}/endpoints//{{ .Name }}/ should result in an endpoint URL http://example.com/namespaces/default/endpoints/TestModelEndpoint that can be used to invoke the endpoint for inference.