Commit Graph

3752 Commits

Author SHA1 Message Date
wzshiming
bc3d9252bc Speed up pkg/volume/csi unit tests 2021-02-27 14:09:38 +08:00
Kubernetes Prow Robot
29c661bd2f Merge pull request #97834 from chrishenzie/volume-attachment-informer
Update CSI attacher to fetch VolumeAttachments from lister
2021-02-26 13:58:15 -08:00
Kubernetes Prow Robot
c200a8f9b7 Merge pull request #98433 from damemi/remove-helper-from-volume-zone
Move GetPersistentVolumeClaimClass to component-helpers
2021-02-26 12:38:15 -08:00
Kubernetes Prow Robot
d2edd33ae5 Merge pull request #98171 from pandaamanda/remove_duplicate_import
Remove duplicate package import in empty_dir_test.go
2021-02-26 10:40:16 -08:00
Kubernetes Prow Robot
525e397a48 Merge pull request #98546 from divyenpatel/deprecate-vcp-paramters
deprecating in-tree vsphere volume diskformat parameters, vsphere less than 67u3, vm hardware less than 15 and multi vCenter support
2021-02-25 13:52:15 -08:00
Kubernetes Prow Robot
4cc1127e92 Merge pull request #99229 from tanjing2020/subtests
attacher: organize unit tests into subtests
2021-02-24 02:08:50 -08:00
Kubernetes Prow Robot
267e47f548 Merge pull request #99130 from ayberk/ebs_ga_labels
Use GA topology labels for EBS
2021-02-23 23:48:49 -08:00
Chris Henzie
f36fec997a Poll for VolumeAttachments in CSI attacher
The CSI attacher that runs inside of the AttachDetachController has
access to a VolumeAttachment lister. By polling this lister for the
status of VolumeAttachments, we can save threads on the API server by
not using watches.
2021-02-23 16:54:18 -08:00
Chris Henzie
12e85e0e1c Extend test CSI plugin constructor to support multiple volume host types 2021-02-23 16:54:18 -08:00
Chris Henzie
1db6c30947 Interfaces for fake volume host types 2021-02-23 16:54:18 -08:00
Kubernetes Prow Robot
ccf8a2ef4f Merge pull request #99088 from gavinfish/storage-resize
Storage: move filesystem resize code to kubernetes/mount-utils
2021-02-22 17:24:02 -08:00
phantooom
0017b602be test: add csi raw block mode wiht podinfo ut 2021-02-21 23:47:21 +08:00
phantooom
31aa15284f kubelet: fix raw block mode CSI NodePublishVolume stage miss pod info 2021-02-21 23:46:50 +08:00
drfish
eb0b61912f Use utilexec.Interface instead of SafeFormatAndMount as filed of ResizeFs 2021-02-20 23:41:06 +08:00
Divyen Patel
3e91ac26fb deprecating in-tree vsphere volume diskformat sc parameter, vSphere less than 67u3, vm hardware less than 15 and multi vCenter server 2021-02-19 16:30:49 -08:00
drfish
d7fbf44361 Remove CSIDriverRegistry, BlockVolume and CSIBlockVolume feature flags 2021-02-19 23:40:28 +08:00
tanjing2020
11df89c778 attacher: organize unit tests into subtests 2021-02-19 16:30:30 +08:00
Kubernetes Prow Robot
b2a5d67dd5 Merge pull request #98979 from Jiawei0227/kubelet_csi
Add csi_operations_seconds metrics on kubelet
2021-02-18 19:04:36 -08:00
Ayberk Yilmaz
339b8b450f Use GA topoogy labels for EBS 2021-02-18 00:34:56 +00:00
Jiawei Wang
43bc6fa806 Add csi_operations_seconds metrics on kubelet 2021-02-17 13:38:27 -08:00
Kubernetes Prow Robot
0f140bf1ee Merge pull request #99122 from huffmanca/update-minimum-azure-file-size
Updates the Azure File minimum size for premium accounts
2021-02-17 11:59:07 -08:00
Kubernetes Prow Robot
aa28a3563b Merge pull request #99050 from Jiawei0227/storage_metrics
Add migrated field to storage_operation_duration_seconds metric
2021-02-16 18:21:06 -08:00
Christian Huffman
8d804287d3 Updates the Azure File minimum size for premium accounts 2021-02-16 10:57:41 -05:00
Jiawei Wang
9ec820a91a Fix bazel build 2021-02-15 10:08:12 -08:00
Jiawei Wang
e64309c0b2 Fix typecheck 2021-02-15 00:22:04 -08:00
drfish
a04ab9debf Move filesystem resize code to kubernetes/mount-utils 2021-02-15 16:07:07 +08:00
Jiawei Wang
3d61b56bcd update bazel 2021-02-12 17:50:40 -08:00
Jiawei Wang
6a7222cf4e Add migrated field to storage_operation_duration_seconds metric 2021-02-12 17:35:01 -08:00
Matthew Cary
3e9cf26f11 Restore volume operation error metric, and mark it and related metric for deprecation
Change-Id: I3f559e34637c28999ee9e708a832e16b1764887d
2021-02-12 14:21:24 -08:00
Kubernetes Prow Robot
254106c42c Merge pull request #98830 from liyanhui1228/fixvspherepath
Escape the special character in vsphere windows path
2021-02-10 17:58:23 -08:00
Kubernetes Prow Robot
0d598baa4a Merge pull request #98641 from Jeffwan/update_links
Fix ALPHA stability level reference link
2021-02-10 13:42:15 -08:00
Kubernetes Prow Robot
11a05eb9af Merge pull request #94895 from kinvolk/mauricio/fix-setvolumeownership
volume: Change owner of symlinks too
2021-02-10 05:50:59 -08:00
Kubernetes Prow Robot
5eeaa562b1 Merge pull request #98760 from wzshiming/ut/speed-up-operationexecutor
Speed up pkg/volume/util/operationexecutor unit tests
2021-02-09 00:45:35 -08:00
Angela Li
1edb548b09 Use -LiteralPath instead of -Path 2021-02-06 22:45:46 -08:00
Angela Li
0fd36b00bb Escape the special character in vsphere windows path 2021-02-06 02:13:31 -08:00
Kubernetes Prow Robot
19c9cf7a20 Merge pull request #98717 from mengjiao-liu/subpath-permission
fix VolumeMount permissions with subpaths only apply the right permsions to the last directory
2021-02-05 02:48:51 -08:00
Kubernetes Prow Robot
f5fb1c93db Merge pull request #96021 from huffmanca/dont-remove-volume
Dont remove volumes when saveVolumeData fails
2021-02-04 18:20:51 -08:00
wzshiming
48eb16797c Speed up pkg/volume/util/operationexecutor unit tests 2021-02-04 22:14:34 +08:00
mengjiao.liu
d9138069fe fix VolumeMount permissions with subpaths only apply the right permissions to the last directory 2021-02-03 16:25:47 +08:00
Jiawei Wang
e76f60d2b8 Update gce-pd volume topology label to GA 2021-02-02 19:13:57 -08:00
Kubernetes Prow Robot
ee2b7a5049 Merge pull request #98049 from pacoxu/enhancements/redir-links
fix all keps links 404 for kep folder migration
2021-02-01 21:48:28 -08:00
Mike Dame
ba72411aa2 Move GetPersistentVolumeClaimClass to component-helpers
The goal of this move is related to issue 89930, to break the dependence
of scheduling plugins on internal helpers. This function can easily move to
component-helpers where it will be used by other components as well.
2021-02-01 10:48:38 -05:00
pacoxu
a10bdfed09 fix all keps links 404 for kep folder migration
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-01 19:41:59 +08:00
Jiaxin Shan
e01a21469b Fix ALPHA stability level reference link 2021-01-31 15:39:04 -08:00
Kubernetes Prow Robot
c04058418f Merge pull request #98243 from Jiawei0227/unregister-plugin
Disable in-tree plugin without enabling CSI migration
2021-01-29 12:59:48 -08:00
Kubernetes Prow Robot
125a5f10a6 Merge pull request #96599 from tanjing2020/master
fix staticcheck:pkg/volume/testing
2021-01-28 18:43:40 -08:00
jornshen
c88cb14777 combine volumn latency and error metrics 2021-01-23 16:19:26 +08:00
Jiawei Wang
bda557b4bc Disable in-tree plugin without enabling CSI migration
This commit replaces the CSIMigrationXXXComplete flag
with InTreePluginXXUnregister flag. This new flag will
be a superset of the CSIMigrationXXXComplete. But this
decouple the plugin unregister from CSI migration. So
if a K8s distribution want to go directly with CSI and
do not support in-tree, they can use this flag directly.

Testing:
1. Enable the InTreePluginXXUnregister and not CSIMigrationXXX,
verify that the PVC using old plugin name will have error
saying cannot find the plugin
2. Enable both the InTreePluginXXUnregister and CSIMigrationXXX
verify that the PVC using old plugin name will start to use
the migrated CSI plugin
2021-01-22 16:58:51 -08:00
Kubernetes Prow Robot
a64c7ed1dc Merge pull request #97930 from JieJhih/golint/fs
fix golint in volume fs
2021-01-19 13:14:00 -08:00
Christian Huffman
15da65d9ae Include unit test 2021-01-19 16:10:51 -05:00