-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Use SetInformers method to register for Node events. (#449) #59440
Use SetInformers method to register for Node events. (#449) #59440
Conversation
/assign @divyenpatel |
/approve |
/ok-to-test |
Till 1.9.2 Kubernetes release vSphere Cloud Provider needs a separate service account which is not needed.
cc @deads2k |
@liggitt this is exactly the GCE does too - http://dims.dynu.net/hound/?q=SetInformers&i=nope&files=&repos=kubernetes - so LGTM 👍 |
Ack :) @liggitt |
The cloud provider init code is pretty icky to begin with. I'd like to see a separate method for building the cloud provider that has args for every input it wants so we can start trying to see where the weird links are. I think a That would allow this flow to be splittable without weird side-effects as we split the cloud related controllers. |
/hold wait for #59568 to merge |
oops. forgot to remove hold. /hold cancel |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, divyenpatel, rohitjogvmw The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these OWNERS Files:
Approvers can indicate their approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
Till 1.9.2 Kubernetes release vSphere Cloud Provider needs a separate service account which is not needed.
What this PR does / why we need it:
In this fix, vSphere CLoud Provider is now implementing SetInformer API to get the required NodeInformer. With this change vSphere Cloud Provider no more requires separate service account for listening NodeEvents.
Which issue(s) this PR fixes
Fixes #58747
Special notes for your reviewer:
VMware vSphere Cloud Provide internal change
old release note: Till 1.9.3 vSphere Cloud Provider (VCP) need a separate service account for internal purpose. With this fix VCP is not need any special service account for functioning.
Release note: