yxxhero
4fac7486d4
remove ioutil in kubelet
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-27 21:08:42 +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
Jonathan Dobson
484eb01822
kubelet: do not call RemoveAll on volumes directory for orphaned pods
2021-06-08 13:57:35 -06:00
Lorenz Brun
ea27d9225c
Add tests for populated volumes
2021-02-01 20:10:34 +01:00
Lorenz Brun
670452cfc5
Fix tests to test for new behavior
2020-12-21 20:20:54 +01:00
Michelle Au
25edb8bc69
Revert "check volume directories instead of mounts for cleanupOrphanedPodDirs"
2020-11-20 09:06:09 -08:00
Mucahit Kurt
6748570724
Change the logic of pod volumes existence check during kubelet cleanupOrphanedPodDirs, cleanupOrphanedPodCgroups and PodResourcesAreReclaimed
...
check in-memory cache whether volumes are still mounted and check disk directory for the volume paths instead of mounted volumes check
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
2020-11-10 17:33:01 +03:00
Srini Brahmaroutu
fbe5daed73
Change code to use staging/k8s.io/mount-utils
2020-09-16 21:51:24 -07:00
Jing Xu
7012994a61
Fix issue in kubelet getMountedVolumePathListFromDisk
...
This PR fixes issue #74650 . It adds the extra check for /mount dir under
pod volume dir. It also adds the unit test for this function
2020-06-22 10:00:43 -07:00
Michelle Au
8724b46623
Check for volume-subpaths directory in orpahaned pod cleanup
2018-12-26 10:49:28 -08:00