-
Notifications
You must be signed in to change notification settings - Fork 89
Add listener based on the machine label and listener label #2155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Hi @Shilpa-Gokul. 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 Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
✅ Deploy Preview for kubernetes-sigs-cluster-api-ibmcloud ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@Shilpa-Gokul its worth writing a design doc with more examples, lets do that before this PR. I like the way it is written here - #2139 for one of the work. |
Yes, We have already planned to do so, With some diagrams and examples, That would become easier for review and to see if there is any better approach as well, This is also one of the reasons for keeping this as WIP and also adding UT with only happy paths. |
aac912c
to
e4f009b
Compare
dc01447
to
ac508e0
Compare
ffa11f4
to
a32fa4f
Compare
/ok-to-test |
5f06b18
to
7fbcc75
Compare
7fbcc75
to
1b88ddd
Compare
48f0f88
to
ee91bfe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few small things, Otherwise LGTM
/assign @Amulyam24 @Prajyot-Parab
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Shilpa-Gokul 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 |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thank you @Shilpa-Gokul for continued effort on this feature!
Hope you have validated the changes by cluster creation.
New changes are detected. LGTM label has been removed. |
/hold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the release notes as well.
Thank you for working on this feature, It was a tough one and took more discussion and time than anticipated.
106e5c3
to
6b1a4e4
Compare
Thanks @Karthik-K-N and @Amulyam24 for helping me with ideas for this feature. |
4e5d252
to
1f759c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the things LGTM
/assign @Amulyam24 @Prajyot-Parab
1f759c2
to
8c431e4
Compare
} | ||
if additionalListener, ok := lbAdditionalListeners[fmt.Sprintf("%d-%s", *loadBalancerListener.Port, *loadBalancerListener.Protocol)]; ok { | ||
if loadBalancerListener.DefaultPool != nil { | ||
loadBalancerListeners[*loadBalancerListener.DefaultPool.Name] = additionalListener |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Shilpa-Gokul @Karthik-K-N , one question here, the AdditionalListener in Spec has DefaultPoolName
field, is it not possible to populate the field somehow and use the value here?
I'm unable to recall if the pool name follows a unique pattern when it is created
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think currently that field is never considered, also we expects spec to be set by user and not to alter from controller
What this PR does / why we need it:
This PR provides support for assigning additional listeners to specific machines based on label selectors. For more details, please refer the proposal
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1678
Special notes for your reviewer:
/area provider/ibmcloud
Release note: