Commit Graph

42458 Commits

Author SHA1 Message Date
jornshen
97a5a3d4d5 migrate to use k8s.io/util LocalPort and ListenPortOpener in ipvs.proxier 2021-02-15 16:36:08 +08:00
jornshen
e68e105102 migrate to use k8s.io/util LocalPort and ListenPortOpener in iptables.proxier 2021-02-15 16:36:06 +08:00
Jiawei Wang
e64309c0b2 Fix typecheck 2021-02-15 00:22:04 -08:00
drfish
a04ab9debf Move filesystem resize code to kubernetes/mount-utils 2021-02-15 16:07:07 +08:00
Alex Dudko
dcdde707ab Migrate deployment controller log messages to structured logging 2021-02-14 11:09:52 -08: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
Daniela Lins
50d93d989f Add tweaking functions to TestValidateNetworkPolicy
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-02-13 17:57:04 +01: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
drfish
ac0b034b02 Remove reflect.DeepEqual for defaultpreemption, helper, and imagelocality package 2021-02-13 16:16:14 +08:00
Jiawei Wang
3d61b56bcd update bazel 2021-02-12 17:50:40 -08:00
Jiawei Wang
6a7222cf4e Add migrated field to storage_operation_duration_seconds metric 2021-02-12 17:35:01 -08:00
Kubernetes Prow Robot
002fb9fc5e Merge pull request #98676 from ahg-g/ahg-ttl
JobDeletionDurationSeconds metric in TTLAfterFinished controller
2021-02-12 16:57:05 -08:00
Matthew Cary
3e9cf26f11 Restore volume operation error metric, and mark it and related metric for deprecation
Change-Id: I3f559e34637c28999ee9e708a832e16b1764887d
2021-02-12 14:21:24 -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
Abdullah Gharaibeh
181e2173cf Added time to deletion metric to ttl-after-finidhed controller 2021-02-12 13:02:17 -05:00
David Eads
f6941fcfa2 move removed kind evaluation to genericapiserver 2021-02-12 12:20:39 -05:00
Maciej Szulik
7d9f36cd85 Generated changes 2021-02-12 17:51:15 +01:00
Maciej Szulik
3dab7462d1 Drop batch/v2alpha1 API 2021-02-12 17:51:12 +01: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
b1a2a99f1f Merge pull request #98997 from gavinfish/sched-remove-todo
Scheduler: remove outdated TODO in interpodaffinity
2021-02-11 15:48:46 -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
Kubernetes Prow Robot
91e4b9dd7d Merge pull request #98726 from cpanato/followup-endport
networking/validation: add endport range validation
2021-02-11 11:53:26 -08:00
drfish
2e7e075762 Remove outdated TODO in interpodaffinity 2021-02-11 20:45:00 +08:00
Kubernetes Prow Robot
63f89493ec Merge pull request #98961 from aojea/donotleak
Do not leak files on iptables unit tests
2021-02-11 01:48:23 -08:00
timyinshi
5242af9d2d delete the extra word
Signed-off-by: timyinshi <shiguangyin@inspur.com>
2021-02-11 16:35:48 +08:00
Kubernetes Prow Robot
659b4dc4a8 Merge pull request #98305 from aojea/holdports
kube-proxy has to clear NodePort stale UDP entries
2021-02-10 23:36:16 -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
Kubernetes Prow Robot
ccdc59d26e Merge pull request #98899 from Huang-Wei/remove-unknown-event
sched: remove Unknown queuing literal
2021-02-10 17:58:31 -08:00
Kubernetes Prow Robot
254106c42c Merge pull request #98830 from liyanhui1228/fixvspherepath
Escape the special character in vsphere windows path
2021-02-10 17:58:23 -08: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
Kubernetes Prow Robot
838bb6a567 Merge pull request #98663 from gavinfish/sched-remove-plugin-pt
Scheduler: change config.Plugins from pointers to objects
2021-02-10 15:36:15 -08:00
Antonio Ojea
7223f12f39 don´t leak files on iptables tests
the iptables restore function, if it considers that the --wait flag
is not supported, creates a lock file to mimic the iptables behaviour.

The test should take this into account and remove the file.
2021-02-11 00:20:38 +01:00
Khaled (Kal) Henidak
3e56ddae67 upgrade IPv6DualStack feature to beta and turn on by default 2021-02-10 23:14:05 +00:00
Kubernetes Prow Robot
0d598baa4a Merge pull request #98641 from Jeffwan/update_links
Fix ALPHA stability level reference link
2021-02-10 13:42:15 -08:00
Wei Huang
04a40d1f18 sched: remove Unknown queuing literal 2021-02-10 11:03:07 -08:00
Kubernetes Prow Robot
dcec526c80 Merge pull request #98938 from rphillips/fixes/race_TestSyncPodsDeletesWhenSourcesAreReadyPerQOS
kubelet_test: fixes race in TestSyncPodsDeletesWhenSourcesAreReadyPerQOS
2021-02-10 09:10:59 -08:00
drfish
74315f9c56 Change config.Plugins from pointers to objects 2021-02-10 23:45:59 +08:00
Ryan Phillips
ee8ea1b2c1 kubelet_test: fixes race in TestSyncPodsDeletesWhenSourcesAreReadyPerQOS 2021-02-10 09:36:32 -06:00
Antonio Ojea
ed21a0e16c kube-proxy: clear conntrack entries after rules are in place
Clear conntrack entries for UDP NodePorts,
this has to be done AFTER the iptables rules are programmed.
It can happen that traffic to the NodePort hits the host before
the iptables rules are programmed this will create an stale entry
in conntrack that will blackhole the traffic, so we need to
clear it ONLY when the service has endpoints.
2021-02-10 16:22:03 +01:00
Kubernetes Prow Robot
11a05eb9af Merge pull request #94895 from kinvolk/mauricio/fix-setvolumeownership
volume: Change owner of symlinks too
2021-02-10 05:50:59 -08:00
Kubernetes Prow Robot
18605d8814 Merge pull request #98792 from wzshiming/ut/speed-up-persistentvolume
Speed up pkg/controller/volume/persistentvolume unit tests
2021-02-10 01:06:59 -08:00
Benjamin Elder
0156eb179e fix TestPidListerFailure on cgroupsv2 2021-02-10 00:15:12 -08:00
tanjing2020
300d109d78 migrate to structured logging 2021-02-10 16:11:52 +08:00