Kubernetes Prow Robot
bb0906dcb2
Merge pull request #99929 from lala123912/lint_clean
...
Remove unused/dead code
2021-04-08 16:00:34 -07:00
Kubernetes Prow Robot
669016067d
Merge pull request #99566 from huchengze/patch-6
...
migrate log in pkg/volume/volume_linux.go
2021-04-08 14:28:43 -07:00
Mengjiao Liu
5fa7f288ce
Fix nil pointer dereference by changing code order
2021-04-07 10:29:53 +08:00
Natanael Copa
79126376f0
Add test for counting inodes correct with hardlinks
2021-04-06 14:19:35 +02:00
Natanael Copa
d45ba645a8
Get inodes and disk usage via pure go
...
Fix inode usage calculation to use filepath.Walk instead of executing an
external find. Also calculate the disk usage while at it so we also get
rid of the external dependency of `nice` and `du`. (#95172 )
This is similar to what cadvisor does since commit
046818d64c
This solves three problems:
- Counts number of inodes correct when there are hardlinks (#96114 )
- Makes kubelet work without GNU findutils (#95186 )
- Makes kubelet work without GNU coreutils (#95172 )
2021-04-06 14:19:35 +02:00
Christian Huffman
3bcf407d2f
Addresses nitpicks for FSGroupPolicy
2021-04-05 15:45:40 -04:00
mengjiao.liu
1d764952da
Fix incorrect test code in pkg/volume/csi/csi_attacher_test.go file
2021-04-01 15:18:07 +08:00
Laila Kassar
a5fdad260f
Update pkg/volume/azure_file/azure_provision.go
...
Co-authored-by: Shiming Zhang <wzshiming@foxmail.com >
2021-03-31 22:54:21 -05:00
Laila Kassar
7514ad4467
Normalize share name to not include capital letters
2021-03-31 23:52:36 +00:00
Niekvdplas
fec272a7b2
Fixed several spelling mistakes
2021-03-30 23:02:09 +02:00
wangyx1992
34c2b2360b
fix errors in wrapped format
...
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn >
2021-03-26 14:57:55 +08:00
Michelle Au
9c169a2122
Revert "fix azure file secret not found issue"
...
This reverts commit 8d43976b74 .
Change-Id: Iefaa0e76489883830ba1c9bdcbc3101bcc33082c
2021-03-25 09:28:50 -07:00
Jan Safranek
408d67dcc5
Fix mounting partitions on NVMe devices
2021-03-23 19:01:47 +01:00
Hemant Kumar
0c9138a204
reduce volume length for vsphere volumes further
2021-03-23 13:43:51 -04:00
JUN YANG
6c566f6dfa
Fix misspelling of condition.
...
Signed-off-by: JUN YANG <yang.jun22@zte.com.cn >
2021-03-19 16:27:53 +08:00
changshuchao
383744c849
fix Spelling error for Unmounter
2021-03-12 00:19:54 +08:00
huchengze
334b31faf6
migrate log in pkg/volume/volume_linux.go
2021-03-11 09:16:03 +08:00
Maxime Lagresle
ce7a7bbf9b
fix rounding of volume storage requests
2021-03-10 21:09:46 +01:00
Kubernetes Prow Robot
4b6e3e164f
Merge pull request #99221 from jsturtevant/windows-host-stats-provider
...
Get filesystem stats for files on Windows
2021-03-10 11:09:23 -08:00
Kubernetes Prow Robot
dcb3c56957
Merge pull request #99284 from fengzixu/support-external-health-monitor
...
feature: add CSIVolumeHealth feature and gate
2021-03-09 16:07:50 -08:00
Kubernetes Prow Robot
5155865ae2
Merge pull request #99326 from sunpa93/fs_resize_fix
...
fix: use pv annotation to trigger filesystem resize when necessary
2021-03-09 11:05:18 -08:00
fengzixu
edc1c62471
feature: add CSIVolumeHealth feature and gate
...
1. add EventRecorder to ResourceAnalyzer
2. add CSIVolumeHealth feature and gate
2021-03-10 01:16:37 +09: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
lala123912
127b675a15
Remove unused/dead code
2021-03-09 09:34:37 +08:00
James Sturtevant
c9eff4e906
Get filesystem stats for files on Windows
2021-03-08 12:50:23 -08:00
Jan Safranek
219cbc818a
Refactor CSI migration plugin manager to get featureGates as a parameter
...
This allows caller to provide fake ones for testing of various corner cases
(migration on A/D controller disabled while enabled on kubelet).
2021-03-08 13:50:01 +01:00
Shintaro Murakami
fe7a862c2d
Unify determination of whether a volume is ephemeral
2021-03-05 14:49:09 +09:00
Kubernetes Prow Robot
cdd80af120
Merge pull request #99719 from jsafrane/cinder-label-ga
...
Promote Cinder topology labels to GA
2021-03-04 00:29:55 -08:00
Jan Safranek
334c7dfe74
Promote Cinder topology labels to GA
2021-03-03 20:05:12 +01:00
Supriya Premkumar
e52e5e486c
Adds ineffassign to GO linter script.
...
Changes:
- Enables ineffassign check in the verify scripts.
- Fixes lint errs.
2021-03-03 08:28:10 -08:00
Kubernetes Prow Robot
5404b5a28a
Merge pull request #98762 from wzshiming/ut/speed-up-csi
...
Speed up pkg/volume/csi unit tests
2021-03-01 10:57:25 -08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
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