Giter VIP home page Giter VIP logo

Comments (15)

jleavers avatar jleavers commented on June 12, 2024 12

Hi @arunmk - we would prefer the ONLINE method of EXPAND_VOLUME with the subsequent NodeExpandVolume call to expand the filesystem. The main use-case is for database services, so we would not want to take these services offline to expand their storage.

from cloud-director-named-disk-csi-driver.

Lorislombardi avatar Lorislombardi commented on June 12, 2024 3

I am testing the consistency of the data but I may have found a workaround which may work in some cases :

  • Make be sure your retain poilcy are on Retain
  • Scale all deployment who uses the volume to 0
  • Edit PV and change size
  • Edit PV via vCD to change size
  • Save your PVC on a yaml file : k get pvc 'pvc-name' -o yaml > pvc-name.yaml
  • Delete your PVC
  • Edit PV and remove spec.claimRef part
  • Edit your pvc file previously saved to change size
  • Apply your pvc file : k apply -f pvc-name.yaml
  • Scale your deployement to 1 or more
  • Check on vCD on which worker node your pv is attach
  • Login on SSH on worker node where the PV is
  • find your volume with fdsik -l and run a resize2fs /dev/sdX

I have not yet found a solution to resize a volume if it is not possible to connect to ssh on the worker node (ssh key not provided in deployment wizard)

from cloud-director-named-disk-csi-driver.

arunmk avatar arunmk commented on June 12, 2024

Thanks @jleavers. We will prioritize this.

from cloud-director-named-disk-csi-driver.

jleavers avatar jleavers commented on June 12, 2024

Hi @arunmk - do you have an ETA as to when volume expansion will be available?

from cloud-director-named-disk-csi-driver.

arunmk avatar arunmk commented on June 12, 2024

@jleavers let me bring this up with the team and get back.

from cloud-director-named-disk-csi-driver.

arunmk avatar arunmk commented on June 12, 2024

@jleavers will OFFLINE method of EXPAND_VOLUME satisfy your use-case?

from cloud-director-named-disk-csi-driver.

ekarlso avatar ekarlso commented on June 12, 2024

This should be at least supported for RWO disks that is often used for stuff like Kafka, RDBMS etc.

from cloud-director-named-disk-csi-driver.

Turbots avatar Turbots commented on June 12, 2024

Another customer of mine really prefers having ONLINE expansion capabilitie.
End customers are creating stateful workloads and want to start with small disk sizes and expand when needed.

from cloud-director-named-disk-csi-driver.

TimTinneveld avatar TimTinneveld commented on June 12, 2024

Mee too, i use it with capvcd cluster deployment.
I would really appreciate this feature becoming available. I don't know the status is at the moment.

from cloud-director-named-disk-csi-driver.

7Horizon avatar 7Horizon commented on June 12, 2024

Hi @arunmk

Do you have an ETA, when at least offline expansion will be available? As @jleavers, we use it for database services and online expansion would be nice, but offline expansion is a step in the right direction.

from cloud-director-named-disk-csi-driver.

erSitzt avatar erSitzt commented on June 12, 2024

Hi @arunmk

is there any progress on this ? This issue as well as the PR seem to be stale/stuck..
Online resize would be the preferred way, nobody wants downtimes for this type of change anymore...

from cloud-director-named-disk-csi-driver.

erSitzt avatar erSitzt commented on June 12, 2024

Here it seems to be done already, is this so different ?
Is it the cloud director part thats the problem ? or is it the part where the fs is expanded on the node ?

https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/master/pkg/csi/service/node.go#L468

from cloud-director-named-disk-csi-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.