Commit Graph

32404 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a521285b7c Merge pull request #72073 from misterikkit/cleanup
Minor cleanup in scheduler/PriorityQueue
2018-12-14 23:23:19 -08:00
Jonathan Basseri
d27d28a44e Flatten nominated pod logic in PriorityQueue.
This replaces deeply nested ifs & fors with early returns & continues.
2018-12-14 18:11:12 -08:00
Jonathan Basseri
fae4f69d36 Fix return value of PriorityQueue.Add.
This function was returning a non-nil error for the common, non-failure
case. The fix is to properly scope local error values and add early
returns.
2018-12-14 16:44:21 -08:00
Kubernetes Prow Robot
2791fb7dc5 Merge pull request #72067 from dashpole/pod_start_time
Use Pod.Status.StartTime as pod's cgroup start time in summary API
2018-12-14 15:47:01 -08:00
David Ashpole
70a7fdda02 use Pod.Status.StartTime as pod's cgroup start time in summary API 2018-12-14 14:26:55 -08:00
Kubernetes Prow Robot
afaef937fb Merge pull request #72061 from misterikkit/WhatIsAnAlgorithm
Move `ScheduleAlgorithm` to the core package.
2018-12-14 12:49:52 -08:00
Kubernetes Prow Robot
61ed586bb9 Merge pull request #71297 from Pingan2017/event-kill-container
correct the event msg of kill container
2018-12-13 18:18:58 -08:00
Jonathan Basseri
8e25361320 Move ScheduleAlgorithm to the core package.
This moves the type `ScheduleAlgorithm` from `pkg/scheduler/algorithm`
to `pkg/scheduler/core`. The reason for this move is to fix our import
dependency graph and allow predicate & priority types to be moved into
their appropriate packages.

The new location makes sense because `core` is the only package that
exports an implementation of this type.
2018-12-13 15:08:38 -08:00
Kubernetes Prow Robot
59fce36866 Merge pull request #71990 from andyzhangx/azuredisk-log-flushing
fix kubelet log flushing issue in azure disk
2018-12-13 07:18:00 -08:00
Kubernetes Prow Robot
dcff35aafb Merge pull request #71855 from cheftako/sshBadIP
Fix issue where missing external IP address breaks SSH Tunnel.
2018-12-12 21:16:57 -08:00
Kubernetes Prow Robot
ed73acdc98 Merge pull request #71029 from yanghaichao12/dev1114
Fix comment error of the struct 'UserDefinedMetric'
2018-12-12 17:18:54 -08:00
Kubernetes Prow Robot
483dfc4902 Merge pull request #71934 from annehwatson/typo
Fix typo
2018-12-12 16:02:37 -08:00
Walter Fender
d92ee41e44 Fix issue where missing external IP address breaks SSH Tunnel.
Added unit test to cover missing external IP case.
Justin's feedback.
Lint fix.
Lavalmap's feedback.
2018-12-12 10:59:32 -08:00
Kubernetes Prow Robot
05183bffe5 Merge pull request #71872 from yuexiao-wang/scheduler-nodeinfo
[scheduler cleanup phase 2]: Rename `pkg/scheduler/cache` to `pkg/scheduler/nodeinfo`
2018-12-12 08:08:33 -08:00
andyzhangx
81a123dbed fix kubelet log flushing issue in azure disk 2018-12-12 08:20:00 +00:00
Micah Hausler
9740b6a6e1 Disable proxy to loopback and linklocal 2018-12-11 20:51:40 -08:00
Kubernetes Prow Robot
c49896f924 Merge pull request #71974 from apelisse/fix-diff-overriding-names
diff: Make filename cross-platform compatible
2018-12-11 17:07:48 -08:00
Antoine Pelisse
95eec905c7 diff: Make filename cross-platform compatible 2018-12-11 15:36:26 -08:00
Kubernetes Prow Robot
425b1ff47d Merge pull request #71923 from apelisse/fix-diff-overriding-names
diff: Fix overlapping filenames
2018-12-11 12:13:39 -08:00
Antoine Pelisse
b6135f63aa diff: Fix overlapping filenames
The filename can overlap when multiple resources have the same name (but
obviously are of a different type). Include the name of the type in the
file name to prevent the overlap.
2018-12-11 09:19:52 -08:00
andyzhangx
7f3a66efb6 add VMSize info in attach/detach azure disk 2018-12-11 08:33:38 +00:00
Kubernetes Prow Robot
9d80e7522a Merge pull request #71911 from Nordix/issue-70113-2
Only handle addresses of the own ip family
2018-12-10 23:02:33 -08:00
annehwatson
0a8a07f666 Fix typo 2018-12-10 20:16:17 -08:00
yuexiao-wang
7b6f60f085 modify BUILD
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:22:06 +08:00
yuexiao-wang
f3353c358d [scheduler cleanup phase 2]: Rename to
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:21:12 +08:00
Kubernetes Prow Robot
7839fe3862 Merge pull request #71899 from kubernetes/revert-71484-nsg-srcrange-collapse
Revert "Collapse not shared NSG rules with multiple source ranges"
2018-12-10 11:00:43 -08:00
Kubernetes Prow Robot
0914272a42 Merge pull request #71035 from Nordix/issue-68437
Fixes NodePort in ipv6 with proxy-mode=ipvs
2018-12-10 08:53:42 -08:00
Lars Ekman
39dc41d411 Updated and new tests for ipv4/ipv6 address mix 2018-12-10 14:16:17 +01:00
Kubernetes Prow Robot
698db70879 Merge pull request #71551 from mlmhl/scheduler_optimization
activate unschedulable pods only if the node became more schedulable
2018-12-10 03:26:19 -08:00
Lars Ekman
5065f89a17 Only handle addresses of the own ip family 2018-12-10 12:14:42 +01:00
Kubernetes Prow Robot
a69b565c3e Merge pull request #71834 from DataDog/lbernail/ipvs-sysctls
[kubeproxy/ipvs] New sysctls to improve pod termination
2018-12-09 23:59:16 -08:00
Pengfei Ni
e5f767d66b Revert "Collapse not shared NSG rules with multiple source ranges" 2018-12-10 14:10:03 +08:00
Kubernetes Prow Robot
27fca554e1 Merge pull request #71895 from DataDog/lbernail/svc-graceful-deletion
Support IPVS graceful termination when deleting a service
2018-12-09 21:57:00 -08:00
Kubernetes Prow Robot
13985d2674 Merge pull request #70172 from WanLinghao/configmap_volume_support_monitor
Support more volume types in stats/summary endpoint including configm…
2018-12-09 18:36:58 -08:00
mlmhl
2fe9b1438c activate unschedulable pods only if the node became more schedulable 2018-12-10 09:48:23 +08:00
Laurent Bernaille
ec598d1a16 [kube-proxy/ipvs] Gofmt 2018-12-08 23:49:49 +01:00
Laurent Bernaille
0f9d30dd27 [kube-proxy/ipvs] Avoid unbinding multiple times for multiport svc 2018-12-08 23:47:59 +01:00
Laurent Bernaille
b2c169d27c [kube-proxy/ipvs] Update test for new CleanupLegacyServices function 2018-12-08 21:27:37 +01:00
Laurent Bernaille
e8c7dba25b [kube-proxy/ipvs] Apply graceful termination logic when unbinding addresses 2018-12-08 21:16:13 +01:00
Laurent Bernaille
81252e2ec1 [kube-proxy/ipvs] Apply graceful termination when deleting a service 2018-12-08 21:15:58 +01:00
Kubernetes Prow Robot
f62b530f4d Merge pull request #57057 from greghaynes/reschedule-with-backoff
Reschedule with backoff
2018-12-07 21:13:57 -08:00
Kubernetes Prow Robot
52705deb62 Merge pull request #71792 from liggitt/gc-defaults
Ensure all new API versions of resources default to DeleteDependents
2018-12-07 20:02:20 -08:00
Kubernetes Prow Robot
9a9497d7af Merge pull request #71854 from apelisse/fix-dryrun-detection
apply: fix detection of non-dry-run enabled servers
2018-12-07 16:52:12 -08:00
Kubernetes Prow Robot
f0bae6e9c5 Merge pull request #71573 from JacobTanenbaum/UDP_conntrack
Correctly Clear conntrack entry on endpoint changes when using nodeport
2018-12-07 15:01:43 -08:00
Kubernetes Prow Robot
e94befab0a Merge pull request #71844 from soltysh/describe_cronjob
Add failed and successful history limits to cronjob describe
2018-12-07 13:14:28 -08:00
Antoine Pelisse
f9ca4aafc6 apply: fix detection of non-dry-run enabled servers
Apply only checks that the server supports dry-run in the create path,
not the update path, which is pretty bad.
2018-12-07 10:54:03 -08:00
Kubernetes Prow Robot
1a82272782 Merge pull request #71684 from danielqsj/typo-fix
Fix typos like limitting
2018-12-07 07:58:09 -08:00
Maciej Szulik
14aa4b8c73 Add failed and successful history limits to cronjob describe 2018-12-07 14:34:54 +01:00
Jordan Liggitt
3b099ddf86 Ensure all new API versions of resources default to DeleteDependents 2018-12-06 19:58:14 -05:00
Kubernetes Prow Robot
1cd6ccb344 Merge pull request #71805 from liggitt/sort-by
Fix sort-by regression
2018-12-06 16:25:46 -08:00