Skip to content

feat: buffer annotations and envoy gateway emitter#305

Merged
k8s-ci-robot merged 14 commits intokubernetes-sigs:mainfrom
kkk777-7:feat-buffer-annotations
Feb 4, 2026
Merged

feat: buffer annotations and envoy gateway emitter#305
k8s-ci-robot merged 14 commits intokubernetes-sigs:mainfrom
kkk777-7:feat-buffer-annotations

Conversation

@kkk777-7
Copy link
Copy Markdown
Member

@kkk777-7 kkk777-7 commented Jan 18, 2026

What type of PR is this?

/kind feature

depends on #298

What this PR does / why we need it:
Add Envoy Gateway emitter.
Support proxy body size annotations.

  • nginx.ingress.kubernetes.io/proxy-body-size
  • nginx.ingress.kubernetes.io/client-body-buffer-size

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

Support for ingress nginx body size annotations (proxy-body-size, client-body-buffer-size). and Add Envoy Gateway emitter.

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 18, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Hi @kkk777-7. 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.

Details

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 needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. 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 Jan 18, 2026
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Comment thread pkg/i2gw/emitters/envoygateway/emitter.go
Comment thread pkg/i2gw/emitter_intermediate/intermediate_representation.go
Copy link
Copy Markdown
Contributor

@Stevenjin8 Stevenjin8 left a comment

Choose a reason for hiding this comment

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

Yeah this is pretty much exactly what I imagined. Do you mind adding a CODEOWNERS file and adding yourself as a codeowner for the envoy gateway emitter? And say that you agree to https://github.com/kubernetes-sigs/ingress2gateway/blob/main/docs/emitters.md

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@kkk777-7
Copy link
Copy Markdown
Member Author

@Stevenjin8
I added CODEOWNERS. and agree to Governance :)

Comment thread pkg/i2gw/providers/ingressnginx/bodysize.go Outdated
Comment thread pkg/i2gw/providers/ingressnginx/bodysize.go Outdated
Comment thread pkg/i2gw/emitters/envoygateway/buffer.go
Copy link
Copy Markdown
Contributor

@Stevenjin8 Stevenjin8 left a comment

Choose a reason for hiding this comment

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

Very minor comments

@Stevenjin8
Copy link
Copy Markdown
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. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 22, 2026
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 23, 2026
@kkk777-7
Copy link
Copy Markdown
Member Author

Envoy Gateway’s latest version requires Go 1.25.3. But, golangci-lint v1 doesn’t support Go 1.25.
If we can migrate to golangci-lint v2, I’ll handle that in a separate PR.

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@Stevenjin8
Copy link
Copy Markdown
Contributor

@kkk777-7 tests are failing
/approve

@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 28, 2026
@kkk777-7
Copy link
Copy Markdown
Member Author

Hi @Stevenjin8, golangci-lint v1 doesn't support Go v1.25. so happened CI failure.
I opened separate PR for migrating golangci-lint v2. #323

I’d appreciate it if we could merge #323 first, and then merge this one afterward.

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@kkk777-7
Copy link
Copy Markdown
Member Author

/retest

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 3, 2026
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 3, 2026
@Stevenjin8
Copy link
Copy Markdown
Contributor

/approve cancel
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 4, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kkk777-7, Stevenjin8

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

@Stevenjin8
Copy link
Copy Markdown
Contributor

/retest

@k8s-ci-robot k8s-ci-robot merged commit bd0fbb5 into kubernetes-sigs:main Feb 4, 2026
4 checks passed
rajashish pushed a commit to rajashish/ingress2gateway1 that referenced this pull request Feb 21, 2026
* feat: support route rule name

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* feat: body size parse in ingress nginx provider

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* feat: body size emission in envoy gateway provider

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* add notifications

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* update byte regex

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* add CODEOWNERS

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* address comments in provider

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* address comments in emitter

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* fix: setting nil in IR

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

* fix boilerplate lint

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>

---------

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.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/feature Categorizes issue or PR as related to a new feature. 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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants