You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by Guido García, Diego Aguilar Vidal, Andrew Gershman, Viktor Utkin, Maxence Boutet, Adam Rush, Faheem Nadeem, KerelynSmith, Kevin Heins, Carl Reid and 8 more
@Robert-Stam azure disk team are still investigating on this since there is a blocking issue, current VM is using VHD, and it does not support dynamic resize.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
kubectl edit pvc pvc-name, change spec.resources.requests.storage in PVC config to a larger size
and after a while, pvc resize would succeed, e.g.
describe pvc
#kubectl describe pvc persistent-storage-statefulset-azuredisk-0
Name: persistent-storage-statefulset-azuredisk-0
Namespace: default
StorageClass: managed-csi
Status: Bound
Volume: pvc-a8564491-915f-4613-8efb-d02cce0103aa
Labels: app=nginx
Annotations: pv.kubernetes.io/bind-completed: yes
pv.kubernetes.io/bound-by-controller: yes
volume.beta.kubernetes.io/storage-class: managed-csi
volume.beta.kubernetes.io/storage-provisioner: disk.csi.azure.com
volume.kubernetes.io/selected-node: aks-agentpool-14838774-vmss000002
Finalizers: [kubernetes.io/pvc-protection]
Capacity: 10Gi
Access Modes: RWO
VolumeMode: Filesystem
Used By: statefulset-azuredisk-0
Conditions:
Type Status LastProbeTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
FileSystemResizePending True Mon, 01 Jan 0001 00:00:00 +0000 Thu, 20 Jan 2022 09:13:00 +0000 Waiting for user to (re-)start a pod to finish file system resize of volume on node.
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning ExternalExpanding 2m19s volume_expand Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.
Warning VolumeResizeFailed 18s (x2 over 79s) external-resizer disk.csi.azure.com resize volume "pvc-a8564491-915f-4613-8efb-d02cce0103aa" by resizer "disk.csi.azure.com" failed: rpc error: code = DeadlineExceeded desc = context deadline exceeded
Normal Resizing 16s (x3 over 2m19s) external-resizer disk.csi.azure.com External resizer is resizing volume pvc-a8564491-915f-4613-8efb-d02cce0103aa
Normal FileSystemResizeRequired 16s external-resizer disk.csi.azure.com Require file system resize of volume on node
Conditions:
Type Status LastProbeTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
FileSystemResizePending True Mon, 01 Jan 0001 00:00:00 +0000 Mon, 24 Jan 2022 03:32:56 +0000 Waiting for user to (re-)start a pod to finish file system resize of volume on node.
Events: <none>
delete original pod, the pod would get new size after remount immediately
@andyzhangx what would signing up improve on my issue? To clarify I wasn't testing online resizing, just resizing an attached disk, which doesn't work for me using v1.10.0, as the recreated pod couldn't reattach the volume.
@andyzhangx what would signing up improve on my issue? To clarify I wasn't testing online resizing, just resizing an attached disk, which doesn't work for me using v1.10.0, as the recreated pod couldn't reattach the volume.
@bandesz your subs could only support online resize when it's whitelisted by signing up.
Activity
Robert-Stam commentedon Feb 12, 2020
@andyzhangx : Any news on this? Please provide a ballpark estimate if a solid ETA cannot be provided atm. Thanks in advance! Robert
andyzhangx commentedon Feb 13, 2020
@Robert-Stam azure disk team are still investigating on this since there is a blocking issue, current VM is using VHD, and it does not support dynamic resize.
xamox commentedon Feb 13, 2020
Here is the forum issue for Azure. I would recommend going there and voting it up:
https://feedback.azure.com/forums/914020-azure-kubernetes-service-aks/suggestions/39681535-online-resize-of-the-pv-pvc-for-the-kubernetes
fejta-bot commentedon May 13, 2020
Issues go stale after 90d of inactivity.
Mark the issue as fresh with
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with
/close.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
xamox commentedon May 29, 2020
Any movement on this?
ialidzhikov commentedon Jun 7, 2020
/remove-lifecycle stale
andyzhangx commentedon Jun 7, 2020
@xamox Azure disk team are working on this, rough estimation is end of this year
xamox commentedon Jun 8, 2020
Okay, thanks @andyzhangx
ljeromets commentedon Jun 30, 2020
+1, we are also waiting for it.
fejta-bot commentedon Sep 28, 2020
Issues go stale after 90d of inactivity.
Mark the issue as fresh with
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with
/close.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
26 remaining items
andyzhangx commentedon Jan 20, 2022
v1.10.0 is already rolled out on AKS in eastus2euap region now, which already supports AzureDiskLiveReisze feature, I just tried, it works
az feature show --namespace Microsoft.Compute --name LiveResizekubectl edit pvc pvc-name, changespec.resources.requests.storagein PVC config to a larger sizedescribe pvc
bandesz commentedon Jan 24, 2022
I've tested this too, but after deleting the pod the new pod gets stuck in containercreating: #1151
andyzhangx commentedon Jan 25, 2022
this feature is still in private preview, and needs to sign up first: https://aka.ms/disksliveresizepreview
bandesz commentedon Jan 25, 2022
@andyzhangx what would signing up improve on my issue? To clarify I wasn't testing online resizing, just resizing an attached disk, which doesn't work for me using v1.10.0, as the recreated pod couldn't reattach the volume.
bandesz commentedon Jan 25, 2022
@andyzhangx I had to check and the used subscriptions are signed up for this preview.
andyzhangx commentedon Jan 25, 2022
@bandesz your subs could only support online resize when it's whitelisted by signing up.
andyzhangx commentedon Jan 27, 2022
sorry, I forgot to mention use this command to register LiveResize preview feature:
az feature show --namespace Microsoft.Compute --name LiveResizeandyzhangx commentedon Feb 26, 2022
online resize is already supported on v1.11.0, more details: https://github.com/kubernetes-sigs/azuredisk-csi-driver/tree/master/deploy/example/resize
vgazzola commentedon Mar 10, 2022
Hey, for the regions not currently in the preview mentioned in https://docs.microsoft.com/en-us/azure/virtual-machines/linux/expand-disks#expand-an-azure-managed-disk it wouldn't work now, right?
if correct, do you have an ETA for them? Specifically SwitzerlandNorth
andyzhangx commentedon Jun 3, 2022
This feature is already enabled on all Azure public regions, follow guide here to register feature first: https://docs.microsoft.com/en-us/azure/aks/azure-disk-csi#resize-a-persistent-volume-without-downtime
stoetti commentedon Jul 28, 2022
@andyzhangx
Any ETA when this feature will be available without registration?
S0LERA commentedon Jun 7, 2023
Any updates of this on OCP?
andyzhangx commentedon Jun 7, 2023
@S0LERA it should be supported since the underlying azure vm supports data disk online resize now.