Ted Yu
66ce52578a
Query pod status outside loop over containers
2019-04-30 19:35:32 -07:00
Ted Yu
fe6e50df3d
Use map to check for long-running request
...
Signed-off-by: Ted Yu <yute@vmware.com >
2019-04-30 19:32:35 -07:00
Jan Safranek
96c41f8a1e
Fix message of failed sync
...
From:
MountVolume.SetUp failed for volume "secret-prometheus-k8s-proxy" :
couldn't propagate object cache: timed out waiting for the condition
To:
MountVolume.SetUp failed for volume "secret-prometheus-k8s-proxy" : failed
to sync secret cache: timed out waiting for the condition
2019-04-30 13:05:07 +02:00
Kubernetes Prow Robot
16085784bc
Merge pull request #75110 from bertinatto/fix_race_watcher
...
Send events before adding watchers in traversePluginDir
2019-04-29 17:19:38 -07:00
mattjmcnaughton
0547167ad0
Increase maxMsgSize for dockershim
...
Increase the grpc max message size to be the same as the value defined
in `pkg/kubelet/remote/utils.go`.
Increase the limit because, `ListPodSandbox` (and possibly other) calls
are hitting the limit. Long term, the best solution to this issue is to
use pagination, but that is not currently available.
2019-04-27 13:26:31 -04:00
Kevin Klues
ef27f5f1a5
Add ability to find init Container IDs in cpumanager reconcileState()
...
The cpumanager loops through all init Containers and app Containers when
reconciling its state. However, the current implementation of
findContainerIDByName(), which is call by the reconciler, does not
resolve for init Containers.
This patch updates findContainerIDByName() to account for init
Containers and adds a regression test that fails before the change and
succeeds after.
2019-04-27 06:18:55 -07:00
obitech
9e35d3d709
Fix golint issues in pkg/kubelet/oom
2019-04-27 10:00:07 +02:00
Ted Yu
1be83c9d4d
Utilize read lock for getLastObservedNodeAddresses
2019-04-26 20:05:49 -07:00
changyaowei
850f4bbd36
modify random failure
2019-04-27 08:04:58 +08:00
Kubernetes Prow Robot
5b43333291
Merge pull request #76884 from SataQiu/fix-golint-pkg/kubelet/pod
...
Fix golint failures of pkg/kubelet/pod
2019-04-25 13:37:06 -07:00
Kubernetes Prow Robot
f4937619a2
Merge pull request #75442 from mars1024/bugfix/bandwidth_unit
...
change bandwidth units from Kb to b
2019-04-25 13:36:54 -07:00
Kubernetes Prow Robot
3bbd0e92e8
Merge pull request #75228 from haiyanmeng/kubelet
...
Add metrics to monitor the kubelet http server
2019-04-25 13:36:31 -07:00
Kubernetes Prow Robot
40a7a2370b
Merge pull request #76940 from cwdsuzhou/use_locked_func
...
fix: use locked func to replace the raw one to avoid concurrent read
2019-04-25 12:04:08 -07:00
Yu Cao
e8b60b1d8d
fix comment about nodeStatusReportFrequency in kubelet.go
2019-04-25 19:49:48 +08:00
SataQiu
1581055c3a
fix golint failures of pkg/kubelet/pod
2019-04-25 11:54:14 +08:00
SataQiu
bf37c8a217
fix golint failures of pkg/kubelet/checkpointmanager/checksum
2019-04-25 09:56:43 +08:00
yameiwang
f130e48deb
fix golint errors in pkg/volume/host_path
2019-04-25 06:46:47 +08:00
Kubernetes Prow Robot
5c4a59f9af
Merge pull request #76690 from SataQiu/fix-golint-kubelet-20190417
...
Fix some golint failures of pkg/kubelet
2019-04-24 12:24:51 -07:00
Kubernetes Prow Robot
8ec6167f61
Merge pull request #74942 from WanLinghao/event_replace
...
Migrate oom watcher not relying on cAdviosr's API any more
2019-04-24 05:50:05 -07:00
Kubernetes Prow Robot
5a790bce3b
Merge pull request #76763 from SataQiu/ifx-golint-kubelet-20190419
...
Fix golint failures of pkg/kubelet/apis
2019-04-24 01:24:14 -07:00
Kubernetes Prow Robot
ea38af74a9
Merge pull request #76925 from SataQiu/fix-golint-kubelet-2019042302
...
Fix golint failures of pkg/kubelet/dockershim/cm
2019-04-23 23:50:50 -07:00
Kubernetes Prow Robot
970e5929fe
Merge pull request #76806 from SataQiu/fix-kubelet-golint-20190419
...
Fix golint failures of pkg/kubelet/checkpoint
2019-04-23 22:10:11 -07:00
SataQiu
828125c725
fix golint failures of pkg/kubelet/apis
2019-04-24 12:56:28 +08:00
Fabio Bertinatto
f56455753b
Remove unnecessary in-line function
2019-04-23 22:24:33 +02:00
Fabio Bertinatto
817c9ca953
Process plugins found before the ones watched
...
Currently, the method `pluginwatcher.traversePluginDir` descends into
a directory adding filesystem watchers and creating synthetic `create`
events when it finds sockets files. However, a race condition might
happen when a recently-added watcher observes a `delete` event in a
socket file before `pluginwatcher.traversePlugindir` itself notices
this file.
This patch changes this behavior by registering watchers on
directories, enqueueing and processing `create` events from sockets
found, and only then processing the events from the registered watchers.
2019-04-23 22:24:33 +02:00
caiweidong
2fe823ba46
fix: use locked func to replace the raw one to avoid concurrent read
2019-04-23 21:00:13 +08:00
SataQiu
423e8f0292
fix golint failures of pkg/kubelet/dockershim/cm
2019-04-23 12:59:13 +08:00
Kubernetes Prow Robot
4ec29a1a2b
Merge pull request #76889 from SataQiu/fix-golint-kubelet-util-20190422
...
Fix golint failures of pkg/kubelet/util
2019-04-22 20:44:25 -07:00
Tim Allclair
c12b053390
Reregister cAdvisor cloud info providers in Kubelet
2019-04-22 15:43:45 -07:00
SataQiu
cd6828bae0
fix golint failures of pkg/kubelet/util
2019-04-22 15:23:07 +08:00
SataQiu
f5736f3fd1
fix some golint failures of pkg/kubelet
2019-04-22 10:40:51 +08:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
SataQiu
0e1956b762
fix golint failures of pkg/kubelet/checkpoint
2019-04-19 18:27:32 +08:00
Kubernetes Prow Robot
1192ca09f0
Merge pull request #76634 from xichengliudui/addConsts
...
Using const() defines constants together
2019-04-18 01:50:10 -07:00
Kubernetes Prow Robot
6bc42d5bc0
Merge pull request #75869 from WanLinghao/cm_log_fix
...
Fix a log info error
2019-04-17 21:14:01 -07:00
Kubernetes Prow Robot
32a49828fe
Merge pull request #76456 from codenrhoden/mv-exec-mounter
...
Move ExecMount to pkg/volume/util/exec
2019-04-17 12:16:20 -07:00
Kubernetes Prow Robot
aff3f0c61c
Merge pull request #76665 from tallclair/imageref
...
Use consistent imageRef during container startup
2019-04-16 19:14:34 -07:00
Kubernetes Prow Robot
dffbae622a
Merge pull request #76633 from xichengliudui/little-bug
...
Small bug: Comments and function names do not match
2019-04-16 17:48:34 -07:00
Yu-Ju Hong
903f635ab3
dockershim: Fix negotiating docker API version
...
API version negotiation needs to happen before any meaningful docker
calls, including simple commands such as "/version".
2019-04-15 15:25:06 -07:00
changyaowei
123d1a925f
modify random failure
2019-04-15 20:26:00 +08:00
viegasdom
9d3d7a7b51
Changes another usage of the BandwidthShaper to Shaper
2019-04-12 17:24:57 +01:00
Kubernetes Prow Robot
097d58523a
Merge pull request #75278 from Nessex/updatecontainerresources-label-fix
...
Fix label on UpdateContainerResources operation
2019-04-12 08:44:48 -07:00
Kubernetes Prow Robot
78f571dcfc
Merge pull request #76291 from dims/update-to-latest-cadvisor-remove-mesos-rkt
...
Update to latest cadvisor - cleanup mesos/rkt
2019-04-12 06:15:00 -07:00
Kubernetes Prow Robot
b7858e31d4
Merge pull request #76074 from danielqsj/probe
...
change kubelet probe metrics to counter
2019-04-12 03:23:04 -07:00
Kubernetes Prow Robot
c6338979ff
Merge pull request #75843 from alok87/update-dep-docker-docker-18.09.3
...
Update docker/docker dependency to release 18.09.4
2019-04-12 03:22:48 -07:00
Haiyan Meng
538cd87864
Add metrics to monitor the kubelet http server
...
Signed-off-by: Haiyan Meng <haiyanmeng@google.com >
2019-04-11 14:16:57 -07:00
Davanum Srinivas
1707144b0d
Adjust our use of cadvisor to pull in just runtimes we need
...
- We drop mesos and rkt support in cadvisor
Change-Id: Id4dcafdecc97802b2def95a572e67842e7507f7b
2019-04-11 14:59:48 -04:00
Davanum Srinivas
70d562a6ac
Update to latest cadvisor - cleanup mesos/rkt
...
Change-Id: Ib5ae0cb13b93f8c87bb74e3ba33040df5f3d6a6f
2019-04-11 14:49:23 -04:00
Travis Rhoden
f38d4938be
Move ExecMount to pkg/volume/util/exec
...
This patch moves the ExecMounter found in pkg/util/mount to
pkg/volume/util/exec. This is done in preparation for pkg/util/mount to
move out of tree. This specific implemention of mount.Interface is only
used internally to K8s and does not need to move out of tree.
2019-04-11 12:19:55 -06:00
viegasdom
80578d5bf1
Changes code that still used BandWidthShaper instead of Shaper
2019-04-11 18:50:32 +01:00