Kubernetes Prow Robot
17c3ee8708
Merge pull request #98742 from gjkim42/sync-until-terminate-containers
...
kubelet: Sync completed pods until their containers have been terminated
2021-02-24 15:29:26 -08:00
Geonju Kim
5e752968c3
Simulate KillPod in TestSyncPodsDeletesWhenSourcesAreReadyPerQOS
2021-02-14 07:17:48 +09:00
Geonju Kim
b451c15bf7
kubelet: Fix race when KillPod followed by IsPodPendingTermination
...
Ensures the pod to be pending termination or be killed, after
(*podKillerWithChannel).KillPod has been returned, by limiting
one request per pod in (*podKillerWithChannel).KillPod.
2021-02-14 07:16:49 +09:00
Ryan Phillips
ee8ea1b2c1
kubelet_test: fixes race in TestSyncPodsDeletesWhenSourcesAreReadyPerQOS
2021-02-10 09:36:32 -06:00
Kubernetes Prow Robot
45d9a13b94
Merge pull request #96451 from ping035627/k8s-201112
...
Extract the const for ContainerStateReason
2021-02-09 10:25:00 -08:00
Geonju Kim
321ca8af52
kubelet: Sync completed pods until their containers have been terminated
2021-02-06 14:06:50 +09:00
Ryan Phillips
f918e11e3a
register all pending pod deletions and check for kill
...
do not delete the cgroup from a pod when it is being killed
2021-02-04 11:45:42 -06:00
PingWang
4103ff490f
Extract the const for ContainerStateReason
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
update fmt
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
update test
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2021-02-04 08:52:13 +08:00
Kubernetes Prow Robot
4e93dbcd0d
Merge pull request #94087 from derekwaynecarr/node-sync-once
...
kubelet waits for node lister to sync at least once
2021-01-12 15:06:35 -08:00
Derek Carr
acb43c7c4a
Rework hostfs metrics
...
Ephemeral storage usage should be calculated by the metrics code,
not the eviction code.
2020-12-03 13:04:25 -07:00
Joel Smith
39a11744ce
Partially revert "Include pod /etc/hosts in ephemeral storage calculation for eviction"
...
This reverts (most of) commit f34b586d01
.
2020-12-03 04:47:16 -07:00
Kubernetes Prow Robot
d21815cb4e
Merge pull request #95569 from oomichi/remove-kubelet-util
...
Move dirExists() to kubelet_test
2020-11-06 11:28:51 -08:00
Ali
bfdeda58b7
Delete framework/v1alpha1 folder and change remaining import paths
2020-10-23 13:16:13 +11:00
David Eads
ff7d1444f0
kubelet container status calculation doesn't handle suddenly missing data properly
2020-10-15 12:26:16 -04:00
Kenichi Omichi
c0795782e0
Move dirExists() to kubelet_test
...
dirExists() is called from kubelet_test only.
This moves the function to kubelet_test for cleanup.
2020-10-14 17:50:00 +00:00
Srini Brahmaroutu
fbe5daed73
Change code to use staging/k8s.io/mount-utils
2020-09-16 21:51:24 -07:00
David Dymko
cda0070f28
fix golint for pkg/volume/azure_dd
2020-09-05 09:44:27 -04:00
Derek Carr
752135242e
WIP: node sync at least once
2020-09-01 12:17:26 -04:00
Kubernetes Prow Robot
fe1aeff2d2
Merge pull request #92013 from MHBauer/dockershim-error-test
...
basic regression test of runDockershim
2020-08-27 17:55:55 -07:00
Jordan Liggitt
b181c76cbd
Deflake TestUpdateNodeStatusWithLease - guard cached machineInfo
2020-08-05 10:00:36 -04:00
Jordan Liggitt
124a5ddf72
Fix int->string casts
2020-07-24 16:23:12 -04:00
Kubernetes Prow Robot
8398bc3b53
Merge pull request #92916 from joelsmith/count-etc-hosts
...
Include pod /etc/hosts in ephemeral storage calculation for eviction
2020-07-12 06:59:36 -07:00
Kubernetes Prow Robot
93e76f5081
Merge pull request #92442 from tedyu/grace-period-with-map
...
Respect grace period when removing mirror pod
2020-07-10 17:49:23 -07:00
Kubernetes Prow Robot
1e3eeba9fa
Merge pull request #91577 from knabben/kubelet-bootstrap
...
kubelet: remove the --bootstrap-checkpoint-path feature
2020-07-09 00:03:41 -07:00
Ted Yu
a76a959294
Respect grace period when removing mirror pod
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-07-08 13:38:24 -07:00
Joel Smith
f34b586d01
Include pod /etc/hosts in ephemeral storage calculation for eviction
2020-07-08 12:58:11 -06:00
Sergey Kanzhelev
ee53488f19
fix golint issues in pkg/kubelet/container
2020-06-19 15:48:08 +00:00
Morgan Bauer
cb4b67a886
basic regression test of runDockershim
...
- added basic regression test to ensure an error is raised in the
case of an unconfigured runtime, and the case of asking for a docker
runtime when compiled dockerless
Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
2020-06-16 10:08:22 -07:00
Amim Knabben
0ed41c3f10
Deprecating --bootstrap-checkpoint-path flag
2020-06-09 15:27:01 -04:00
David Eads
4da0e64bc1
reduce race risk in kubelet for missing KUBERNETES_SERVICE_HOST
2020-05-29 17:11:19 -04:00
Abdullah Gharaibeh
d6522e0e74
rename framework pkg with schedulerframework for all instances under pkg/kubelet
2020-04-14 14:24:07 -04:00
Abdullah Gharaibeh
bed9b2f23b
Cleanup obsolete NodeInfo methods
2020-04-12 18:13:46 -04:00
louisgong
7f5076d8ee
slim down some lister expansions
2019-12-07 08:27:06 +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
a08b09d52f
Merge pull request #84279 from matthyx/kuberuntime-startupprobe
...
Add startupProbe result handling to kuberuntime
2019-11-13 13:01:53 -08:00
Matthias Bertschy
66595d54a0
Add startupProbe result handling to kuberuntime
2019-11-13 08:12:54 +01:00
Kubernetes Prow Robot
897ce3073c
Merge pull request #84533 from davidz627/fix/deprecatedPath
...
Remove plugin watching of deprecated directory and CSI v0 support in accordance with deprecation policy
2019-11-12 04:48:20 -08:00
David Zhu
802fe12803
Remove plugin watching of deprecated directory {kubelet_root_dir}/plugins and support for CSI V0 in accordance with deprecation announcement in https://v1-13.docs.kubernetes.io/docs/setup/release/notes/
2019-11-11 11:42:58 -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
Alex Wang
b1a3fb4988
change kubelte nodeInfo to nodeLister
2019-10-24 22:46:59 +08:00
draveness
1163a1d51e
feat: update taint nodes by condition to GA
2019-10-19 09:17:41 +08:00
Travis Rhoden
935c23f2ad
Move HostUtil to pkg/volume/util/hostutil
...
This patch moves the HostUtil functionality from the util/mount package
to the volume/util/hostutil package.
All `*NewHostUtil*` calls are changed to return concrete types instead
of interfaces.
All callers are changed to use the `*NewHostUtil*` methods instead of
directly instantiating the concrete types.
2019-08-30 10:14:42 -06:00
Jan Safranek
5b69362ff0
Skip unused volumes in VolumeManager
...
DesiredStateOfWorldPopulator should skip a volume that is not used in any
pod. "Used" means either mounted (via volumeMounts) or used as raw block
device (via volumeDevices).
Especially when block feature is disabled, a block volume must not get into
DesiredStateOfWorld, because it would be formatted and mounted there.
2019-08-15 10:48:38 +02:00
Travis Rhoden
be7da5052f
Refactor pkg/util/mount to be more reusable
...
This patch refactors pkg/util/mount to be more usable outside of
Kubernetes. This is done by refactoring mount.Interface to only contain
methods that are not K8s specific. Methods that are not relevant to
basic mount activities but still have OS-specific implementations are
now found in a mount.HostUtils interface.
2019-06-14 09:35:18 -06:00
Tara Gu
5e18554442
Implement plugin manager - a controller that manages plugin registration/unregistration
2019-05-30 19:00:59 -04:00
Kubernetes Prow Robot
38468e4338
Merge pull request #70536 from mysunshine92/golint-hostpath
...
fix golint for pkg/volume/host_path
2019-05-29 11:25:46 -07:00
chaowang
9ba0d47465
Remove deprecated Kubelet security controls
...
Change-Id: I9f770e6780b60e881092690f6f177d726f474fe3
2019-05-16 13:33:52 -04:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
yameiwang
f130e48deb
fix golint errors in pkg/volume/host_path
2019-04-25 06:46:47 +08:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00