Monis Khan
b738be9b46
Use https links for k8s KEPs, issues, PRs, etc
...
Signed-off-by: Monis Khan <mok@microsoft.com >
2022-09-23 23:36:24 +00:00
cndoit18
ec43037d0f
style: remove redundant judgment
...
Signed-off-by: cndoit18 <cndoit18@outlook.com >
2022-08-25 12:07:36 +08:00
Jan Safranek
cdb3ead5a9
Add SupportsSELinuxContextMount
...
Add a new call to VolumePlugin interface and change all its
implementations.
Kubelet's VolumeManager will be interested whether a volume supports
mounting with -o conext=XYZ or not to hanle SetUp() / MountDevice()
accordingly.
2022-08-04 10:51:28 +02:00
Kubernetes Prow Robot
06e107081e
Merge pull request #104732 from mengjiao-liu/remove-flag-experimental-check-node-capabilities-before-mount
...
kubelet: Remove the deprecated flag `--experimental-check-node-capabilities-before-mount`
2022-02-24 07:56:30 -08:00
Jan Safranek
525b8e5cd6
Rename SupportsSELinux to SELinuxRelabel
...
The field in fact says that the container runtime should relabel a volume
when running a container with it, it does not say that the volume supports
SELinux. For example, NFS can support SELinux, but we don't want NFS
volumes relabeled, because they can be shared among several Pods.
2022-02-16 10:54:08 +01:00
Davanum Srinivas
9682b7248f
OWNERS cleanup - Jan 2021 Week 1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-01-10 08:14:29 -05:00
Mengjiao Liu
beda4cafb6
kubelet: Remove the deprecated flag --experimental-check-node-capabilities-before-mount
2022-01-06 11:47:11 +08:00
Paco Xu
3946e6c8c2
assignQuota checks if the underlying medium supports quotas and if so, sets
2022-01-05 09:33:07 +08:00
Davanum Srinivas
497e9c1971
Cleanup OWNERS files (No Activity in the last year)
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-12-15 10:34:02 -05:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-12-09 21:31:26 -05:00
Mateusz Gozdek
d7768519ee
Fix typo assigment -> assignment
...
Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com >
2021-09-04 11:55:26 +02: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
Li Bo
c3d9b10ca8
feature: support Memory QoS for cgroups v2
2021-07-08 09:26:46 +08: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
Kubernetes Prow Robot
f7e62dc5bb
Merge pull request #100746 from mengjiao-liu/fix-nil-call
...
Fixed a possible nil pointer dereference caused by variable `plug`
2021-05-26 14:49:38 -07:00
刁浩 10284789
5908cd0d90
simplify returning boolean expression in /pkg/volume
...
Signed-off-by: 刁浩 10284789 <diao.hao@zte.com.cn >
2021-05-25 02:39:55 +00: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
Niekvdplas
fec272a7b2
Fixed several spelling mistakes
2021-03-30 23:02:09 +02:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
xiongzhongliang
99e1df8367
Remove duplicate package import in empty_dir_test.go
2021-01-20 00:51:35 +08:00
Shihang Zhang
d2859cd89b
plumb service account token down to csi driver
2020-11-12 09:26:43 -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
jornshen
db53ca01da
change plugin name in fsgroupapplymetrics of csi and flexvolume to
...
distinguish different driver
2020-11-04 16:28:28 +08:00
jornshen
4ed7709774
Report a metric for time taken to perform recursive permission change
2020-10-26 21:04:30 +08:00
tashen
27cb5cf4f0
add systemd mount options interface to support the no-systemd mount
2020-10-13 13:46:57 +08:00
Srini Brahmaroutu
fbe5daed73
Change code to use staging/k8s.io/mount-utils
2020-09-16 21:51:24 -07:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:27 -04: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
Hemant Kumar
b132959687
Start adding tests for verifying correct modes
...
Add an example for permission bits checking
2020-03-05 08:00:27 -05:00
Hemant Kumar
c52d4bf32f
Implement changes into volume plugins for skipping chown
...
Add a separate function for walking directories
2020-03-04 21:23:31 -05: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
Ed Bartosh
0eb65bd7da
Implement support for multiple sizes huge pages
...
This implementation allows Pod to request multiple hugepage resources
of different size and mount hugepage volumes using storage medium
HugePage-<size>, e.g.
spec:
containers:
resources:
requests:
hugepages-2Mi: 2Mi
hugepages-1Gi: 2Gi
volumeMounts:
- mountPath: /hugepages-2Mi
name: hugepage-2mi
- mountPath: /hugepages-1Gi
name: hugepage-1gi
...
volumes:
- name: hugepage-2mi
emptyDir:
medium: HugePages-2Mi
- name: hugepage-1gi
emptyDir:
medium: HugePages-1Gi
NOTE: This is an alpha feature.
Feature gate HugePageStorageMediumSize must be enabled for it to work.
2020-02-19 18:15:40 +02:00
Aresforchina
e62f9625cf
fix-static:pkg/volume/emptydir
2020-01-13 15:23:45 +08: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
Kubernetes Prow Robot
372ebd24f5
Merge pull request #83098 from ddebroy/disable-intree
...
CSI Migration phase 2: disable probing of in-tree plugins
2019-11-14 20:51:42 -08:00
Deep Debroy
129f15328b
Disable in-tree plugins migrated to CSI
...
Signed-off-by: Deep Debroy <ddebroy@docker.com >
2019-11-14 17:28:21 -08: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
Jordan Liggitt
297570e06a
hack/update-vendor.sh
2019-11-06 17:42:34 -05:00
Bob Killen
6e68d80013
Prune inactive owners from pkg/volume/* OWNERS files.
2019-10-13 08:44:11 -04:00
Robert Krawitz
bf1f0fa5d9
Remove pod UID from volumeMount, we can get it elsewhere
2019-05-31 14:25:01 -04:00
Robert Krawitz
10d37bb748
Rename pkg/volume/util/quota -> pkg/volume/util/fsquota
2019-05-31 13:57:44 -04:00
Robert Krawitz
9f4a4d1f49
Log message rather than error if setting quota fails
2019-05-29 15:17:47 -04:00
Robert Krawitz
f8661d6240
Use xfs_quota command to apply quotas
2019-05-29 15:12:28 -04:00