Skip to content

Ensure EPP flags are configurable via Helm chart #1302

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

rahulgurnani
Copy link

Fixes issue #1207 to make all flags in EPP configurable via Helm charts

Copy link

netlify bot commented Aug 5, 2025

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

Name Link
🔨 Latest commit b6dcd34
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/689ba99d2018d300087ac8f4
😎 Deploy Preview https://deploy-preview-1302--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.

Copy link

linux-foundation-easycla bot commented Aug 5, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rahulgurnani
Once this PR has been reviewed and has the lgtm label, please assign kfswain for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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 cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Aug 5, 2025
@k8s-ci-robot
Copy link
Contributor

Welcome @rahulgurnani!

It looks like this is your first PR to kubernetes-sigs/gateway-api-inference-extension 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/gateway-api-inference-extension has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@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 5, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @rahulgurnani. 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 size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Aug 5, 2025
@nirrozenbaum
Copy link
Contributor

/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 5, 2025
@nirrozenbaum
Copy link
Contributor

@rahulgurnani can you please update the configuration options in the chart readme?
https://github.com/kubernetes-sigs/gateway-api-inference-extension/tree/main/config/charts/inferencepool#configuration

@liu-cong
Copy link
Contributor

Can we make the flags generic similar to the env vars? This way we don't have to keep updating the chart if the EPP flags change.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 12, 2025
@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

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.

Co-authored-by: Kellen Swain <[email protected]>
@k8s-ci-robot k8s-ci-robot added the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Aug 12, 2025
@rahulgurnani
Copy link
Author

rahulgurnani commented Aug 12, 2025

Can we make the flags generic similar to the env vars? This way we don't have to keep updating the chart if the EPP flags change.

Yes.. This would mean, adding the flags to be part of the env flag in values.yaml. Most of the flags are already read in runner.go today:
https://github.com/kubernetes-sigs/gateway-api-inference-extension/blob/main/cmd/epp/runner/runner.go#L188

I think we can make this change and it resonates with me. What do others think about it? @kfswain @ahg-g @nirrozenbaum ?

@k8s-ci-robot
Copy link
Contributor

Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages.

The list of commits with invalid commit messages:

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. I understand the commands that are listed here.

@k8s-ci-robot
Copy link
Contributor

@rahulgurnani: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-gateway-api-inference-extension-test-unit-main b6dcd34 link true /test pull-gateway-api-inference-extension-test-unit-main
pull-gateway-api-inference-extension-test-e2e-main b6dcd34 link true /test pull-gateway-api-inference-extension-test-e2e-main
pull-gateway-api-inference-extension-verify-main b6dcd34 link true /test pull-gateway-api-inference-extension-verify-main

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

@liu-cong
Copy link
Contributor

Can we make the flags generic similar to the env vars? This way we don't have to keep updating the chart if the EPP flags change.

Yes.. This would mean, adding the flags to be part of the env flag in values.yaml. Most of the flags are already read in runner.go today: https://github.com/kubernetes-sigs/gateway-api-inference-extension/blob/main/cmd/epp/runner/runner.go#L188

I think we can make this change and it resonates with me. What do others think about it? @kfswain @ahg-g @nirrozenbaum ?

Just to clarify, I was just asking if it's possible to make the flags also generic in helm like the env vars(I never tried but I hope so). I didn't mean to convert all flags to env vars (I don't think we should...) in order to do that.

@kfswain
Copy link
Collaborator

kfswain commented Aug 13, 2025

I agree with @liu-cong; the root issue(#1207) describes allowing arbitrary flags to be passed into the helm chart. I do think it can be a separate PR, as it's more for supporting downstream usage, and I don't think there is a strict need for it. But the PR should be a fast-follow, because if llm-d, or some other dependent creates a flag in their binary, they are hard blocked from using our helm chart.

@ahg-g
Copy link
Contributor

ahg-g commented Aug 13, 2025

If there is a way to set passthrough epp flags, then lets go for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants