Skip to content

Rename part three#2124

Merged
k8s-ci-robot merged 2 commits intokubernetes-sigs:mainfrom
shmuelk:rename-part-three
Jan 13, 2026
Merged

Rename part three#2124
k8s-ci-robot merged 2 commits intokubernetes-sigs:mainfrom
shmuelk:rename-part-three

Conversation

@shmuelk
Copy link
Copy Markdown
Contributor

@shmuelk shmuelk commented Jan 12, 2026

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
This PR is a third PR in a set of PRs that is attempting to cleanup the code base WRT to Pods vs Model Server Endpoints and the old "backendmetrics" and the new DataLayer..

It does this by reducing the references to the struct pkg/epp/metrics/MetricsState and instead reference the aliased struct pkg/epp/datalayer/Metrics.

As Model Servers evolve, vLLM or others, one can not assume that there is a one to one relationship between pods and Model Servers. That is a pod may contain multiple Model Servers each. on its own port, such as vLLM's Data Parallel support. On the other hand Model Servers may do there own internal multi-pod routing as well.

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
@k8s-ci-robot k8s-ci-robot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jan 12, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 12, 2026

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

Name Link
🔨 Latest commit d135dc8
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/69650f8649b0ad0008963138
😎 Deploy Preview https://deploy-preview-2124--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 Jan 12, 2026
@k8s-ci-robot k8s-ci-robot requested review from ahg-g and kfswain January 12, 2026 15:13
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 12, 2026
func NewMetricsState() *MetricsState {
return datalayer.NewMetrics()
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we still need the MetricsState type defined below?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fundamentally no.

I left it in because I didn't want to make the PR larger by updating the old backend metrics scraping code more than absolutely necessary, as the new DataLayer is suppose to replace it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ok, so we still have more refactoring to do to get rid of it, I assume that is the end goal, right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes

@ahg-g
Copy link
Copy Markdown
Contributor

ahg-g commented Jan 13, 2026

/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 Jan 13, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 Jan 13, 2026
@shmuelk
Copy link
Copy Markdown
Contributor Author

shmuelk commented Jan 13, 2026

/test pull-gateway-api-inference-extension-test-unit-main

@shmuelk
Copy link
Copy Markdown
Contributor Author

shmuelk commented Jan 13, 2026

/test pull-gateway-api-inference-extension-test-e2e-main

@k8s-ci-robot k8s-ci-robot merged commit 00dc5f4 into kubernetes-sigs:main Jan 13, 2026
11 checks passed
elevran pushed a commit to llm-d/llm-d-inference-scheduler that referenced this pull request Apr 23, 2026
* Removed constructor that used aliased field

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Removed references to aliased field

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

---------

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
elevran pushed a commit to llm-d/llm-d-inference-scheduler that referenced this pull request May 3, 2026
* Removed constructor that used aliased field

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

* Removed references to aliased field

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>

---------

Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
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. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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.

3 participants