Skip to content

Conversation

csnitker
Copy link
Contributor

  • Added optional service.beta.kubernetes.io/aws-load-balancer-ip-address-type: (ipv4|dualstack) annotation for NLB

Implements #1655

@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please sign in with your organization's credentials at https://identity.linuxfoundation.org/projects/cncf to be authorized.
  • If you have done the above and are still having issues with the CLA being reported as unsigned, please log a ticket with the Linux Foundation Helpdesk: https://support.linuxfoundation.org/
  • Should you encounter any issues with the Linux Foundation Helpdesk, send a message to the backup e-mail support address at: [email protected]

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/test-infra repository. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 20, 2020
@codecov-io
Copy link

codecov-io commented Nov 20, 2020

Codecov Report

Merging #1677 (dbb2884) into main (dbc8f00) will increase coverage by 0.08%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1677      +/-   ##
==========================================
+ Coverage   46.11%   46.19%   +0.08%     
==========================================
  Files         110      110              
  Lines        5920     5933      +13     
==========================================
+ Hits         2730     2741      +11     
- Misses       2926     2927       +1     
- Partials      264      265       +1     
Impacted Files Coverage Δ
pkg/service/model_build_load_balancer.go 82.69% <84.61%> (+0.08%) ⬆️
pkg/service/model_builder.go 77.77% <100.00%> (+0.50%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbc8f00...dbb2884. Read the comment docs.

@csnitker
Copy link
Contributor Author

/check-cla

2 similar comments
@keperry
Copy link
Contributor

keperry commented Nov 20, 2020

/check-cla

@keperry
Copy link
Contributor

keperry commented Nov 20, 2020

/check-cla

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Nov 20, 2020
@kishorj
Copy link
Contributor

kishorj commented Nov 20, 2020

I appreciate your efforts, thanks. Changes look good, I'm requesting for additional changes

  • Lets document the annotation in the file docs/guide/service/annotations.md
  • Include the tests results the PR. For example, when the annotation gets edited/removed
  • Traffic tests (if any). I will do it post merge as well.

@kishorj
Copy link
Contributor

kishorj commented Nov 20, 2020

Fixes #1655

@csnitker
Copy link
Contributor Author

Just updated the documentation. We've test these changes in one of our AWS accounts and verified that adding, changing, or removing the annotation reflects on the NLB. Do we need a unit/integration test for that? If so, is there a test already setup that I can use as an example?

@kishorj
Copy link
Contributor

kishorj commented Nov 20, 2020

Just updated the documentation. We've test these changes in one of our AWS accounts and verified that adding, changing, or removing the annotation reflects on the NLB. Do we need a unit/integration test for that? If so, is there a test already setup that I can use as an example?

This is good enough for now.

Copy link
Collaborator

@M00nF1sh M00nF1sh left a comment

Choose a reason for hiding this comment

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

/lgtm
thanks for contributing. 👍

We'll need follow up changes to make this work for perserveSourceIP feature.
However, this is good for now since perserveSourceIP is not going to release before reinvent.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 24, 2020
@M00nF1sh M00nF1sh merged commit 9e7d172 into kubernetes-sigs:main Nov 24, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: csnitker, kishorj, M00nF1sh
To complete the pull request process, please assign after the PR has been reviewed.
You can assign the PR to them by writing /assign in a comment when ready.

The full list of commands accepted by this bot can be found 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

@integrii
Copy link

Bump. I am a little confused on the state of this PR. It says 'merged' but is not in the docs and appears to not be passing tests here. @M00nF1sh @csnitker

Can this feature still be a thing? This looks great.

@kishorj
Copy link
Contributor

kishorj commented Mar 22, 2021

@integrii, NLB supports IPv6 in v2.1.0 and later releases and the annotation is documented in the live docs [link].

@integrii
Copy link

Ah, awesome! We were using these docs instead of the one you linked. We will try the v2.1.0 release. Thank you!

Timothy-Dougherty pushed a commit to adammw/aws-load-balancer-controller that referenced this pull request Nov 9, 2023
* Added dualstack support for NLB

* Removed unneeded import

* add tests

* minor formatting changes

* remove blank line

* Update docs for ip address type

* Corrected address type documentation

* Corrected address type documentation

* Corrected address type documentation

Co-authored-by: Keith B. Perry <[email protected]>
Co-authored-by: Keith Perry <[email protected]>
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. 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.

9 participants