Skip to content

Conversation

SinaChavoshi
Copy link
Contributor

@SinaChavoshi SinaChavoshi commented May 1, 2025

This PR introduces the foundational elements for the Gateway API Inference Extension conformance test suite, including the first set of tests for InferencePool resources and the necessary setup for a shared Gateway.

local run results: ( ran on latest commit d8577b0)

go test -v ./... -args     -gateway-class gke-l7-regional-external-managed     -cleanup-base-resources=false 
...
=== NAME  TestConformance/InferencePoolAccepted
    apply.go:279: 2025-05-09T20:22:11.212232453Z: Deleting httproute-for-inferencepool-accepted HTTPRoute
    apply.go:279: 2025-05-09T20:22:11.328760314Z: Deleting inferencepool-basic-accepted InferencePool
    apply.go:279: 2025-05-09T20:22:11.436449131Z: Deleting infra-backend-v1-deployment Deployment
--- PASS: TestConformance (44.48s)
    --- PASS: TestConformance/InferencePoolAccepted (41.33s)
        --- PASS: TestConformance/InferencePoolAccepted/InferencePool_should_have_Accepted_condition_set_to_True (40.06s)
PASS
ok      sigs.k8s.io/gateway-api-inference-extension/conformance 44.554s
...

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 1, 2025
@k8s-ci-robot k8s-ci-robot requested review from ahg-g and robscott May 1, 2025 19:28
@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 May 1, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @SinaChavoshi. 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 May 1, 2025
@SinaChavoshi SinaChavoshi changed the title feat(conformance): Add initial InferencePool tests and shared Gateway setup [WIP]feat(conformance): Add initial InferencePool tests and shared Gateway setup May 1, 2025
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 1, 2025
Copy link

netlify bot commented May 1, 2025

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

Name Link
🔨 Latest commit d8577b0
🔍 Latest deploy log https://app.netlify.com/sites/gateway-api-inference-extension/deploys/681e6270e2712b00083ee9d9
😎 Deploy Preview https://deploy-preview-772--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 site configuration.

@SinaChavoshi SinaChavoshi changed the title [WIP]feat(conformance): Add initial InferencePool tests and shared Gateway setup feat(conformance): Add initial InferencePool tests and shared Gateway setup May 2, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 2, 2025
@ahg-g
Copy link
Contributor

ahg-g commented May 4, 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 May 4, 2025
@SinaChavoshi
Copy link
Contributor Author

/retest

@LiorLieberman
Copy link
Member

/assign

@LiorLieberman
Copy link
Member

/cc

@k8s-ci-robot k8s-ci-robot requested a review from LiorLieberman May 5, 2025 21:56
@spencerhance
Copy link

/cc

@k8s-ci-robot k8s-ci-robot requested a review from spencerhance May 5, 2025 22:03
Copy link
Member

@LiorLieberman LiorLieberman left a comment

Choose a reason for hiding this comment

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

Thank you @SinaChavoshi !

Overall looks good, left some initial comments

Copy link
Member

@LiorLieberman LiorLieberman left a comment

Choose a reason for hiding this comment

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

Thanks Sina, looks good!

Is the PR description conformance execution was done after the change?

@SinaChavoshi
Copy link
Contributor Author

Thanks Sina, looks good!

Is the PR description conformance execution was done after the change?

Good call! updated the description with a test run results from the latest commit.

Copy link
Member

@LiorLieberman LiorLieberman left a comment

Choose a reason for hiding this comment

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

This is great.
LGTM.

ping me once done so I can leave lgtm - if I leave it now it will be removed when you do any further changes

Copy link
Member

@LiorLieberman LiorLieberman left a comment

Choose a reason for hiding this comment

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

Thanks!
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 7, 2025
@SinaChavoshi
Copy link
Contributor Author

/assign @danehans

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 9, 2025
Copy link
Contributor

@danehans danehans left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 9, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danehans, LiorLieberman, SinaChavoshi

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 May 9, 2025
@k8s-ci-robot k8s-ci-robot merged commit 64a37d1 into kubernetes-sigs:main May 9, 2025
8 checks passed
nayihz pushed a commit to nayihz/gateway-api-inference-extension that referenced this pull request May 14, 2025
… setup (kubernetes-sigs#772)

* Add inferencepool_lifecycle test.

* Resolve setup issues and enable InferencePool test

* correct Lint error Multiplication of durations

* Fix missing containerPort, is missing

* change gateway name from "gateway-conformance-app" to "conformance-gateway"

* clarify why K8s types are needed.

* Update conformance/conformance.go

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>

* Update conformance/conformance.go

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>

* remove for loop when adding SupportedFeatures

* remove exessive logging

* Update conformance/conformance.go

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>

* move excess debug logs behind debug flag.

* remove CONFORMANCE.GO prefix from logs.

* change the pull logic and use default value from GatewayMustHaveAddress

* fix mt.Sprintf can be replaced with string concatenation

* add a function for logDebug

* factor out ensureGatewayAvailableAndReady

* removed todo comment in helper.go

* remove CONFORMANCE.GO from log

* error messages, should not be capitalized or end with punctuation

---------

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>
kaushikmitr pushed a commit to kaushikmitr/llm-instance-gateway that referenced this pull request May 15, 2025
… setup (kubernetes-sigs#772)

* Add inferencepool_lifecycle test.

* Resolve setup issues and enable InferencePool test

* correct Lint error Multiplication of durations

* Fix missing containerPort, is missing

* change gateway name from "gateway-conformance-app" to "conformance-gateway"

* clarify why K8s types are needed.

* Update conformance/conformance.go

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>

* Update conformance/conformance.go

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>

* remove for loop when adding SupportedFeatures

* remove exessive logging

* Update conformance/conformance.go

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>

* move excess debug logs behind debug flag.

* remove CONFORMANCE.GO prefix from logs.

* change the pull logic and use default value from GatewayMustHaveAddress

* fix mt.Sprintf can be replaced with string concatenation

* add a function for logDebug

* factor out ensureGatewayAvailableAndReady

* removed todo comment in helper.go

* remove CONFORMANCE.GO from log

* error messages, should not be capitalized or end with punctuation

---------

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>
rlakhtakia pushed a commit to rlakhtakia/gateway-api-inference-extension that referenced this pull request Jun 11, 2025
… setup (kubernetes-sigs#772)

* Add inferencepool_lifecycle test.

* Resolve setup issues and enable InferencePool test

* correct Lint error Multiplication of durations

* Fix missing containerPort, is missing

* change gateway name from "gateway-conformance-app" to "conformance-gateway"

* clarify why K8s types are needed.

* Update conformance/conformance.go

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>

* Update conformance/conformance.go

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>

* remove for loop when adding SupportedFeatures

* remove exessive logging

* Update conformance/conformance.go

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>

* move excess debug logs behind debug flag.

* remove CONFORMANCE.GO prefix from logs.

* change the pull logic and use default value from GatewayMustHaveAddress

* fix mt.Sprintf can be replaced with string concatenation

* add a function for logDebug

* factor out ensureGatewayAvailableAndReady

* removed todo comment in helper.go

* remove CONFORMANCE.GO from log

* error messages, should not be capitalized or end with punctuation

---------

Co-authored-by: Lior Lieberman <liorlib7+riskified@gmail.com>
@zetxqx zetxqx mentioned this pull request Jun 12, 2025
12 tasks
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants