leileiwan
65d2dda443
fix(*): init max score with -maxInt64
2021-01-24 17:30:27 +08:00
jornshen
c88cb14777
combine volumn latency and error metrics
2021-01-23 16:19:26 +08:00
Kubernetes Prow Robot
b557633c3f
Merge pull request #98249 from JornShen/optimize_writeline_writeBytesLine
...
Optimize writeline and writeBytesLine in proxier.go
2021-01-22 23:45:39 -08:00
pacoxu
89c42bd3d5
check containerd as process name instead of docker-containerd
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-01-23 10:55:18 +08:00
Jiawei Wang
bda557b4bc
Disable in-tree plugin without enabling CSI migration
...
This commit replaces the CSIMigrationXXXComplete flag
with InTreePluginXXUnregister flag. This new flag will
be a superset of the CSIMigrationXXXComplete. But this
decouple the plugin unregister from CSI migration. So
if a K8s distribution want to go directly with CSI and
do not support in-tree, they can use this flag directly.
Testing:
1. Enable the InTreePluginXXUnregister and not CSIMigrationXXX,
verify that the PVC using old plugin name will have error
saying cannot find the plugin
2. Enable both the InTreePluginXXUnregister and CSIMigrationXXX
verify that the PVC using old plugin name will start to use
the migrated CSI plugin
2021-01-22 16:58:51 -08:00
David Eads
37cc89ed8d
finish removal of exportoptions
2021-01-22 13:47:31 -05:00
Kubernetes Prow Robot
64baf0f73f
Merge pull request #98296 from Huang-Wei/avoid-singleton
...
sched: avoid using shareable singleton instance
2021-01-22 07:33:27 -08:00
b10s
de60340e51
Improve the getCgroupSubsystemsV1() which uses random record per subsystem
...
returned by libcontainercgroups.GetCgroupMounts().
Example array from GetCgroupMounts():
```
[
{
Mountpoint: "/sys/fs/cgroup/systemd",
Root: "/",
Subsystems: []string len: 1, cap: 1, ["systemd"],},
{
Mountpoint: "/sys/fs/cgroup/cpu,cpuacct",
Root: "/",
Subsystems: []string len: 2, cap: 2, ["cpu","cpuacct"],},
{
Mountpoint: "/sys/fs/cgroup/systemd/some/path",
Root: "/some/path",
Subsystems: []string len: 1, cap: 1, ["systemd"],},
]
```
becames a map:
```
[
"memory": "/sys/fs/cgroup/memory/kubepods",
"systemd": "/sys/fs/cgroup/systemd/some/path",
]
```
which seems to be wrong.
Using shortest path of mountpoint per subsystem would be more reliable.
reference issue: https://github.com/kubernetes/kubernetes/issues/95488
2021-01-22 22:21:46 +09:00
Kubernetes Prow Robot
82ebcd1719
Merge pull request #98088 from wzshiming/fix-inhibit-lock
...
Fix repeatedly aquire the inhibit lock
2021-01-22 00:37:26 -08:00
Kubernetes Prow Robot
cea1098997
Merge pull request #97715 from changshuchao/files_tmptag
...
Made some optimizations, including modifying variable names, omitting…
2021-01-21 22:55:26 -08:00
jornshen
249996e62f
use exist const to replace ipvs/proxier.go tcp,udp,sctp
2021-01-22 14:52:00 +08:00
Wei Huang
2ba120dcfa
sched: avoid using shareable singleton instance
2021-01-21 22:47:12 -08:00
Kubernetes Prow Robot
73fbd3da09
Merge pull request #97407 from waynepeking348/clean_rs_by_revision_instead_of_creat_timestamp
...
clean rs by revision instead of creation timestamp in deployment controller
2021-01-21 20:15:27 -08:00
Kubernetes Prow Robot
661eae7c7c
Merge pull request #97814 from deads2k/podlogs-metrics
...
add metrics for insecure backend proxy
2021-01-21 13:27:00 -08:00
SataQiu
6c31162b35
kubelet: improve error message about expired certificates
2021-01-21 23:05:45 +08:00
wzshiming
29808eaf24
Fix panic
2021-01-21 19:47:28 +08:00
wzshiming
d9df265af0
Sync node status during kubelet node shutdown
2021-01-21 11:01:13 +08:00
jornshen
761473cd44
add ut for utils WriteLine WriteBytesLine
2021-01-21 10:51:54 +08:00
jornshen
3783821553
move the redundant writeline writeBytesLine to proxy/util/util.go
2021-01-21 10:51:39 +08:00
Kubernetes Prow Robot
0c91285ea6
Merge pull request #97941 from JornShen/proxier_winuserspace_structured_logging
...
migrate proxy/winuserspace/proxier.go logs to structured logging
2021-01-20 17:51:00 -08:00
Kubernetes Prow Robot
236470431f
Merge pull request #97141 from wawa0210/remove-hyperv
...
remove experimental windows container hyper-v support with Docker
2021-01-20 15:33:12 -08:00
Kubernetes Prow Robot
39115c64b0
Merge pull request #97599 from gavinfish/refact-updatewithpod
...
Scheduler: Update the PreFilterExtensions interface to use PodInfo
2021-01-20 12:09:01 -08:00
Kubernetes Prow Robot
737858cd7c
Merge pull request #98200 from wzshiming/fix-node-shutdown-events
...
Fix kubelet from panic after getting the wrong signal
2021-01-20 10:38:47 -08:00
Kubernetes Prow Robot
edff05ce42
Merge pull request #97865 from alculquicondor/job-validate-test
...
Increase coverage of Job validation
2021-01-20 10:38:30 -08:00
Kubernetes Prow Robot
52833a2b4e
Merge pull request #97861 from alculquicondor/test-job-strategy
...
Test enabled and disabled gates for Job strategy
2021-01-20 10:38:21 -08:00
Artyom Lukianov
38dc7509f8
cpu manager: specify the container CPU set during the creation
...
We can set the container cpuset.cpus diring the creation and it
will not need to call to update resources after the container creation.
Additional side effect of the change, that the runc process that responsible
to create the container will run with the same CPU affinity because the
runc runs on the cpuset provided in the config.json arg.
It will allow to prevent undesirable interupts on isolated CPUs.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-01-20 17:53:33 +02:00
Artyom Lukianov
60678a24ca
Update CPU manager GetCPUs method to return pointer to CPUSet
2021-01-20 13:21:57 +02:00
Artyom Lukianov
69db36b958
Provide additional methods under the CPUSet
...
- ToSliceInt64 returns sorted slice of cores IDs in int64 format
- ToSliceNoSortInt64 returns slice of cores IDs in int64 format
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-01-20 13:21:57 +02:00
Kubernetes Prow Robot
889b0ef004
Merge pull request #98107 from andrewsykim/controllers-owner
...
add myself as reviewer in pkg/controller/OWNERS
2021-01-19 22:18:20 -08:00
Kubernetes Prow Robot
cff7d7ba0a
Merge pull request #97764 from pacoxu/fix/windows-cgroup
...
kubeadm should ignore cgroup driver check on Windows node
2021-01-19 22:18:11 -08:00
JunYang
f241036d2b
fix mistake about [avaliable] for index_test.go
...
Signed-off-by: JunYang <yang.jun22@zte.com.cn >
2021-01-20 08:37:50 +08:00
Kubernetes Prow Robot
a64c7ed1dc
Merge pull request #97930 from JieJhih/golint/fs
...
fix golint in volume fs
2021-01-19 13:14:00 -08:00
Christian Huffman
15da65d9ae
Include unit test
2021-01-19 16:10:51 -05:00
Christian Huffman
df3119e815
Adjust defer to correctly call
2021-01-19 16:08:25 -05:00
fankangbest
b9afd2d34a
do not remove volume dir when saveVolumeData fails
2021-01-19 15:53:10 -05: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
xiongzhongliang
99e1df8367
Remove duplicate package import in empty_dir_test.go
2021-01-20 00:51:35 +08:00
Kubernetes Prow Robot
3fedfb8ed8
Merge pull request #97454 from lixiaobing1/nodename
...
modify hostname of ErrReason
2021-01-19 08:19:45 -08:00
wawa0210
f28f0953e6
Adjust kubelet_cgroup_manager_duration_seconds bucket
2021-01-19 16:23:14 +08:00
Kubernetes Prow Robot
21971cd309
Merge pull request #98137 from chymy/kubelet-log-op
...
kubelet logs print 'kubelet nodes sync' frequently
2021-01-18 20:55:44 -08:00
wzshiming
abf181ba48
Fix typo
2021-01-19 11:50:56 +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
drfish
d4418c1402
Update the PreFilterExtensions interface to use PodInfo
2021-01-19 00:49:52 +08:00
leileiwan
273de36b5d
fix unit test
2021-01-18 22:55:37 +08:00
Kubernetes Prow Robot
d70ee902fd
Merge pull request #97858 from lyzs90/pull-real-node-images
...
Pull hollow node images from real nodes
2021-01-18 06:25:44 -08:00
jornshen
f3b9e8b105
migrate proxy/winkernel/proxier.go logs to structured logging
2021-01-18 09:35:51 +08:00
Kubernetes Prow Robot
3b38f6a08e
Merge pull request #98095 from qingsenLi/210115-fix
...
fix klog.Info -> klog.Infof
2021-01-17 01:15:43 -08:00
waynepeking348
b2de3507d0
add dependency in bazel BUILD file
2021-01-16 22:25:37 +08:00