Commit Graph

42458 Commits

Author SHA1 Message Date
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
changshuchao
42eb85e4fb Made some optimizations, including modifying variable names, omitting unnecessary parentheses, and conflicting variable names and package names.
Signed-off-by: changshuchao <chang.shuchao1@zte.com.cn>
2021-01-16 17:24:08 +08:00
Kubernetes Prow Robot
c37905c06c Merge pull request #97917 from gavinfish/refact-addpod
Scheduler: Add function AddPodInfo(*PodInfo) for NodeInfo struct
2021-01-16 00:25:43 -08: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
efba8f0482 Merge pull request #97589 from heqg/typo-expected-02
Fix typo in pkg/kubelet/.../helpers_test.go
2021-01-15 17:07:56 -08:00
Kubernetes Prow Robot
5e9b43eab6 Merge pull request #96960 from Jefftree/defaulter-diff
Update defaulter gen to not use reflect
2021-01-15 17:07:44 -08:00
Kubernetes Prow Robot
4fe132954f Merge pull request #96877 from xeniumlee/master
fix privileged config of Pod Sandbox
2021-01-15 14:49:44 -08:00
Andrew Sy Kim
fdc9790b2d add myself as reviewer in pkg/controller/OWNERS
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-15 17:21:35 -05:00
Kubernetes Prow Robot
09bcf0723a Merge pull request #97155 from sanwishe/master
cleanup unused type conversion
2021-01-15 11:15:51 -08:00
Kubernetes Prow Robot
38585884e3 Merge pull request #97184 from chendave/add_status
Show the details on the failure of preemption
2021-01-15 10:25:51 -08:00
Kubernetes Prow Robot
a9e2e18cc6 Merge pull request #98068 from liggitt/gc-owner
Ensure invalid cluster-scoped children do not block cleanup of valid namespaced children
2021-01-15 07:31:52 -08:00
Dave Chen
7315c1f6dd Show the details on the failure of preemption
Since the filter status is missed for the phase of preemption, there
will be no way to tell why the preemption failed for some reasons, and
those reasons could be different with the status from the main scheduling
process (the first failed plugin will hide other failures in the chain).

This change provides verbose information based on the node status generated
during pod preemption, those information helps us to diagnose the issue which
is happened during pod preemption.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-01-15 23:20:17 +08:00
Kubernetes Prow Robot
e1c1fd9edf Merge pull request #97880 from justinsb/spelling
Fix spelling typos: scheduable -> schedulable
2021-01-15 03:43:51 -08:00
leileiwan
8eb8f8ab26 fix(*):inter pod affinity default min score is zero 2021-01-15 17:41:52 +08:00
10177505
2ecbf7e4f5 fix klog.Info -> klog.Infof 2021-01-15 17:22:58 +08:00
Kubernetes Prow Robot
857c06eb49 Merge pull request #98043 from JornShen/migrate_string_overlay_as_const
migrate winkernel network type string "overlay" as const
2021-01-14 20:43:51 -08:00
wzshiming
4e17e58552 Fix repeatedly aquire the inhibit lock 2021-01-15 10:49:11 +08:00
David Eads
782a7a5426 add metrics for insecure backend proxy 2021-01-14 15:26:37 -05:00
Jordan Liggitt
1e71a28490 Clean up namespaced children of missing virtual parents with incorrectly cluster-scoped nodes 2021-01-14 11:29:31 -05:00
Jordan Liggitt
65d43faf3a Add unit test for child scope mismatch with missing parent 2021-01-14 10:45:56 -05:00
Kubernetes Prow Robot
faaae71427 Merge pull request #97794 from chendave/cleanup_status
Refactor: rewrite `Merge` method to address readability and efficiency
2021-01-14 07:15:17 -08:00
wawa0210
ea9df6361b remove windows container hyper-v support 2021-01-14 22:49:34 +08:00