-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Fix failure to load volume plugins for #52048 #52049
Conversation
Currently we have two plugin managers. However one of them limits the cloud plugins it loads. This means that if cloud provider is set to external the plugins will not be loaded in *that* plugin manager. However they will be loaded in the other instance of the plugin manager. So it does not actually save us anything. It does hamper the efforts to actually get stage 1 separation working.
/assign wlan0 |
This seems fine to me. I don't think having the volume manager report all the volume plugins should be a problem /approve |
cc @jsafrane who authored the check |
Here's the relevant discussion. Sounds like it was a safety check that may not be necessary. |
Yes, it's a safety check. LGTM. Just FYI, users will see different errors now - if someone uses AWS EBS volume on GCE, before this PR the user got something like "unknown plugin kubernetes.io/aws-ebs", now the user gets "Failed to get AWS Cloud Provider. GetCloudProvider returned %v instead". Not a big deal IMO. |
/assign |
/lgtm |
/approve no-issue |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheftako, deads2k, jsafrane, saad-ali Associated issue: 52048 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test pull-kubernetes-e2e-gce |
/test all Tests are more than 96 hours old. Re-running tests. |
[MILESTONENOTIFIER] Milestone Pull Request Current @cheftako @deads2k @jlowdermilk @jsafrane @lavalamp @saad-ali @wlan0 Note: This pull request is marked as Example update:
Pull Request Labels
|
/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. |
Currently we have two plugin managers.
However one of them limits the cloud plugins it loads.
This means that if cloud provider is set to external the plugins will
not be loaded in that plugin manager. However they will be loaded in
the other instance of the plugin manager. So it does not actually save
us anything. It does hamper the efforts to actually get stage 1
separation working.
What this PR does / why we need it: It allows the plugins be found for the cloud providers working on stage 1 separation.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #52048Special notes for your reviewer:
Release note: