exoscale / exoscale-csi-driver

Kubernetes CSI driver for Exoscale BlockStorage
Apache License 2.0
17 stars 1 forks source link

Driver: Implement Expand Volume #1

Closed pierre-emmanuelJ closed 6 months ago

pierre-emmanuelJ commented 9 months ago

Description

Add the ability to resize a Block Storage volume and expand the file-system.

Checklist

(For exoscale contributors)

Testing

shortcut-integration[bot] commented 9 months ago

This pull request has been linked to Shortcut Story #82729: CSI: Implement Expand Volume.

zifeo commented 7 months ago

hello @pierre-emmanuelJ, we would be interested in testing that feature. Is the PR safe enough to be tested/used?

pierre-emmanuelJ commented 7 months ago

hello @pierre-emmanuelJ, we would be interested in testing that feature. Is the PR safe enough to be tested/used?

Hello @zifeo

Thanks for your interest in the Block Storage volume resize feature!

Unfortunately, due to limitations in the current Exoscale Block Storage design, this PR currently only supports offline resizing. This means that to resize a volume, it would need to be detached from the Kubernetes node first.

While we understand this isn't ideal for a Kubernetes environment...

Online resizing isn't currently supported by Exoscale. This PR implements the groundwork for future online resizing when Exoscale offers that functionality.

Important Note: This PR currently support offline volume resizing only. To resize a volume, it must be detached from the Kubernetes node, causing downtime for pods using that volume.

zifeo commented 7 months ago

@pierre-emmanuelJ Thanks for the notice, is there a place where we can track the progress or a roadmap for online resizing?

sauterp commented 7 months ago

@zifeo I created an issue to track the issue of online resizing, any updates will be posted there. https://github.com/exoscale/exoscale-csi-driver/issues/23