Comments (15)
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.
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.
Thanks @jleavers. We will prioritize this.
from cloud-director-named-disk-csi-driver.
Hi @arunmk - do you have an ETA as to when volume expansion will be available?
from cloud-director-named-disk-csi-driver.
@jleavers let me bring this up with the team and get back.
from cloud-director-named-disk-csi-driver.
@jleavers will OFFLINE method of EXPAND_VOLUME satisfy your use-case?
from cloud-director-named-disk-csi-driver.
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.
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.
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.
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.
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.
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)
- Support / documentation for installation on clusters not managed via VCD-CSE HOT 7
- Filesystem XFS is mounted as ext4 (fsType: ext4 / filesystem: xfs) HOT 1
- Prepend cluster name in PVC name HOT 1
- Mount failed: exit status 32 (mount point does not exist) HOT 5
- Cannot build image using Dockerfile HOT 1
- Are named accross a few organization supported?
- Cannot mount disk into host directory because diskUUID is empty string HOT 1
- Documentation of necessary Role Rights HOT 1
- Support for IDs inside vcloud-csi-config.yaml
- Duplicate Authorization headers cause requests to fail when vCD is behind L7 load balancers HOT 2
- Snapshot Support HOT 8
- CSI volume snapshot HOT 1
- Unable to mount the PVC to the pod in RKE cluster HOT 6
- Can not pull image cloud-director-named-disk-csi-driver from Harbor HOT 3
- SecurityContext problem HOT 7
- Volume metrics HOT 2
- Retag csi images following SemVer syntax HOT 2
- Add support for fsGroup to named-disk-driver
- Increase max number of volumes on a node HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-director-named-disk-csi-driver.