-
Notifications
You must be signed in to change notification settings - Fork 145
cleanup: simplify endpointpickerconfig #1324
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
cleanup: simplify endpointpickerconfig #1324
Conversation
✅ Deploy Preview for gateway-api-inference-extension ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Hi @capri-xiyue. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
config/crd/bases/inference.networking.k8s.io_inferencepools.yaml
Outdated
Show resolved
Hide resolved
If we remove inline, I think we have to change the underlying crd. Another option is to remove the endpointerpick struct directly, see the updated PR #1324. However, Abdullah Gharaibeh mentioned If we are removing this struct, we may want to rename extensionRef to make it explicit that this is an epp extension?(see #1173 (comment)) With renaming, the crd will also change. To avoid break change to the crd, should we just skip the renaming? cc @robscott @ahg-g |
/ok-to-test |
/assign @robscott |
Thanks @capri-xiyue! /lgtm |
/assign @kfswain |
/assign @nirrozenbaum |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g, capri-xiyue The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@capri-xiyue reviewed the PR.
Abdullah beat me with lgtm :)
the PR looks good to me, I left nit comments on places I think the rename from Extension to ExtensionRef should be reverted. mostly in comments/log messages. nbd.
// for the Gateway API Inference Extension conformance test suite. | ||
// for the Gateway API Inference ExtensionRef conformance test suite. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: revert
// the Gateway API layer aspects of the Inference Extension (e.g., InferencePool, InferenceObjective CRDs). | ||
// the Gateway API layer aspects of the Inference ExtensionRef (e.g., InferencePool, InferenceObjective CRDs). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
// of the "Gateway" profile for the Inference Extension MUST support. | ||
// of the "Gateway" profile for the Inference ExtensionRef MUST support. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
// Inference Extension Specific Report Fields | ||
// Inference ExtensionRef Specific Report Fields |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
// Register Inference Extension API types | ||
// Register Inference ExtensionRef API types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
// TODO: Implement custom assertion functions specific to Inference Extension testing. | ||
// TODO: Implement custom assertion functions specific to Inference ExtensionRef testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
Help: metricsutil.HelpMsgWithStability("General information of the current build of Inference Extension.", compbasemetrics.ALPHA), | ||
Help: metricsutil.HelpMsgWithStability("General information of the current build of Inference ExtensionRef.", compbasemetrics.ALPHA), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
// Inference Extension's Endpoint Picker (EPP), which operates as an Envoy External Processing (`ext_proc`) server, this | ||
// Inference ExtensionRef's Endpoint Picker (EPP), which operates as an Envoy External Processing (`ext_proc`) server, this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
// createCRDs creates the Inference Extension CRDs used for testing. | ||
// createCRDs creates the Inference ExtensionRef CRDs used for testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
ginkgo.When("The Inference Extension is running", func() { | ||
ginkgo.When("The Inference ExtensionRef is running", func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
simplify endpointpickerconfig