phantooom
82c2266f25
chore: make csi getPodInfoAttrs func private
2021-04-15 20:51:51 +08:00
phantooom
31aa15284f
kubelet: fix raw block mode CSI NodePublishVolume stage miss pod info
2021-02-21 23:46:50 +08:00
Jiawei Wang
43bc6fa806
Add csi_operations_seconds metrics on kubelet
2021-02-17 13:38:27 -08:00
Shihang Zhang
d2859cd89b
plumb service account token down to csi driver
2020-11-12 09:26:43 -08:00
Kubernetes Prow Robot
14c69640d0
Merge pull request #87166 from jingxu97/Jan/mountcheckfix
...
Fix issue in kubelet getMountedVolumePathListFromDisk
2020-06-25 09:45:39 -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
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
Jan Safranek
073d0b2340
Add getPublishDir and getVolumePluginDir
...
So we don't need to compute these backwards from getPublishPath and
getVolumeDevicePluginDir.
2020-02-17 10:51:39 +01:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
ethan
d26e352fe7
cleanup: remove package csi duplicated error log
...
return err directly in func; delete new line in error message
cleanup: use errors.New(log()) to uniform error message
2019-08-05 20:35:28 +08:00
Mucahit Kurt
db1c07750a
unit tests for the volume plugin name that's used inside GeneratedUnmapVolumeFunc for csi migration on/off scenarios
...
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
2019-06-11 08:32:25 +03: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
Vladimir Vivien
923ad369c8
CSI Inline Volume - Kubelet/Driver code impl
2019-03-08 12:40:09 -05:00
David Zhu
5dde1df1cd
Migration shim logic for Persistent Volumes for Attach/Detach
2019-02-14 17:04:23 -08:00
danielqsj
657a1a1a34
change import alias of utils/strings
2019-01-30 10:44:09 +08:00
danielqsj
093328e57f
migrate to k8s.io/utils/strings
2019-01-30 10:24:00 +08:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Vladimir Vivien
e3bc731143
CSI fix for proper fsgroup application to volume
2018-09-14 14:58:18 -04:00
Cheng Xing
4ca39ef0ed
Consolidated CSIDriver logic under CSIDriverRegistry flag
2018-09-10 13:34:40 -07:00
Vladimir Vivien
5044a3d12c
CSI implementation of raw block volume support
2018-06-05 16:53:56 -04:00
mlmhl
b9606696c9
return error if get NodeStageSecret and NodePublishSecret failed
2018-03-20 12:57:08 +08:00
Serguei Bezverkhi
a6ca466859
k8s csi code change
2018-02-23 16:50:43 -05:00