Skip to content

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

Conversation

capri-xiyue
Copy link
Contributor

@capri-xiyue capri-xiyue commented Aug 7, 2025

simplify endpointpickerconfig

Copy link

netlify bot commented Aug 7, 2025

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit d4cd681
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/689a70044620fd000837c6f6
😎 Deploy Preview https://deploy-preview-1324--gateway-api-inference-extension.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 7, 2025
@k8s-ci-robot k8s-ci-robot requested review from ahg-g and danehans August 7, 2025 17:43
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 7, 2025
@k8s-ci-robot
Copy link
Contributor

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 7, 2025
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 7, 2025
@capri-xiyue
Copy link
Contributor Author

capri-xiyue commented Aug 7, 2025

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

@capri-xiyue capri-xiyue changed the title cleanup: remove inline of endpointpickerconfig cleanup: simplify endpointpickerconfig Aug 7, 2025
@liu-cong
Copy link
Contributor

liu-cong commented Aug 7, 2025

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 7, 2025
@ahg-g
Copy link
Contributor

ahg-g commented Aug 11, 2025

/assign @robscott

@robscott
Copy link
Member

Thanks @capri-xiyue!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 11, 2025
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 11, 2025
@capri-xiyue
Copy link
Contributor Author

/assign @kfswain

@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 11, 2025
@capri-xiyue
Copy link
Contributor Author

/assign @nirrozenbaum

@ahg-g
Copy link
Contributor

ahg-g commented Aug 12, 2025

/approve

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 12, 2025
@ahg-g
Copy link
Contributor

ahg-g commented Aug 12, 2025

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 12, 2025
@k8s-ci-robot k8s-ci-robot merged commit 131eddc into kubernetes-sigs:main Aug 12, 2025
9 checks passed
Copy link
Contributor

@nirrozenbaum nirrozenbaum left a 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.
Copy link
Contributor

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).
Copy link
Contributor

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.
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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.
Copy link
Contributor

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),
Copy link
Contributor

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
Copy link
Contributor

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.
Copy link
Contributor

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() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants