Replace the upstream kserve dependency with the latest odh release#501
Conversation
Signed-off-by: Hannah DeFazio <h2defazio@gmail.com>
WalkthroughUpdated go.mod to add two indirect dependencies (gateway-api and gateway-api-inference-extension) and to replace the kserve module source with an Open Data Hub fork pinned to a specific pseudo-version, annotated with comments referencing the ODH release branch odh-v2.33. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🔇 Additional comments (2)
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
related threads from the previous pr: |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hdefazio, VedantMahabaleshwarkar The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
42beef0
into
opendatahub-io:incubating
…pendatahub-io#501) Signed-off-by: Hannah DeFazio <h2defazio@gmail.com>
Description
Problem RHOAIENG-31386: The problem was that the odh-model-controller was acting on the object but didn't understand all of its fields (specifically the
ExtMetricAuthenticationfield) , so it was accidentally damaging it before the kserve-controller could do its job correctly.Fix: Replaces the kserve/kserve dependency in go.mod with the odh-v2.33 release of opendatahub-io/kserve so that
ExtMetricAuthenticationis defined in the kserve version that we are usingHow Has This Been Tested?
I updated the odh-model-controller deployment to use the image quay.io/opendatahub/odh-model-controller:pr-498 (the pr # is 498 because this change was originally included in the same pr as the go 1.24 upgrade. They have since been split into separate prs)
Created the serving runtimes:
then applied the following isvc:
The created
keda-testISVC was created successfully, with theauthenticationReffield now reserved on the firstoc apply. Without this change,authenticationRefwas being removed from the ISVC because the kserve version defined in go.mod did not have theauthenticationReftype defined.Summary by CodeRabbit