Kevin Torres
b9e0d4ad66
Unit tests for pod level hugepage resources
2025-03-20 17:54:39 +00:00
Kevin Hannon
1d752200af
promote size backed memory volumes to stable
2024-10-16 17:15:02 -04:00
carlory
c4851c64a0
remove volumeoptions from VolumePlugin and BlockVolumePlugin
2024-07-24 14:07:02 +08:00
Itamar Holder
3b9b03935e
unit test: Use tmpfs noswap if supported
...
Signed-off-by: Itamar Holder <iholder@redhat.com >
2024-05-21 13:18:16 +03:00
Marek Siarkowicz
3ee8178768
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 20:25:29 +02:00
guoguangwu
70ff750c75
chore: io/ioutil deprecated
2023-06-02 13:10:38 +08:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev >
2021-08-24 15:47:49 -04:00
Kubernetes Prow Robot
36a7426aa5
Merge pull request #99144 from bart0sh/PR0094-promote-HugePageStorageMediumSize-to-GA
...
promote huge page storage medium size to GA
2021-07-07 18:09:05 -07:00
mengjiao.liu
c24b87b133
Fixed a possible nil pointer dereference caused by variable plug
2021-05-21 10:17:04 +08:00
Ed Bartosh
c12aa0f6b7
promote HugePageStorageMediumSize to GA
2021-05-10 15:57:55 +03:00
wangyx1992
7fe934a72d
cleanup: fix log capitalization in volume package
...
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn >
2021-04-14 21:58:56 +08:00
xiongzhongliang
99e1df8367
Remove duplicate package import in empty_dir_test.go
2021-01-20 00:51:35 +08:00
Kubernetes Prow Robot
f458996af1
Merge pull request #95770 from jingxu97/oct/readyfile
...
Remove ready directory which created in empty volumeMounter setUp func
2020-11-10 10:54:40 -08:00
Jing Xu
a4aa494cc1
Remove ready directory which created in empty volumeMounter setUp func
...
Change-Id: I2384b07c7a044149e93e951a45f9f8a7bd9dba15
2020-11-09 23:12:21 -08:00
Derek Carr
7eb37a7497
Add support to size memory backed volumes
2020-11-06 09:35:14 -05:00
Srini Brahmaroutu
fbe5daed73
Change code to use staging/k8s.io/mount-utils
2020-09-16 21:51:24 -07:00
Ted Yu
1b9d6f46bf
Append suffix 'i' only if needed
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com >
2020-05-10 07:36:58 -07:00
Ed Bartosh
03ecc20b19
empty_dir: Check if hugetlbfs volume is mounted with a correct pagesize
...
Extended GetMountMedium function to check if hugetlbfs volume
is mounted with the page size equal to the medium size.
Page size is obtained from the 'pagesize' mount option of the
mounted hugetlbfs volume.
2020-02-20 13:57:36 +02:00
Ed Bartosh
882d6e93af
Implement tests for multiple sizes huge pages
...
Co-Authored-By: Odin Ugedal <odin@ugedal.com >
2020-02-19 18:15:40 +02:00
David Zhu
21f7060c8f
Plumb test state through to fake volume host creation for error handling
2019-11-18 14:45:01 -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
Travis Rhoden
1fd8921546
Move mount/fake.go to mount/fake_mount.go
...
This patch moves fake.go to mount_fake.go, and follows to principle of
always returning a discrete type rather than an Interface. All callers
of "FakeMounter" are changed to instead use "NewFakeMounter()". The
FakeMounter "Log" struct member is changed to not be exported, and
instead only access through a new "GetLog()" method.
2019-11-08 08:07:41 -07:00
Robert Krawitz
5b97b2860d
Change fsGroup to mounterArgs in volume.SetUp() to allow for future extension.
2019-05-29 15:12:28 -04: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
Cheng Pan
42ef7ae8d5
fix golint issues for pkg/volume/empty_dir
2018-10-15 20:00:36 +00:00