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

Review storage provisioning #87

Closed
NicolasT opened this issue Jun 22, 2018 · 7 comments
Closed

Review storage provisioning #87

NicolasT opened this issue Jun 22, 2018 · 7 comments
Labels
kind:design Solution design choices kind:enhancement New feature or request legacy Anything related to MetalK8s 1.x topic:storage Issues related to storage

Comments

@NicolasT
Copy link
Contributor

Related to #1

We currently pre-provision a couple of LVM2 Logical Volumes of specific sizes and inject these as PersistentVolumes resources. This is a somewhat inflexible approach.

Though we likely should keep using LVM2 as a base storage technology, using e.g. CSI (as suggested by @Zempashi) could make this somewhat more flexible. CSI is, however, not yet entirely stable.

There's an LVM2 CSI driver from MesosSphere we may want to use or contribute to (https://github.com/mesosphere/csilvm, https://mesosphere.com/blog/open-source-storage-ecosystem/). There's another plugin at https://github.com/wavezhang/k8s-csi-lvm which seems less polished.

@NicolasT NicolasT added kind:enhancement New feature or request kind:design Solution design choices topic:storage Issues related to storage labels Jun 22, 2018
@NicolasT NicolasT self-assigned this Jun 22, 2018
@Zempashi
Copy link

https://ember-csi.io/ one more in the list

@NicolasT
Copy link
Contributor Author

@NicolasT
Copy link
Contributor Author

@Zempashi I briefly looked into EmberCSI in the past, and had some concerns (maybe unwarranted, though):

  • It requires a Cinder setup, which is quite a big deal
  • If I'm not mistaken it creates Cinder volumes, then exposes them in K8s over iSCSI or whatever NAS/SAN protocol, so the storage is remote, not local...
  • It requires a stateful data storage system setup somewhere. Ideally I think an LVM-based solution should only rely on what's available in the K8s API, and what's presented by the LVM subsystem on the local machine, instead of requiring some extra database to be deployed.

@Zempashi
Copy link

yes I had the same concern

@NicolasT NicolasT removed their assignment Mar 11, 2019
@gdemonet gdemonet added the legacy Anything related to MetalK8s 1.x label Feb 4, 2020
@thomasdanan
Copy link
Contributor

@slaperche-scality @gdemonet @NicolasT is this issue makes sense in the context of #1997 epic? or should we close it?

@gdemonet
Copy link
Contributor

Implementation of the Storage Operator was already sufficient to close this issue IMO. Considerations w.r.t to using a CSI driver discussed here are not applicable to our Operator.

@thomasdanan
Copy link
Contributor

CSI driver not applicable to Metal2 Storage Operator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:design Solution design choices kind:enhancement New feature or request legacy Anything related to MetalK8s 1.x topic:storage Issues related to storage
Projects
None yet
Development

No branches or pull requests

4 participants