Kubernetes Prow Robot
cff652d951
Merge pull request #101369 from markusthoemmes/status-simplification
...
pkg/kubelet: Simplify status string generation on probes
2021-05-03 17:21:22 -07:00
yuzhiquan
02c3d53a23
typo
2021-04-23 17:55:54 +08:00
Markus Thömmes
f00441d2ee
pkg/kubelet: Simplify status string generation on probes
2021-04-22 14:06:18 +02:00
Lubomir I. Ivanov
7deac5e697
pkg/kubelet: improve the node informer sync check
...
GetNode() is called in a lot of places including a hot loop in
fastStatusUpdateOnce. Having a poll in it is delaying
the kubelet /readyz status=200 report.
If a client is available attempt to wait for the sync to happen,
before starting the list watch for pods at the apiserver.
2021-04-21 22:46:27 +03:00
Niekvdplas
fec272a7b2
Fixed several spelling mistakes
2021-03-30 23:02:09 +02:00
Elana Hashman
6af7eb6d49
Migrate missed log entries in kubelet
...
Co-Authored-By: pacoxu <paco.xu@daocloud.io>
2021-03-18 14:26:26 -07:00
Navid Shaikh
be91ea5bd1
Migrate pkg/kubelet/kubelet.go to structured logging
2021-03-17 14:39:08 +05:30
Kubernetes Prow Robot
4b6e3e164f
Merge pull request #99221 from jsturtevant/windows-host-stats-provider
...
Get filesystem stats for files on Windows
2021-03-10 11:09:23 -08:00
fengzixu
edc1c62471
feature: add CSIVolumeHealth feature and gate
...
1. add EventRecorder to ResourceAnalyzer
2. add CSIVolumeHealth feature and gate
2021-03-10 01:16:37 +09:00
Kubernetes Prow Robot
b1367af8b5
Merge pull request #99799 from QiWang19/kobj-slice
...
Refactor pods format to return ObjRef slice
2021-03-08 16:27:19 -08:00
James Sturtevant
c9eff4e906
Get filesystem stats for files on Windows
2021-03-08 12:50:23 -08:00
Kubernetes Prow Robot
eb4dafb7f1
Merge pull request #99651 from umohnani8/cri
...
Move CRIContainerLogRotation to GA
2021-03-08 12:07:20 -08:00
chenyw1990
57a3b0abd6
reduce configmap and secret watch of kubelet
2021-03-08 16:55:39 +08:00
Kubernetes Prow Robot
c193c1b234
Merge pull request #98376 from matthyx/mega
...
Make all health checks probing consistent
2021-03-06 11:45:41 -08:00
Qi Wang
8133d29586
Refactor pods format to ObjRef slice
...
Refactor format.Pods to return a slice of ObjRef for structured logging.
Ref: https://github.com/kubernetes/kubernetes/pull/99029#discussion_r586785552
Signed-off-by: Qi Wang <qiwan@redhat.com>
2021-03-06 11:26:50 -05:00
Kubernetes Prow Robot
55f255208a
Merge pull request #83730 from claudiubelu/windows/containerd-etc-hosts
...
Windows: Fixes /etc/hosts file mounting support for containerd
2021-03-05 05:08:22 -08:00
Matthias Bertschy
431e6a7044
Move readinessManager updates handling to kubelet
2021-03-05 07:02:25 +01:00
Matthias Bertschy
eed218a3a2
Move startupManager updates handling to kubelet
2021-03-05 07:02:25 +01:00
Urvashi Mohnani
ca99aa587d
Move CRIContainerLogRotation to GA
...
Graduate the CRIContainerLogRotation feature gate
from beta to GA.
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2021-03-04 09:40:02 -05:00
pacoxu
cd54bd94e9
deprecate cAdvisor json metrics collected by Kubelet
...
- remove unused code for cadvisor json metrics collected
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-03-02 15:36:21 +08:00
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
Kubernetes Prow Robot
739a72b9cc
Merge pull request #99158 from wgahnagl/lock-sysctls
...
Graduate sysctls to GA
2021-02-24 13:39:24 -08:00
xiaofei.sun
fd62f32125
Scheduler: remove pkg/apis/core/field_constants.go
2021-02-24 18:06:29 +08:00
pacoxu
3de4dd841f
remove featuregate for sysctl
...
Co-authored-by: Skyler Clark <wgahnagl@protonmail.com>
2021-02-22 16:51:43 -05:00
Sri Saran Balaji Vellore Rajakumar
af05a7eca3
Refactor Kubelet Server to take kubeConfiguration instead of multiple fields
2021-02-11 16:15:35 -08:00
Sri Saran Balaji Vellore Rajakumar
51cdf4e97b
Add support to disable /debug/pprof and /debug/flags/v endpoint
...
Co-authored-by: xiaofei.sun <sunxiaofei@kuaishou.com>
Co-authored-by: SaranBalaji90 <srisaranbalaji@gmail.com>
2021-02-11 15:56:53 -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
Claudiu Belu
de4602995b
Windows: Fixes /etc/hosts file mounting support for containerd
...
If Containerd is used on Windows, then we can also mount individual
files into containers (e.g.: /etc/hosts), which was not possible with Docker.
Checks if the container runtime is containerd, and if it is, then also
mount /etc/hosts file (to C:\Windows\System32\drivers\etc\hosts).
2021-01-30 04:54:42 -08:00
Kubernetes Prow Robot
9ec1e23e41
Merge pull request #98005 from wzshiming/fix-rescheduling-to-the-shutdown-node
...
Sync node status during kubelet node shutdown
2021-01-28 17:51:53 -08:00
Kubernetes Prow Robot
e05c9ab04b
Merge pull request #97932 from ehashman/kubelet-standalone-doc
...
Add explanation for kubeClient != nil in NewMainKubelet
2021-01-28 16:59:59 -08:00
wzshiming
d9df265af0
Sync node status during kubelet node shutdown
2021-01-21 11:01:13 +08:00
Kubernetes Prow Robot
09f4baed35
Merge pull request #98103 from gjkim42/delete-static-pod-gracefully
...
Delete static pod gracefully and fix mirrorPodTerminationMap leak
2021-01-19 10:01:44 -08:00
chymy
f25b902b83
kubelet logs print 'kubelet nodes sync' frequently
...
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-01-19 08:57:35 +08:00
Geonju Kim
1563fb68e6
kubelet: Fix mirrorPodTerminationMap leak
2021-01-19 08:55:54 +09:00
Geonju Kim
9bcb451d7d
kubelet: Delete static pods gracefully
...
Add a new static pod after checking if its mirror pod is pending termination.
2021-01-19 08:54:24 +09:00
Kubernetes Prow Robot
8bf42039e6
Merge pull request #96552 from pandaamanda/klog_fmt
...
use klog.Info and klog.Warning when had no format
2021-01-15 17:57:43 -08:00
Kubernetes Prow Robot
e0b2787ee1
Merge pull request #97980 from SergeyKanzhelev/revertSandboxCheckInStatus
...
Revert "Merge pull request #92817 from kmala/kubelet"
2021-01-12 16:54:35 -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
Sergey Kanzhelev
4c9e96c238
Revert "Merge pull request #92817 from kmala/kubelet"
...
This reverts commit 88512be213
, reversing
changes made to c3b888f647
.
2021-01-12 22:27:22 +00:00
Elana Hashman
f3073b739f
Add explanation for kubeClient != nil in NewMainKubelet
2021-01-11 14:57:38 -08:00
Kubernetes Prow Robot
75115236e7
Merge pull request #97006 from lingsamuel/fix-cadvisor-machine-metrics
...
Fix missing cadvisor machine metrics
2020-12-31 21:15:51 -08:00
Erik Wilson
a4037d2684
Fix cadvisor machine metrics
...
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2020-12-04 10:08:05 +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
xiongzhongliang
90f4aeeea4
use klog.Info and klog.Warning when had no format
2020-11-14 00:55:06 +08:00
David Porter
16f71c6d47
Implement shutdown manager in kubelet
...
Implements KEP 2000, Graceful Node Shutdown:
https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2000-graceful-node-shutdown
* Add new FeatureGate `GracefulNodeShutdown` to control
enabling/disabling the feature
* Add two new KubeletConfiguration options
* `ShutdownGracePeriod` and `ShutdownGracePeriodCriticalPods`
* Add new package, `nodeshutdown` that implements the Node shutdown
manager
* The node shutdown manager uses the systemd inhibit package, to
create an system inhibitor, monitor for node shutdown events, and
gracefully terminate pods upon a node shutdown.
2020-11-12 21:47:55 +00:00
Kubernetes Prow Robot
f653e6cf92
Merge pull request #94624 from dims/deprecate-dockershim
...
Deprecate Dockershim
2020-11-12 08:04:50 -08:00
Kubernetes Prow Robot
12d9183da0
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
...
RuntimeClass GA
2020-11-12 00:44:51 -08:00
Kubernetes Prow Robot
d233111f5b
Merge pull request #94196 from andrewsykim/registry-creds
...
kubelet: add alpha credential provider plugins
2020-11-11 19:59:11 -08:00