-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change in domain templates #96
Comments
/cc @aslakknutsen |
@bartoszmajsak To be clear what we should do with this ticket, I have some questions. |
Technically speaking more about this kserve/config/configmap/inferenceservice.yaml Line 451 in b6eac44
@aslakknutsen can you confirm? |
This change would allow us to handle 1 domain pattern between all models in a odh-project(namespace) without the need for additional listeners to update the host lists or filters to manipulate the incoming host name. |
Not 100% sure of the source of this configuration in the kserve world and how that is moved to osd-manifests etc, but that certainly would look like it. |
@vaibhavjainwiz @israel-hdez |
@aslakknutsen @bartoszmajsak Do you need to change only the |
@israel-hdez Not sure what the KNative services are in this context? Would that be like the "internal" names? |
@aslakknutsen In KServe, when you create an InferenceService, it creates KNative services for you to deploy the models. The So, several routes can be involved:
My understanding is that you would want (1) changed, but not sure if routes in (2) would be relevant. In any case, I was looking at doc comments in the inferenceservice-config ConfigMap, and it looks like the template is only applicable to kserve/config/configmap/inferenceservice.yaml Lines 215 to 223 in 799e121
I haven't tested, but from those doc comments, my understanding is that changing that template won't have any impact on the generated URLs for KServe Serverless installation. It seems that KNative is the component that is controlling the URL template. However, I couldn't find any docs for configuring KNative's URL template. So, my perception is that is not as easy as changing the template. It may be an enhancement that needs to be done to KServe. |
Closing as no longer needed. |
/kind feature
Describe the solution you'd like
We would like to have an enhancement to the domain template used in KServe. Currently, it's defined as
{{ .Name }}-{{ .Namespace }}.{{ .IngressDomain }}
.Changing it to
{{ .Name }}.{{ .Namespace }}.{{ .IngressDomain }}
will make theAuthConfig
s more specific, allowing for the creation of a configuration for*.{{.Namespace}}
directly instead of monitoring all models and creating new "hosts".The text was updated successfully, but these errors were encountered: