Jie Shen
f82e3c430c
Wrap all errors in pkg/scheduler
2021-01-28 09:13:40 +08:00
Kubernetes Prow Robot
4b3d6369dd
Merge pull request #98453 from tanjing2020/change-log
...
Add pod information to the error logs
2021-01-27 14:51:07 -08:00
Aldo Culquicondor
dbf9e3b2d3
Make sync Job test tables more readable
...
And use t.Run to improve debugging experience
Change-Id: Ia91adbfe9c419cc640abe0efe287f5b9ab715e87
2021-01-27 16:56:41 -05:00
Nabarun Pal
9cada2ec3b
update gogo/protobuf to v1.3.2
...
gogo/protobuf@v1.3.2 fixes https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3121
Ref: https://github.com/kubernetes/client-go/issues/927
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com >
2021-01-27 22:07:32 +05:30
Kubernetes Prow Robot
21d3c73f54
Merge pull request #93179 from chendave/preemption_improve
...
prefer nominated node - IMPL
2021-01-26 21:03:40 -08:00
hellogdc
22208d2297
issues-98409 fix the address of restful-serve-static.go in the comment of pkg/routes/logs.go
2021-01-27 11:26:40 +08:00
tanjing2020
53671ffcd2
Add pod information to the log
2021-01-27 09:49:06 +08:00
Kubernetes Prow Robot
4fc184f383
Merge pull request #98436 from liggitt/filtered-proxy
...
Resolve IP addresses of host-only in filtered dialer
2021-01-26 16:57:40 -08:00
pacoxu
8bd7a09224
fix duplicate validation error for quota editing
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-01-27 03:21:24 +08:00
Kubernetes Prow Robot
ed4025a47b
Merge pull request #96328 from qingsenLi/201107-tc
...
test: Add comment for the redundant define name
2021-01-26 10:30:32 -08:00
Kubernetes Prow Robot
bfac3e9309
Merge pull request #98364 from gavinfish/sched-error-interpod
...
Scheduler: wrap errors from DefaultPreemption and InterPodAffinity plugins
2021-01-26 09:40:46 -08:00
Jordan Liggitt
ce553e1b68
Resolve IP addresses of host-only in filtered dialer
2021-01-26 12:00:53 -05:00
Kubernetes Prow Robot
41a42ef675
Merge pull request #98266 from gavinfish/sched-runtime-error
...
Scheduler: wrap errors for framework/runtime
2021-01-26 07:48:47 -08:00
Kubernetes Prow Robot
35871e49b7
Merge pull request #98134 from tanjing2020/change-log
...
migrate generic_scheduler.go and types.go to structured logs
2021-01-26 07:48:35 -08:00
drfish
a6f2736032
Wrap errors from DefaultPreemption and InterPodAffinity plugins
2021-01-26 23:00:12 +08:00
Kubernetes Prow Robot
889cf714c1
Merge pull request #95111 from choury/patch-2
...
make podTopologyHints protected by lock
2021-01-26 04:18:34 -08:00
Jie Shen
b79c2ebd7e
Wrap errors for framework/runtime
2021-01-26 13:48:58 +08:00
choury
fe089a2d12
make podTopologyHints protected by lock
...
It crashed kubelet by "concurrent map read and map write"
2021-01-26 10:36:05 +08:00
Dave Chen
6d800ffe07
Prefer nominated node in the new scheduling cycle
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-01-26 09:59:00 +08:00
Kubernetes Prow Robot
06a7e2bacf
Merge pull request #96781 from fighterhit/fix-kukelet-device-plugin-bug
...
Fix: kubelet return error when device plugin sets PreStartRequired true while creating pods with 0 resource
2021-01-25 17:59:00 -08:00
tanjing2020
d59d10762f
migrate generic_scheduler.go and types.go to structured logs
2021-01-26 09:31:05 +08:00
Kubernetes Prow Robot
bb310acad5
Merge pull request #98332 from JornShen/combine_volumn_latency_and_error_metrics
...
combine storage latency and error metrics
2021-01-25 15:05:00 -08:00
Kubernetes Prow Robot
6fae18523d
Merge pull request #98019 from cynepco3hahue/specify_resource_during_container_creation_cpu_manager
...
cpu manager: specify the container CPU set during the creation
2021-01-25 14:15:12 -08:00
Kubernetes Prow Robot
77bedd891d
Merge pull request #98230 from SataQiu/fix-kubelet-cert-message-20210120
...
kubelet: improve error message about expired certificates
2021-01-25 12:39:19 -08:00
Kubernetes Prow Robot
b7fc3f91ea
Merge pull request #98312 from deads2k/finish-export-option-removal
...
finish removal of exportoptions
2021-01-25 08:15:15 -08:00
Kubernetes Prow Robot
2df1c6a0fa
Merge pull request #92065 from pohly/podinfo-doc-fix
...
storage: document csi.storage.k8s.io/ephemeral also for internal type
2021-01-25 08:14:54 -08:00
Kubernetes Prow Robot
fa3be1bcd2
Merge pull request #98096 from leileiwan/master
...
fix(*):inter pod affinity default min score is zero
2021-01-25 07:22:54 -08:00
tanjing2020
e144c4e1e9
migrate scheduler/taint_manager.go structured logging
2021-01-25 10:06:41 +08:00
drfish
8be6d9650c
Update potentialVictims as framework.PodInfo type
2021-01-24 22:17:28 +08:00
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