Skip to content

minor changes in few places #702

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

Merged
merged 2 commits into from
Apr 17, 2025

Conversation

nirrozenbaum
Copy link
Contributor

this PR handles few minor things:

  • in the epp yaml the namespace flag is not set. in cmd/main it DOES have a default value set for using default namespace. having said that, I tried few days ago to follow the getting started guide while deploying to another namespace. overall it went fine, but it took me a while to recall this flag has to be set. in our docs and examples we assume using default namespace, but when users deploy GIE in their envs, this is unlikely. I think poolNamespace flag should be passed explicitly to allow relatively easy way to change the used namespace (I don't expect a newcomer who tries following the getting started guide to get into code and understand they need to add this flag).
  • remove PoolNamespacedName from InfPool Reconciler, it's not in use since we added the server side filtering.
  • add Istio to gateways.md headers (it was missing from the list)

Signed-off-by: Nir Rozenbaum <[email protected]>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 17, 2025
@k8s-ci-robot k8s-ci-robot requested review from ahg-g and robscott April 17, 2025 09:09
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 17, 2025
Copy link

netlify bot commented Apr 17, 2025

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

Name Link
🔨 Latest commit 71fda0c
🔍 Latest deploy log https://app.netlify.com/sites/gateway-api-inference-extension/deploys/6800ec7e49f1010008f85dc6
😎 Deploy Preview https://deploy-preview-702--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.

Signed-off-by: Nir Rozenbaum <[email protected]>
@ahg-g
Copy link
Contributor

ahg-g commented Apr 17, 2025

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahg-g, nirrozenbaum

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 Apr 17, 2025
@k8s-ci-robot k8s-ci-robot merged commit 4d7738a into kubernetes-sigs:main Apr 17, 2025
8 checks passed
// DefaultManagerOptions returns the default options used to create the manager.
func DefaultManagerOptions(namespace, name string) ctrl.Options {
// defaultManagerOptions returns the default options used to create the manager.
func defaultManagerOptions(namespace string, name string) ctrl.Options {
Copy link
Collaborator

Choose a reason for hiding this comment

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

why add the extra string type?

Copy link
Contributor

Choose a reason for hiding this comment

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

also, typically we place name first and then namespace; one thing to consider is using namespacedName type to avoid mistakenly switching those parameters .

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agree. I will push this shortly.

@@ -36,9 +35,8 @@ import (
// will have the proper controller that will create/manage objects on behalf of the server pool.
type InferencePoolReconciler struct {
client.Client
Record record.EventRecorder
PoolNamespacedName types.NamespacedName
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ahhhh since we moved inference model name/namespace handling to the manager we don't use this anymore. KK, just thinking aloud: this should be fine to not document that a name change would make the current EPP depoloyment unusable b/c the k8s name is immutable and they are essentially spinning up another resource, same with the namespace. So we probably don't need to document that behavior.

@nirrozenbaum nirrozenbaum deleted the minor-changes branch April 17, 2025 16:59
kfswain pushed a commit to kfswain/llm-instance-gateway that referenced this pull request Apr 29, 2025
* minor changes in few places

Signed-off-by: Nir Rozenbaum <[email protected]>

* removed empty labels field

Signed-off-by: Nir Rozenbaum <[email protected]>

---------

Signed-off-by: Nir Rozenbaum <[email protected]>
kfswain pushed a commit to kfswain/llm-instance-gateway that referenced this pull request Apr 29, 2025
* minor changes in few places

Signed-off-by: Nir Rozenbaum <[email protected]>

* removed empty labels field

Signed-off-by: Nir Rozenbaum <[email protected]>

---------

Signed-off-by: Nir Rozenbaum <[email protected]>
kfswain pushed a commit to kfswain/llm-instance-gateway that referenced this pull request Apr 29, 2025
* minor changes in few places

Signed-off-by: Nir Rozenbaum <[email protected]>

* removed empty labels field

Signed-off-by: Nir Rozenbaum <[email protected]>

---------

Signed-off-by: Nir Rozenbaum <[email protected]>
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. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants