Skip to content

feat(ingress): add frontend-nlb-attribtues annotation for ingress#4380

Merged
k8s-ci-robot merged 14 commits intokubernetes-sigs:mainfrom
swarner1033:feat/4333-attributes-flb
Mar 3, 2026
Merged

feat(ingress): add frontend-nlb-attribtues annotation for ingress#4380
k8s-ci-robot merged 14 commits intokubernetes-sigs:mainfrom
swarner1033:feat/4333-attributes-flb

Conversation

@swarner1033
Copy link
Copy Markdown
Contributor

@swarner1033 swarner1033 commented Oct 7, 2025

Issue

#4333

Description

  • Add the frontend-nlb-attributes annotation to enable you to set deletion protection, cross zone load balancing ect
  • Fix typo Alloactions -> Allocations
  • Abstract out LB constants and makeAttributesSliceFromMap() also used in model build load balancer into the shared packages.

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the docs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯

  • Backfilled missing tests for code in same general area 🎉
  • Refactored something and made the world a better place 🌟

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Oct 7, 2025
@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 Oct 7, 2025
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Hi @swarner1033. 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 the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Oct 7, 2025
@swarner1033 swarner1033 changed the title Feat/4333 attributes flb feat(ingress): add frontend-nlb-attribtues annotation for ingress #4333 Oct 7, 2025
@swarner1033 swarner1033 changed the title feat(ingress): add frontend-nlb-attribtues annotation for ingress #4333 feat(ingress): add frontend-nlb-attribtues annotation for ingress Oct 7, 2025
@swarner1033 swarner1033 marked this pull request as ready for review October 7, 2025 10:03
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 7, 2025
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 24, 2025
@swarner1033 swarner1033 force-pushed the feat/4333-attributes-flb branch from c732db8 to bc73b9c Compare November 11, 2025 07:00
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 11, 2025
@swarner1033
Copy link
Copy Markdown
Contributor Author

Hi @M00nF1sh @zac-nixon

I know it says XL but I've really just abstracted out a some functionality so that I can reuse it. Haven't actually made an XL 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 Nov 21, 2025
@swarner1033 swarner1033 force-pushed the feat/4333-attributes-flb branch from bc73b9c to dd0a310 Compare January 20, 2026 06:45
@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 20, 2026
@swarner1033
Copy link
Copy Markdown
Contributor Author

Now that its the new year it would be great to get this merged @oliviassss @wweiwei-li @M00nF1sh @zac-nixon

I could move the abstraction so that the bot would grade it as a smaller change but I believe this would be a worse solution as it would result in two pieces of similar code to maintain.

Comment thread docs/guide/ingress/annotations.md Outdated
@shraddhabang
Copy link
Copy Markdown
Collaborator

/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 Jan 20, 2026
Comment thread docs/guide/ingress/annotations.md Outdated
- enable access log to s3
```
service.beta.kubernetes.io/aws-load-balancer-attributes: access_logs.s3.enabled=true,access_logs.s3.bucket=my-access-log-bucket,access_logs.s3.prefix=my-app
alb.ingress.kubernetes.io/aws-load-balancer-attributes: access_logs.s3.enabled=true,access_logs.s3.bucket=my-access-log-bucket,access_logs.s3.prefix=my-app
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You are still referring to ingress specific annotations alb.ingress.kubernetes.io/aws-load-balancer-attributes instead of frontend-nlb-attributes annotations. alb.ingress.kubernetes.io/frontend-nlb-attributes. The example should reflect how to set attributes on your frontend NLB.

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.

sorry fixed

@swarner1033
Copy link
Copy Markdown
Contributor Author

@shraddhabang thanks for your feedback. Was there anything else or are we good to merge?

@sophie-warner-annalise-ai
Copy link
Copy Markdown

Anyone else have the time to approve? Doc feedback has been fixed
@oliviassss @wweiwei-li @M00nF1sh @zac-nixon

@wweiwei-li
Copy link
Copy Markdown
Collaborator

/lgtm
/Approved

@wweiwei-li
Copy link
Copy Markdown
Collaborator

/ok-to-test

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

/lgtm

@wweiwei-li
Copy link
Copy Markdown
Collaborator

/Approved

@wweiwei-li wweiwei-li added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 3, 2026
@k8s-ci-robot k8s-ci-robot merged commit ff91613 into kubernetes-sigs:main Mar 3, 2026
5 checks passed
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: swarner1033

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

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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants