JunYang
01a4e4face
Structured Logging migration: modify volume and container part logs of kubelet.
...
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-03-17 08:59:03 +08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Chris Henzie
9d8f994d4e
Separate test Kubelet and AttachDetach VolumeHost types
...
fakeVolumeHost previously implemented both the KubeletVolumeHost and
AttachDetachVolumeHost interfaces. This design makes it difficult to test the
CSIAttacher since it behaves differently depending on what type of
VolumeHost is supplied.
2020-12-17 15:17:04 -08:00
Shihang Zhang
d2859cd89b
plumb service account token down to csi driver
2020-11-12 09:26:43 -08:00
Jiawei Wang
a6d8e6c5c2
Detect change of volume attachability in the middle of attaching
...
- Add Unit tests for both volumemanager and attach/detach controller
- Add E2E test
2020-08-24 17:15:11 -07:00
Hemant Kumar
b8c0435bc2
Handle volume-in-use error
2020-07-11 09:02:58 -04:00
liuxu
2367569f13
fix if don't set ephemeral-storage limit emptyDir's sizeLimit doesn't work
2020-05-23 13:36:56 +08: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
Hemant Kumar
ca532c6fb2
Ensure that error is returned on NodePublish
2019-12-11 22:10:09 -05:00
Hemant Kumar
309c6f863a
Handle the case of remounts correctly
2019-12-02 12:09:38 -05:00
Hemant Kumar
5feea93163
Rename MarkVolumeMountedOpts to MarkVolumeOpts
...
Also remove VolumeNotMounted state
2019-12-02 12:09:38 -05:00
Hemant Kumar
cdbd3ba5c2
Change interface of SetUp function
2019-12-02 12:09:38 -05:00
Hemant Kumar
50dbcb3e00
Make sure PodExistsInVolume does not uses uncertain volumes
2019-12-02 12:01:40 -05:00
Hemant Kumar
34a6007dfe
Add code to mark volume as uncertain
...
Update bazel files
Add tests for volume mounts in uncertain state
2019-12-02 12:01:40 -05:00
Hemant Kumar
a795f3de88
Add code for introducing uncertain state of mounts
...
Add a comment about volumestate
2019-12-02 11:57:40 -05:00
David Zhu
21f7060c8f
Plumb test state through to fake volume host creation for error handling
2019-11-18 14:45:01 -08:00
sunxiaofei03
45d41ed9e5
replace iteration with hashmap in *state_of_world
2019-08-29 19:22:25 +08:00
Kubernetes Prow Robot
a3488b4cee
Merge pull request #81206 from tallclair/staticcheck-kubelet-push
...
Cleanup Kubelet static analysis issues
2019-08-22 15:09:43 -07:00
Tim Allclair
6510d26b6a
Fix misc static check issues
2019-08-21 10:40:21 -07:00
Ted Yu
e85e0bafbd
Drop GetPods from ActualStateOfWorld
2019-08-16 12:59:23 -07:00
fredkan
67aeb09c6a
error config attachable plugin
2019-08-15 22:29:18 +08:00
fredkan
6524b83d53
error config attachable plugin
2019-08-15 20:41:32 +08:00
fredkan
87243f49a4
fix error set csiplugin attachable
2019-08-15 17:08:21 +08:00
Jan Safranek
c744385804
Add limit of stored errors
...
There should be a limit so the set of errors does not grow too much in
case of some bug in the populator.
2019-08-05 10:06:44 +02:00
Jan Safranek
af0c2fe572
Fix some error messages
2019-07-22 10:54:33 +02:00
Jan Safranek
17be780651
Add events to dswp
2019-07-19 17:46:21 +02:00
Robert Krawitz
38753efcc7
Set sizeLimit to the smaller of the ephemeral storage limit and the emptydir limit (if set)
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
Robert Krawitz
448e0c44c6
Apply quotas via syscalls using cgo.
2019-05-29 15:12:28 -04:00
Hemant Kumar
89d1de9eb9
Rename ExandFS to NodeExpand
...
Handle resize error in online resizing
Use NodeExpandable plugin to mark volumes that require node expansion
2019-03-08 09:21:44 -05:00
Kubernetes Prow Robot
54c4428eb4
Merge pull request #71276 from jingxu97/Oct/uncertain
...
Handle failed attach operation leave uncertain volume attach state
2019-01-17 22:52:57 -08:00
Yecheng Fu
67552a8f6e
Add unit test to verify generated volume names.
2018-12-12 13:03:21 +08:00
Yecheng Fu
5ada29ac16
Rename GetUniqueVolumeNameForNonAttachableVolume to GetUniqueVolumeNameFromSpecWithPod
2018-12-01 12:25:32 +08:00
Yecheng Fu
f5642bbe88
Fix device mountable volume names in DSW
2018-12-01 12:25:14 +08:00
Hemant Kumar
d2b6e30143
Fix bug with volume getting marked as not in-use with pending op
...
Add test for verifying volume detach
2018-11-20 11:58:47 -05:00
Jing Xu
562d0fea53
Handle failed attach operation leave uncertain volume attach state
...
This commit adds the unit tests for the PR. It also includes some files
that are affected by the function name changes.
2018-11-19 17:21:49 -08:00
Jan Safranek
5283537401
Fixed clearing of devicePath after UnmountDevice
...
UnmountDevice must not clear devicepath, because such devicePath
may come from node.status (e.g. on AWS) and subsequent MountDevice
operation (that may be already enqueued) needs it.
2018-11-16 13:24:42 +01: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
NickrenREN
c7e4466873
attacher/detacher refactor
2018-08-14 11:12:41 +08:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
Hemant Kumar
179e5d7006
Rename online resizine feature gate
2018-05-31 17:28:12 -04:00
mlmhl
ca12c73323
implement kubelet side online file system resize for volume
2018-05-31 17:10:24 +08:00
Kubernetes Submit Queue
05c88cc831
Merge pull request #61549 from jingxu97/Mar/aswVolumeSpec
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Add volume spec to mountedPod in actual state of world
Add volume spec into mountedPod data struct in the actual state of the
world.
Fixes issue #61248
2018-04-10 17:43:38 -07:00
Jing Xu
264e4ed38c
Add volume spec to mountedPod in actual state of world
...
Add volume spec into mountedPod data struct in the actual state of the
world.
2018-03-30 12:07:52 -07:00
chentao1596
efb4c37270
fix some ineffectual assignments and misspellings for the package of 'pkg/kubelet/volumemanager'
2018-03-02 17:00:38 +08:00
wackxu
b3ba80b223
update bazel
2018-02-27 20:23:36 +08:00
wackxu
f737ad62ed
update import
2018-02-27 20:23:35 +08:00
Kubernetes Submit Queue
68f496d50f
Merge pull request #59710 from sailingwithoutwind/fix/some-typo
...
Automatic merge from submit-queue (batch tested with PRs 50724, 59025, 59710, 59404, 59958). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
some typo
**What this PR does / why we need it**:
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
**Special notes for your reviewer**:
**Release note**:
```release-note
```
2018-02-26 21:34:38 -08:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00