close
The Wayback Machine - https://web.archive.org/web/20200829031742/https://github.com/kubernetes-sigs/kubespray/issues/5309
Skip to content
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

Support for vSphere storage Container Storage Interface (CSI) #5309

Open
vjtm opened this issue Oct 30, 2019 · 10 comments
Open

Support for vSphere storage Container Storage Interface (CSI) #5309

vjtm opened this issue Oct 30, 2019 · 10 comments

Comments

@vjtm
Copy link

@vjtm vjtm commented Oct 30, 2019

What would you like to be added:
Support for deploying vSphere storage Container Storage Interface (CSI).
It' GA already.

https://github.com/kubernetes-sigs/vsphere-csi-driver
https://cloud-provider-vsphere.sigs.k8s.io/

It requires vSphere 6.7u3+

Why is this needed:

  • The in-tree cloud provider for vSphere is deprecated.
  • The CSI is the standard way to implement the Storage layer.
  • It would improve and evolve over time.

Thanks

@Miouge1
Copy link
Member

@Miouge1 Miouge1 commented Dec 10, 2019

@vjtm thanks for the issue, if you're up to make a PR we'll be happy to review it.

@PhilEv
Copy link

@PhilEv PhilEv commented Feb 19, 2020

@pierreyves-lebrun
Copy link
Contributor

@pierreyves-lebrun pierreyves-lebrun commented Mar 21, 2020

I would love to work on that, however some guidelines about how to add an external cloud provider would be nice.

Is there any information about the project structure?

Edit: I guess the External OpenStack Cloud Controller Manager implementation is a good enough reference.

@alijahnas
Copy link
Contributor

@alijahnas alijahnas commented Mar 24, 2020

@pierreyves-lebrun
Hi, if you plan to work on this, I would gladly do the review.

@Miouge1
Copy link
Member

@Miouge1 Miouge1 commented Mar 27, 2020

Brilliant! I'm tagging this for 2.13, but we can move it to 2.14 depending on how things go.

@loktionovam
Copy link
Contributor

@loktionovam loktionovam commented May 29, 2020

There is a problem with External vSphere Cloud Provider Interface | Create a CPI configMap, vSphere CSI Driver | Create a CSI secret tasks.

For example, when I run a playbook in the first time it is ok, but when I run the playbook in the second time I get the error:

TASK [kubernetes-apps/external_cloud_controller/vsphere : External vSphere Cloud Provider Interface | Create a CPI configMap] ************************************************************************************
fatal: [k8s-dev1-master1]: FAILED! => {"changed": true, "cmd": ["/usr/local/bin/kubectl", "create", "configmap", "cloud-config", "--from-file=vsphere.conf=/etc/kubernetes/external-vsphere-cpi-cloud-config", "-n", "kube-system"], "delta": "0:00:00.089431", "end": "2020-05-29 11:51:54.796427", "msg": "non-zero return code", "rc": 1, "start": "2020-05-29 11:51:54.706996", "stderr": "Error from server (AlreadyExists): configmaps \"cloud-config\" already exists", "stderr_lines": ["Error from server (AlreadyExists): configmaps \"cloud-config\" already exists"], "stdout": "", "stdout_lines": []}
@pierreyves-lebrun
Copy link
Contributor

@pierreyves-lebrun pierreyves-lebrun commented May 30, 2020

Thanks for #6210, I hadn't realized kubectl create would fail on subsequent runs!

We should probably close this issue now as the main feature has been implemented.

@Russell-IO
Copy link

@Russell-IO Russell-IO commented Jun 18, 2020

Also got hit by it, thank you for quick fix :)

@jetersen
Copy link

@jetersen jetersen commented Jul 28, 2020

How would this work with multiple vSAN datastores over multiple clusters?

@pierreyves-lebrun
Copy link
Contributor

@pierreyves-lebrun pierreyves-lebrun commented Jul 28, 2020

How would this work with multiple vSAN datastores over multiple clusters?

I believe some modifications would be required, essentially the following needs to be implemented:
https://cloud-provider-vsphere.sigs.k8s.io/tutorials/deploying_cpi_and_csi_with_multi_dc_vc_aka_zones.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.