Commit Graph

9478 Commits

Author SHA1 Message Date
Iceber Gu
aff9df2cf6 dockershim: fix started and finished timestamp of the container status
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-03-01 22:33:56 +08:00
Jordan Liggitt
4798d0bce2 Avoid kubelet warnings for imagePullSecret entries with empty names 2021-03-01 08:32:09 -05:00
Benjamin Elder
56e092e382 hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
uzuku
8c53bfe1ea Fix typo in comment for purgeInitContainers. 2021-02-26 21:33:31 +08:00
Hanamantagoud
549b615439 Number of sockets is assumed to be same as NUMA nodes 2021-02-26 16:22:50 +05:30
Geonju Kim
b4b7cea413 kubelet_test: Add TestHandlePodRemovesWhenSourcesAreReady 2021-02-26 06:34:27 +09:00
Geonju Kim
256447a349 kubelet_test: Fix TestHandlePodCleanups 2021-02-26 06:34:17 +09:00
Geonju Kim
fc4a29da2c kubelet: Make the test fail if (*FakeRuntime).Assert fails 2021-02-26 06:31:54 +09:00
Jing Xu
70e01c5e47 Use Lstat in plugin watcher to avoid Windows problem
User Lstat in plugin watcher due to Windows issue

Change-Id: I4f9b808829f1a56dc622e343c291d3ffc316f416
2021-02-25 08:45:27 -08:00
Kubernetes Prow Robot
27c89b9aec Merge pull request #98571 from matthyx/52817
Stop probing a pod during graceful shutdown
2021-02-24 18:01:24 -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
1fb27c4b5d Merge pull request #99355 from chymy/dockershim-unused-func
Remove unused func in kubernetes/pkg/kubelet/dockershim
2021-02-24 13:39:36 -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
chymy
e2f17aeb2a Remove unused func in kubernetes/pkg/kubelet/dockershim
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-23 06:36:22 -05:00
Kubernetes Prow Robot
54691ed806 Merge pull request #99174 from gnufied/fix-uncertain-mount-tests
Allow uncertain mount tests to run parallely
2021-02-23 00:42:03 -08:00
pacoxu
3de4dd841f remove featuregate for sysctl
Co-authored-by: Skyler Clark <wgahnagl@protonmail.com>
2021-02-22 16:51:43 -05:00
Maxime Lagresle
848dc9e65f Check that minReclaim is taken into account in reclaimNodeLevelResources() 2021-02-22 11:58:36 +01:00
chenyw1990
8d86470417 pkg/kubelet/cri/remote: migrate to structured logs 2021-02-22 11:44:58 +08:00
JunYang
af0b4c9031 Structured Logging migration: modify eviction part logs of kubelet.
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-02-21 08:36:14 +08:00
Kubernetes Prow Robot
031f2afbba Merge pull request #98931 from michaelbeaumont/kubelet_well_known
Move pkg/kubelet/apis to k8s.io/kubelet/pkg/apis
2021-02-20 11:55:41 -08:00
Kubernetes Prow Robot
731fac3a55 Merge pull request #99001 from QiWang19/migrate-log
Migrate pkg/kubelet/nodestatus to structured logging
2021-02-19 00:20:37 -08:00
Ryan Phillips
f989adaa18 kubelet: fix create create sandbox delete pod race 2021-02-18 11:22:12 -06:00
Kubernetes Prow Robot
9fb1aa92f2 Merge pull request #99127 from danwinship/non-dual-stack-proxy
Make kube-proxy check if IPv6 is really supported before assuming dual-stack
2021-02-18 08:46:51 -08:00
Hemant Kumar
6f9a3374b1 Allow uncertain mount tests to run parallely 2021-02-18 09:37:43 -05:00
SataQiu
c88ef90b1e migrate to structured logging
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
2021-02-18 09:40:07 +08:00
Kubernetes Prow Robot
2a05c78600 Merge pull request #98932 from klueska/upstream-add-klueska-kubelet-owners
Add klueska as an approver in pkg/kubelet/OWNERS
2021-02-17 10:35:06 -08:00
Dan Winship
95c6a488d8 Make kube-proxy check if IPv6 is really supported before assuming dual-stack 2021-02-17 09:11:15 -05:00
Kubernetes Prow Robot
5a382b2d83 Merge pull request #96594 from b10s/fix-getcgroupsubsystemsv1
Fix the getCgroupSubsystemsV1() which uses only the latest record
2021-02-17 01:25:06 -08:00
Kubernetes Prow Robot
c0841211fd Merge pull request #98990 from gjkim42/kubelet-pod-structured-logging
Migrate `pkg/kubelet/pod,pleg` to structured logging
2021-02-16 20:03:05 -08:00
Kubernetes Prow Robot
a4b3d31678 Merge pull request #98730 from dims/mark-cmd-line-params-related-to-dockershim-as-deprecated
Mark commandline parameters related to dockershim as deprecated
2021-02-16 13:45:18 -08:00
Kubernetes Prow Robot
55626cf2c6 Merge pull request #95301 from lorenz/pr-remove-dangling-volumes
Automatically remove orphaned pod's dangling volumes
2021-02-16 12:53:06 -08:00
Kubernetes Prow Robot
e7cc2117a0 Merge pull request #98956 from gjkim42/fix-race-KillPod
kubelet: Fix race when KillPod followed by IsPodPendingTermination
2021-02-16 10:13:10 -08:00
Kubernetes Prow Robot
d0a433fa45 Merge pull request #98458 from SaranBalaji90/profiling
Add support to disable /debug/pprof and /debug/flags/v endpoint
2021-02-16 10:12:58 -08:00
Nikhita Raghunath
c3c45b9b8c *: move balajismaniam to emeritus_approvers 2021-02-16 10:55:47 +05:30
Maxime Lagresle
7e97601023 Prevent Kubelet stuck in DiskPressure when imagefs minReclaim is set
Fixes https://github.com/kubernetes/kubernetes/issues/99094
2021-02-15 14:31:06 +01:00
JunYang
7735cf7f26 Structured Logging migration: modify dockershim and network part logs of kubelet.
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-02-14 16:01:47 +08:00
jialaijun
15612338e5 Migrate pkg/kubelet/metrics logs to structured logging. 2021-02-14 09:41:35 +08:00
Geonju Kim
221025ce74 Migrate pkg/kubelet/pleg to structured logging 2021-02-14 07:24:28 +09:00
Geonju Kim
504cc5b1e4 Migrate pkg/kubelet/pod to structured logging 2021-02-14 07:23:09 +09: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
JunYang
28a232888e fix error description of reconcileHugePageResource log
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-02-13 17:02:44 +08:00
Qi Wang
e84af0ac13 Migrate pkg/kubelet/nodestatus to structured logging
Migrate pkg/kubelet/nodestatus to structured logging

Signed-off-by: Qi Wang <qiwan@redhat.com>
2021-02-12 13:15:45 -05:00
Odin Ugedal
124de526cb Fix cgroup handling for systemd with cgroup v2
This fixes issues where kubelet enforces qos and nodeAllocatable on the
worng hierarchy. Kublet will now create the files

/sys/fs/cgroup/kubepods/{burstable,besteffort,}/pod-xyz

when running with systemd as the driver, making it impossible to enforce
the limits on nodeAllocatable.
2021-02-12 10:44:38 +01: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
Kubernetes Prow Robot
2d153fe04e Merge pull request #98969 from khenidak/beta-feature
upgrade IPv6DualStack feature to beta and turn on by default
2021-02-11 11:53:37 -08:00
Davanum Srinivas
6150378d36 Mark commandline parameters related to dockershim as deprecated
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-02-10 21:04:19 -05:00
Khaled (Kal) Henidak
32b9e31c23 ammend tests to ensure feat gate is off when expected (beta: gate is always on) 2021-02-10 23:58:55 +00:00