-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
vSphere CPI & CSI implementation #5959
vSphere CPI & CSI implementation #5959
Conversation
Hi @pierreyves-lebrun. 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/test-infra repository. |
/ok-to-test |
/assign @ant31 |
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.
All this seems good to me. Can you just add a deployment in persistent_volumes so that we can have a storage class that works with the vsphere CSI driver? Thanks.
https://github.com/kubernetes-sigs/kubespray/tree/master/roles/kubernetes-apps/persistent_volumes
https://github.com/kubernetes-sigs/kubespray/blob/master/inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml#L254
P.S. I don't understand how you got those strange commits haha
I don't have a sphere cluster available to test this on. Any ideas on how to test this with say a mock server or something? |
Afaik, there isn't any ready-to-use solution for this. That said it is fairly easy (and free) to install ESXi and vCenter on a single host. I remember hacking something together on a Mac mini in just one afternoon. A baremetal EC2 instance would also do the job otherwise. |
Is there any docs on how to migrate from the previous / current vsphere storage solution ? |
This still is a work in progress, I’ll be waiting for the official guide on how to perform the migration: |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Miouge1, pierreyves-lebrun 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 files:
Approvers can indicate their approval by writing |
Hello everyone, |
The in-tree vSphere cloud provider is deprecated so please use the out-of-tree one: It will deploy the CSI driver automatically so you don’t have to worry about it. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Implement external vSphere cloud provider as per #5309.
The in-tree vSphere cloud provider has been deprecated so the out-of-tree one should now be used. Duplicate of #5861.
Tested on vSphere 6.7 U3.
Special notes for your reviewer:
In order to keep both working, I added new vSphere configuration variables which are the same as the old ones but prefixed with external_
Does this PR introduce a user-facing change?:
Users should use the new external vSphere cloud provider rather than the old in-tree one.