Deep Debroy
de7be9d613
Populate InlineVolumeSpec in CSI attacher and translation library
...
Signed-off-by: Deep Debroy <ddebroy@docker.com >
2019-05-30 09:35:22 +00:00
Robert Krawitz
f8661d6240
Use xfs_quota command to apply quotas
2019-05-29 15:12:28 -04:00
Robert Krawitz
448e0c44c6
Apply quotas via syscalls using cgo.
2019-05-29 15:12:28 -04:00
Robert Krawitz
5b97b2860d
Change fsGroup to mounterArgs in volume.SetUp() to allow for future extension.
2019-05-29 15:12:28 -04:00
Hemant Kumar
7563b4d01b
Address comments about retry in online resizing block
2019-05-29 11:01:45 -04:00
Hemant Kumar
d119899e22
handle review comments
2019-05-28 15:22:41 -04:00
Hemant Kumar
33b95ebddb
add some tests for expand controller
...
Update bazel file
2019-05-20 10:55:23 -04:00
Hemant Kumar
673773cbde
check for pvc objects
2019-05-16 12:23:52 -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
Kubernetes Prow Robot
9e52832c52
Merge pull request #77317 from gnufied/fix-block-volume-resizing
...
Fix block volume expansion
2019-05-01 20:42:56 -07:00
Kubernetes Prow Robot
b5c34d0c43
Merge pull request #74734 from codenrhoden/move-mountspath
...
Move MountsInGlobalPDPath from mount pkg to volume
2019-05-01 17:28:18 -07:00
Hemant Kumar
0eb68c5a22
Fix blockvolume expansion
2019-05-01 18:25:54 -04:00
David Zhu
1271237d23
Add migration metrics checking to all test suites
2019-05-01 11:24:03 -07:00
Travis Rhoden
78d109e201
Always use filepath.Join instead of path.Join
...
This patch cleans up pkg/util/mount/* and pkg/util/volume/* to always
use filepath.Join instead of path.Join. filepath.Join is preferred
because path.Join can have issues on Windows.
2019-04-29 09:56:05 -06:00
David Zhu
213cc99ead
Operation generator migration metric fixes and test metrics retrieval code
2019-04-25 16:27:45 -07:00
Kubernetes Prow Robot
88992ba185
Merge pull request #75986 from mucahitkurt/improvement/reduce-event-spam-for-GenerateAttachVolumeFunc
...
Reduce event spam for function GenerateAttachVolumeFunc
2019-04-24 18:12:44 -07:00
Mucahit Kurt
1c1da755dc
reduce event spam for function GenerateAttachVolumeFunc
...
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com >
2019-04-24 23:45:28 +03:00
Kubernetes Prow Robot
7e02769736
Merge pull request #75926 from cwdsuzhou/operation_generator_add_attach_detach
...
Add operation name for other volume operations
2019-04-18 00:26:08 -07:00
caiweidong
7c9e567008
add operation name for other volume operations
2019-04-12 11:09:13 +08:00
Kubernetes Prow Robot
b1829dff0b
Merge pull request #74844 from leakingtapan/migration-raw-block
...
Implement CSI migration logic for block volume
2019-03-28 18:12:14 -07:00
Cheng Pan
f7050a04ce
Implement CSI migration logic for block volume
2019-03-26 22:22:03 +00:00
Hemant Kumar
97ec61561a
Allow different operation names
2019-03-13 14:20:45 -04:00
Hemant Kumar
a8f318779b
Add CSI volume resizing tests
...
Add some tests for checking node expansion
Add new tests for expander
2019-03-08 09:23:18 -05:00
Hemant Kumar
529cd7119b
Move resize function parameters to a new ResizeOptions type
...
This enables us to pass CSI volume phase
2019-03-08 09:21:44 -05:00
Hemant Kumar
89d1de9eb9
Rename ExandFS to NodeExpand
...
Handle resize error in online resizing
Use NodeExpandable plugin to mark volumes that require node expansion
2019-03-08 09:21:44 -05:00
David Zhu
41b3579345
Address review comments
2019-03-07 17:17:09 -08:00
David Zhu
7d2f4e97b8
Add ADC Fallback if Node doesn't have driver installed
2019-03-07 14:47:38 -08:00
Kubernetes Prow Robot
8dd60281ff
Merge pull request #74653 from cofyc/fix74650-CheckVolumeExistenceOperation
...
Distinguish between volume path and mount path
2019-03-06 20:35:40 -08:00
Deep Debroy
1fb4290c4e
Update API names and references
...
Signed-off-by: Deep Debroy <ddebroy@docker.com >
2019-03-04 19:13:05 -08:00
Kubernetes Prow Robot
84dce4d119
Merge pull request #74393 from codenrhoden/refactor-subpath
...
Refactor subpath out of pkg/util/mount
2019-02-27 15:54:36 -08:00
Yecheng Fu
8940976602
Distinguish volume path with mount path
2019-02-27 19:31:26 +08:00
Travis Rhoden
2c4d748bed
Refactor subpath out of pkg/util/mount
...
This patch moves subpath functionality out of pkg/util/mount and into a
new package pkg/volume/util/subpath. NSEnter funtionality is maintained.
2019-02-26 19:59:53 -07:00
David Zhu
b0b6fd035a
Add feature gate check for migration at beginning of useCSIPlugin check
2019-02-26 11:47:20 -08:00
Yecheng Fu
618917e210
VolumeSpec may be nil in volume reconstruction scenario
2019-02-25 13:52:21 +08:00
Cheng Pan
6355186c3e
Add In-tree to CSI migration logic for Mount and Unmount
2019-02-18 04:55:31 +00:00
Kubernetes Prow Robot
60943a7a08
Merge pull request #69830 from davidz627/feature/csiTranslationMigration
...
In-Tree to CSI Migration logic for PersistentVolume Attach/Detach
2019-02-14 22:43:05 -08:00
David Zhu
5dde1df1cd
Migration shim logic for Persistent Volumes for Attach/Detach
2019-02-14 17:04:23 -08:00
Andrew Kim
ca6a051b00
remove cloud provider dependencies to pkg/volume
...
Co-authored-by: Weibin Lin <linweibin1@huawei.com >
2019-02-09 01:16:55 -05:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
...
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
qingsenLi
4b25a4fd93
fix some typos in /pkg/volume
2019-01-28 23:17:48 +08:00
Kubernetes Prow Robot
54c4428eb4
Merge pull request #71276 from jingxu97/Oct/uncertain
...
Handle failed attach operation leave uncertain volume attach state
2019-01-17 22:52:57 -08:00
David Zhu
384fce6bb1
Common Migration shim functaionality and flags
2019-01-17 14:43:59 -08:00
David Zhu
d8c9dc5bb5
Add IsMigratableToCSI to volume plugin interface
2019-01-17 14:43:52 -08:00
Jing Xu
7bac6ca73a
Address comments
...
This commit addressed the comment and also add a unit test.
2019-01-11 10:57:37 -08:00
saad-ali
2251bf0c21
Ensure volume mount err checking done inside op
...
Ensure volume mount error checking is done inside the operation so that
failures get handled with exponential backoff, etc.
2018-11-29 16:52:24 -08:00
Mikhail Shaverdo
a29981640f
Fix nil pointer dereference panic in attachDetachController
...
add check `attachableVolumePlugin == nil` to operationGenerator.GenerateDetachVolumeFunc()
2018-11-29 13:10:07 +03:00
Jing Xu
47331cf0a2
WIP: Handle failed attach operation leave uncertain volume attach state
...
This PR fixes issue #32727 .
When an attach operation fails, it is still possible that the volume
will be attached to the node later. This PR adds the logic to record the
volume to node with attached state no matter whether the operation
succedded or not. If the operation fails, mark the attached state to
false. If the operation succeeded, mark the attached state to true. The
reconciler will still issue attach operation until it returns
successfully. If the pod is removed in the mean time, the reconciler
will issue detach operations for all the volumes no matter what is the
attached state.
2018-11-19 17:19:10 -08:00
Masaki Kimura
f0354ad605
Fix for adding block volume support to CSI RBD driver
2018-11-14 19:20:56 +00:00
Yecheng Fu
dfe0a08f05
Improve usability of CSI plugin metrics
...
Use full qualified plugin name if volume spec is present.
2018-11-12 09:21:49 +08:00