Skip to content

Ext proc refactor part three - Create and exploit the common Ext Proc server code base#2543

Open
shmuelk wants to merge 7 commits intokubernetes-sigs:mainfrom
shmuelk:ext-proc-refactor-3
Open

Ext proc refactor part three - Create and exploit the common Ext Proc server code base#2543
shmuelk wants to merge 7 commits intokubernetes-sigs:mainfrom
shmuelk:ext-proc-refactor-3

Conversation

@shmuelk
Copy link
Contributor

@shmuelk shmuelk commented Mar 10, 2026

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Both the Endpoint Picker (EPP) and the Body Based Router (BBR) are Envoy ExtProc filters. There is much code that has been copy and pasted from one to the other.

This PR is the third in a series of PRs that will refactor out the common Ext Proc processing code into a set of reusable packages. This is being done to try and keep the PRs somewhat smaller.

This PR both "creates" the common Ext Proc server code base and exploits it for the EPP.

At this time the BBR code not yet exploit the new common Ext Proc server code base.

In particular this PR:
1. Moves the common Ext Proc code from pkg/epp/handlers to pkg/common/envoy/handlers
2. Adds the ServerHandler interface to provide a per request handler that deals with the EPP specific parts of the Ext Proc server.
3. Adds the ServerHandlerFactory interface used by the Ext Proc conmon code to create the per request ServerHandler instance.
4. Updates other parts of the code base due to the above changes

Which issue(s) this PR fixes:
Ref: #2427

Does this PR introduce a user-facing change?:

NONE

shmuelk added 5 commits March 10, 2026 13:00
Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
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 Mar 10, 2026
@netlify
Copy link

netlify bot commented Mar 10, 2026

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

Name Link
🔨 Latest commit b291744
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/69b00c26a0866a00086427cb
😎 Deploy Preview https://deploy-preview-2543--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
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

The full list of commands accepted by this bot can be found 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 size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 10, 2026
shmuelk added 2 commits March 10, 2026 13:55
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

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. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants