Hemant Kumar
b59c3c5d3d
Preserve conditions in case we are retrying expansion in some cases
...
When marking pvc expansion for failed condition, we should try and
preserve old resizing conditions with different name.
2024-07-16 15:44:08 -04:00
Hemant Kumar
785e68a626
Add code for testing final errors
2024-07-15 15:41:31 -04:00
Hemant Kumar
49e82fd120
Rename ReizeFailed conditions to ResizeInfeasible
2024-07-10 12:02:54 -04:00
Hemant Kumar
e011187114
Update code to use new generic allocatedResourceStatus field
2023-07-17 15:30:35 -04:00
HirazawaUi
79b799a0f3
delete unused functions in pkg/volume directory
2023-01-16 21:19:11 +08:00
Matthew Wong
a322a708f3
Fix PVC nil pointer dereference during migration-enabled volume expand
2022-08-17 11:32:22 -07:00
Hemant Kumar
1ddd598d31
Implement controller and kubelet changes for recovery from resize
...
failures
2021-11-16 11:06:46 -05:00
Sung Jun Park
5f69cf74d8
fix: when newly binding pvc to a pv, adjust pvc.status.capacity to pv's annotation that denotes the pre-resize capacity of the original pvc that pv was bound to if it has one
...
test: confirm that pvc's status capacity is adjusted if pv has a pre-resize capacity annotation
2021-03-09 07:55:10 +00:00
drfish
eb0b61912f
Use utilexec.Interface instead of SafeFormatAndMount as filed of ResizeFs
2021-02-20 23:41:06 +08:00
drfish
a04ab9debf
Move filesystem resize code to kubernetes/mount-utils
2021-02-15 16:07:07 +08:00
Srini Brahmaroutu
fbe5daed73
Change code to use staging/k8s.io/mount-utils
2020-09-16 21:51:24 -07:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Travis Rhoden
0c5c3d8bb9
Remove pkg/util/mount (moved out of tree)
...
This patch removes pkg/util/mount completely, and replaces it with the
mount package now located at k8s.io/utils/mount. The code found at
k8s.io/utils/mount was moved there from pkg/util/mount, so the code is
identical, just no longer in-tree to k/k.
2019-11-15 08:29:12 -07:00
Hemant Kumar
d119899e22
handle review comments
2019-05-28 15:22:41 -04:00
Hemant Kumar
405d33eae4
Add code to handle in-tree to CSI migration for resizing
2019-05-17 10:57:44 -04:00
Hemant Kumar
4886e8782c
name the queue properly and use lower case for error message
2019-05-16 21:34:57 -04:00
Matthew Wong
c16a555654
Use workqueue model in expand controller
...
Add a test for patch creation
2019-05-14 16:42:06 -04:00
Aniket Kulkarni
75350d11e9
adding support for expanding in use persistent volumes for Flex
2018-10-24 15:31:16 -04:00
Hemant Kumar
1fa8cbc5e4
Improve messaging on resize
...
- we now provide clear message to user what to do when cloudprovider resizing is finished
and file system resizing is needed.
- add a event when resizing is successful.
- Use Patch for updating PVCs in both kubelet and controller-manager
- Extract updating pvc util function in one place.
- Only update resize conditions on progress
2018-01-29 15:07:51 -05:00