Jordan Liggitt
7335770670
Make toKubeContainerImageSpec deterministic
2020-07-31 14:41:11 -04:00
xiaofei.sun
a724481f5c
fix metrics kubelet_running_pod_count
2020-07-31 16:35:53 +08:00
Kubernetes Prow Robot
b7d44329f3
Merge pull request #93570 from liggitt/deprecate-component-status
...
Mark componentstatus as deprecated
2020-07-30 23:54:12 -07:00
Sergey Kanzhelev
3af652f2f2
revert auto-completed package names
2020-07-31 03:47:04 +00:00
Dean Coakley
8749336aa7
Fix incomplete ResourceQuota comments
2020-07-31 02:30:17 +01:00
Sergey Kanzhelev
d20fd40884
remove legacy leftovers of portmapping functionality that was moved to CNI
2020-07-30 23:12:16 +00:00
Jordan Liggitt
44a8d72d32
Mark componentstatus as deprecated
2020-07-30 17:25:26 -04:00
Jordan Liggitt
1420b377e4
Add providerless tags
2020-07-30 13:48:40 -04:00
Kubernetes Prow Robot
72a62bcade
Merge pull request #92948 from cheftako/owners
...
Adding cheftako to pkg/controller/OWNERS
2020-07-30 05:56:30 -07:00
Luigi Bitonti
19793bd3fa
Update k8s.io/utils dependency and use ebtables from there
2020-07-30 08:58:21 +01:00
Wei Huang
0e71facefe
Hold Pod in cache until all other cleanup work is completed
...
- Move "ForgetPod" after "RunReservePluginsUnreserve", so that the cache would hold the pod to
avoid it's being retried simutaneously until Unreserve is completed.
- Move "assume" ahead of "RunReservePluginsReserve". This is based on the fact that "ForgetPod" is
the last step of failure path, so "assume" should be reversly treated as the first step. The
current failure path is like this:
assume -> reserve -> unreserve -> forgetPod -> recordingFailure
- Make subtests of TestReservePluginUnreserve stateless
2020-07-29 11:27:19 -07:00
He Jie Xu
33a7e94b6a
Create new slices to avoid modify original fake data
...
When create fake data for the nodeTree unittests, The 'append' is invoked
on the common fake data set. That makes the unittests is running with unexpected
fake data after that.
2020-07-29 11:36:47 +08:00
Seth Jennings
a4f043a980
kubelet: eviction: remove noise from TestGetReclaimableThreshold test output
2020-07-27 13:53:55 -05:00
knight42
a3b772b442
test: deflake TestRecycleSlices test
...
Signed-off-by: knight42 <anonymousknight96@gmail.com >
2020-07-27 21:41:02 +08:00
Jordan Liggitt
f33dc28094
generated: hack/update-hack-tools.sh && hack/update-vendor.sh
2020-07-25 16:45:02 -04:00
Kubernetes Prow Robot
19caf38665
Merge pull request #93425 from liggitt/string-cast
...
Fix int->string casts
2020-07-24 23:12:16 -07:00
Kubernetes Prow Robot
54e2070722
Merge pull request #93410 from nikhita/apimachinery-triage-labels
...
Don't apply triage/needs-information on apimachinery and instrumentation PRs
2020-07-24 19:08:16 -07:00
Rob Scott
98b63ad3a6
Fixing memory leak in EndpointSliceMirroring EndpointSlice tracker
...
This mirrors an earlier fix to the EndpointSlice controller. I'll make a
follow up PR to move this component to a shared package, but that seems
beyond the scope of a bug fix PR.
2020-07-24 17:21:36 -07:00
Jordan Liggitt
124a5ddf72
Fix int->string casts
2020-07-24 16:23:12 -04:00
Kubernetes Prow Robot
5a50c5c95f
Merge pull request #93355 from Nordix/sched-fix-mael
...
Fix scheduler issue with nodetree additions
2020-07-24 12:10:22 -07:00
Alexey Perevalov
a047e8aa1b
move to cadvisor.MachineInfo
...
This patch removes GetNUMANodeInfo, cadvisor.MachineInfo will be used
instead of it. GetNUMANodeInfo was introduced due to difference of meaning of
MachineInfo.Topology. On the arm it was NUMA nodes, but on the x86 it
represents sockets (since reading from /proc/cpuinfo). Now it unified
and MachineInfo.Topology represents NUMA node.
Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com >
2020-07-24 09:29:41 -04:00
wawa0210
ccde63b9c1
fix windows container root validate
2020-07-24 19:59:58 +08:00
Marian Lobur
5d1b3e26af
Fix an issue when rotated logs of dead containers are not removed.
2020-07-24 10:06:24 +02:00
Nikhita Raghunath
c00dae0607
Revert "Merge pull request #93156 from logicalhan/triage-api-machinery"
...
This reverts commit 32438cf269 , reversing
changes made to bb6a6aa391 .
2020-07-24 13:01:02 +05:30
Maël Kimmerlin
c2ec8bedbc
Fix scheduler issue with nodetree additions
...
When nodes are added in multiple zones at once, the nodeTree next
function does not return a correct list of nodes but repeats some
This commit resets the index before starting to call next() to
prevent this issue
Special thanks to igraecao for the help in finding the bug
Co-authored-by: igraecao <matvej.yolli@outlook.com >
2020-07-24 09:42:53 +03:00
Jun Gong
454f9acc24
Remove unuseful error message about updating pod conditions not owned by kubelet
2020-07-24 09:56:03 +08:00
zhangsheng02
dadc2ad385
add more testing cases
...
Signed-off-by: zhangsheng02 <sheng.zhang@daocloud.io >
2020-07-24 09:32:34 +08:00
Kubernetes Prow Robot
e884b40e73
Merge pull request #93371 from ahg-g/ahg-volume
...
Optimize VolumeRestriction plugin
2020-07-23 16:10:23 -07:00
Christopher M. Luciano
65ff4e8227
ipvs: log error if scheduler does not exist and fallback to rr
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com >
2020-07-23 13:58:02 -04:00
yiduyangyi
e6c4633232
fix golint failures in pkg/kubeapiserver/options, fix some incorrect replace of receiver name
2020-07-23 19:02:07 +08:00
yiduyangyi
0520d75838
fix golint failures in pkg/kubeapiserver/options, rename receiver name of BuiltInAuthorizationOptions to o
2020-07-23 18:52:15 +08:00
yiduyangyi
e441c07fe2
fix golint failures in pkg/kubeapiserver/options, use API Server in commemts instead of APIServer
2020-07-23 18:41:37 +08:00
Abdullah Gharaibeh
5e81a2de98
Optimize VolumeRestrictions scheduler plugin
2020-07-22 23:00:01 -04:00
Keerthan Reddy,Mala
acac15c20e
fix bazel build file
2020-07-22 14:12:27 -07:00
Abdullah Gharaibeh
44d9497133
Increase the size of the buckets for PodSchedulingDuration scheduler metric.
2020-07-22 16:42:01 -04:00
Keerthan Reddy,Mala
872859b422
correct the sandboxId attribute in unit tests
2020-07-22 11:54:58 -07:00
Keerthan Reddy,Mala
851d778531
address review comments
2020-07-22 11:54:58 -07:00
Keerthan Reddy,Mala
90cc954eed
add sandbox deletor to delete sandboxes on pod delete event
2020-07-22 11:54:58 -07:00
Keerthan Reddy,Mala
d4325f42fb
Check for sandboxes before deleting the pod from apiserver
2020-07-22 11:54:56 -07:00
Kubernetes Prow Robot
ae7dce72ce
Merge pull request #91930 from RenaudWasTaken/DisableAcceleratorUsageMetrics
...
Add DisableAcceleratorUsageMetrics Feature Gate
2020-07-22 09:16:06 -07:00
knight42
7a2e5af11d
fix(kubectl): warn users that flags cannot be placed before plugin
...
Signed-off-by: knight42 <anonymousknight96@gmail.com >
2020-07-22 20:34:31 +08:00
Alexey Perevalov
e33ba9e974
Avoid using socket for hints
...
Sockets don't affect performance as NUMA node does, since NUMA
node has dedicated memory controller, but socket it's physical
extension point.
Socket it's only cpu specific thing and it's strange to merge bitmask of
deviceplugin's and cpu manager, when cpu manager takes into account
socket.
Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com >
2020-07-22 05:14:34 -04:00
Kubernetes Prow Robot
ff33efc164
Merge pull request #93307 from liggitt/force-delete
...
Ensure runtimeCache contains all observed started containers on pod delete
2020-07-21 22:32:19 -07:00
RyderXia
b20ceaa85d
regen
2020-07-22 10:53:11 +08:00
Kubernetes Prow Robot
32438cf269
Merge pull request #93156 from logicalhan/triage-api-machinery
...
automatically assign triage labels to api-machinery tagged PRs
2020-07-21 19:52:34 -07:00
RyderXia
d76c2cc94c
update build
2020-07-22 09:36:55 +08:00
Kubernetes Prow Robot
a9f0fcc68c
Merge pull request #93148 from claudiubelu/windows/fixes-subpath-symlink
...
Windows: Fixes subpath symlink evaluation
2020-07-21 15:00:20 -07:00
Jordan Liggitt
d195fc2ec8
Ensure runtimeCache contains all observed started containers on pod delete
2020-07-21 15:54:29 -04:00
Kubernetes Prow Robot
b6174e605f
Merge pull request #93189 from klueska/upstream-fix-bug-topology-manager
...
Fix a bug whereby reusable CPUs and devices were not being honored
2020-07-21 04:35:17 -07:00
RyderXia
136df8ce53
update
2020-07-21 17:00:49 +08:00