Commit Graph

21825 Commits

Author SHA1 Message Date
Marek Grabowski
00fe055970 Merge pull request #18135 from wojtek-t/increase_cpu_limit_for_kubeproxy
Increase verification limits for kubeproxy in scalability tests
2015-12-03 08:37:03 +01:00
Marek Grabowski
f633aa67b1 Merge pull request #18065 from jszczepkowski/hpa-fix
Fixed forbidden window enforcement in horizontal pod autoscaler.
2015-12-03 08:36:10 +01:00
He Simei
cab6c13ea2 ubuntu with multi-nic 2015-12-03 15:31:15 +08:00
Jerzy Szczepkowski
8cdda36b1e Fixed forbidden window enforcement in horizontal pod autoscaler.
Fixed forbidden window enforcement in horizontal pod autoscaler: time of the oldest report instead of now is taken into account. Fixes #17992.
2015-12-03 08:29:24 +01:00
Abhishek Shah
522f5def8b increased the number of tries 2015-12-02 23:19:14 -08:00
Wojciech Tyczynski
882c1cd6f4 Increase verification limits for kubeproxy in scalability tests 2015-12-03 08:17:41 +01:00
k8s-merge-robot
106cf2b6b5 Merge pull request #17755 from timstclair/status-manager
Auto commit by PR queue bot
2015-12-02 22:07:44 -08:00
samuel shan
c55ab7d63e ubuntu: skip download binaries if specified version exists 2015-12-03 10:37:02 +08:00
Phillip Wittrock
91e9ff5e16 Node e2e tests against remote host use host-local etcd instead of copying one there. Also fix the kubelet healthz port. 2015-12-02 17:20:49 -08:00
mqliang
8547a5c1ae remove TODO: validate namespace 2015-12-03 08:56:17 +08:00
k8s-merge-robot
51e7042295 Merge pull request #16590 from ncdc/create-all-streams-before-copying
Auto commit by PR queue bot
2015-12-02 16:51:49 -08:00
k8s-merge-robot
1a750b95e6 Merge pull request #17892 from mqliang/parallizeHealthCheck
Auto commit by PR queue bot
2015-12-02 16:16:09 -08:00
Nikhil Jindal
2fcf157512 Merge pull request #17990 from nikhiljindal/updateGoRestful
Updating go restful
2015-12-02 15:59:27 -08:00
Nikhil Jindal
2670226ac5 Merge pull request #18067 from nikhiljindal/clear-master-config
Cleaning up duplicate master config inits
2015-12-02 15:54:34 -08:00
Isaac Hollander McCreery
40a03aa59a Add comments 2015-12-02 15:54:31 -08:00
k8s-merge-robot
5a5fa60dd3 Merge pull request #18110 from mesosphere/cherrypick_jdef_fix_executor_state_locks
Auto commit by PR queue bot
2015-12-02 15:44:19 -08:00
nikhiljindal
41ebe6f1a3 Cleaning up duplicate master config inits 2015-12-02 15:03:22 -08:00
James DeFelice
02a11f7a2e Merge pull request #53 from mesosphere/jdef_fix_executor_state_locks
MESOS: avoid mutex locking around blocking calls in kubelet-executor
Conflicts:
	contrib/mesos/pkg/executor/service/service.go
2015-12-02 22:45:52 +00:00
k8s-merge-robot
8df6dc095b Merge pull request #18102 from derekwaynecarr/reduce_log
Auto commit by PR queue bot
2015-12-02 14:28:21 -08:00
Andy Goldstein
e30b8a36d2 Create all streams before copying in exec/attach
Create error, stdin, stdout, stderr streams first, and only start
copying once all the streams have been created. This fixes an issue
where the client immediately starts sending data for stdin before all
the other streams have been created. This ends up blocking the spdy
connection frame handler and causes the entire exec/attach session to
time out.
2015-12-02 17:16:33 -05:00
Daniel Smith
56cae7c719 re-run set-gen 2015-12-02 14:14:50 -08:00
Daniel Smith
ad925dd2e8 Add verification to code gen 2015-12-02 14:14:49 -08:00
Mike Danese
dcdd7f1ca8 remove vagrant cloud provider 2015-12-02 13:20:54 -08:00
deads2k
675d8a235e remove Versions from GroupMeta 2015-12-02 16:16:36 -05:00
Brad Erickson
88e6cac544 Minion->Name rename: cluster/vagrant, docs and Vagrantfile 2015-12-02 12:45:12 -08:00
derekwaynecarr
d406754e91 Reduce noise when provisioning vagrant clusters 2015-12-02 15:39:24 -05:00
k8s-merge-robot
224aebd2be Merge pull request #17977 from mikedanese/vagrant-fix
Auto commit by PR queue bot
2015-12-02 11:21:27 -08:00
Abhishek Shah
6c3a88cb3a SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst 2015-12-02 10:26:49 -08:00
Brendan Burns
7d25f715a6 Merge pull request #18043 from brendandburns/fix
Fix api reference generation script on os x.
2015-12-02 09:58:54 -08:00
k8s-merge-robot
71f2d5ed4d Merge pull request #18038 from slaws/os-domain-config
Auto commit by PR queue bot
2015-12-02 08:49:29 -08:00
gmarek
61fc0a1243 Explicitly set DNSDefault policy in Density test 2015-12-02 17:34:54 +01:00
k8s-merge-robot
494f47b0d4 Merge pull request #18071 from jhadvig/typo
Auto commit by PR queue bot
2015-12-02 08:18:23 -08:00
k8s-merge-robot
e48c8f0f3c Merge pull request #18054 from resouer/fix-volume-path
Auto commit by PR queue bot
2015-12-02 08:18:00 -08:00
k8s-merge-robot
8d19fabe08 Merge pull request #18001 from ixdy/test-cmd-version
Auto commit by PR queue bot
2015-12-02 08:17:00 -08:00
Sami Wagiaalla
66c905d63e Distinguish normal mount from format and mount in SafeFormatAndMount 2015-12-02 11:16:00 -05:00
k8s-merge-robot
ee71ddcefe Merge pull request #17956 from deads2k/gv-requestscope
Auto commit by PR queue bot
2015-12-02 08:00:33 -08:00
k8s-merge-robot
c27038e26c Merge pull request #18003 from philips/fix-guestbook-go
Auto commit by PR queue bot
2015-12-02 06:34:21 -08:00
k8s-merge-robot
8a8639d7af Merge pull request #17863 from wojtek-t/only_list_options_in_watch
Auto commit by PR queue bot
2015-12-02 06:28:28 -08:00
Jan Safranek
85de88892c e2e: Remove specific Gluster repo.
Debian Wheezy image in GCE has already the correct one.
2015-12-02 15:21:01 +01:00
k8s-merge-robot
cd76ca9527 Merge pull request #18017 from mesosphere/sur-k8sm-656-panic
Auto commit by PR queue bot
2015-12-02 06:17:48 -08:00
k8s-merge-robot
689586c6ae Merge pull request #16153 from gmarek/use_api_ports
Auto commit by PR queue bot
2015-12-02 05:57:49 -08:00
k8s-merge-robot
102310e35f Merge pull request #18072 from mesosphere/sttts-cherry-pick-task-lost-during-kubelet-pod-launch
Auto commit by PR queue bot
2015-12-02 05:40:26 -08:00
Amy Unruh
3f2e5ed042 polishing the deployments doc 2015-12-02 05:31:54 -08:00
Jan Chaloupka
9590b23264 LowThresholdPercent can not be higher than HighThresholdPercent
if LowThresholdPercent > HighThresholdPercent, amountToFree at image_manager.go:208 is negative and image GC will not free memory properly.

Justification:

1) LowThresholdPercent > HighThresholdPercent implies (LowThresholdPercent * capacity / 100) > (HighThresholdPercent * capacity / 100)
2) usage is at least (HighThresholdPercent * capacity / 100)
3) amountToFree = usage - (LowThresholdPercent * capacity / 100)

Combining 1), 2) and 3) implies amountToFree can be negative.

What happens if amountToFree is negative? in freeSpace method, "for _, image := range images " loops at least once
and if everything goes fine, "delete(im.imageRecords, image.id)" is executed.
When checking for condition "if spaceFreed >= bytesToFree", it is always true as bytesToFree is negative
and spaceFreed is positive. The loop is finished, so is image GC.

At the end, only the oldest image is deleted. In situations where there is a lot of dead containers,
each container corresponing to distinct image, number of unused images can get higher.
If two new images get pulled in every 5 minutes, image GC will not work properly and will not free enough space.
Secondly, it will take a lot of time to free all unused images (hours depending on a number of unused images).

This is an incorrect configuration. Image GC should report it and refuse to work.
2015-12-02 14:28:51 +01:00
Sergiusz Urbaniak
91cbd5ff46 node: replace node lookup via node list watch with node store
Fixes https://github.com/mesosphere/kubernetes-mesos/issues/656
2015-12-02 14:12:56 +01:00
jhadvig
f7785bcdb4 Typo fix 2015-12-02 13:59:58 +01:00
Dr. Stefan Schimanski
271eeb008b Merge pull request #52 from mesosphere/sttts-task-lost-during-kubelet-pod-launch
MESOS: scheduler: handle lost task status updates during kubelet pod launch
2015-12-02 13:50:28 +01:00
k8s-merge-robot
e28404b23b Merge pull request #17946 from jhadvig/label_msg
Auto commit by PR queue bot
2015-12-02 04:46:26 -08:00
gmarek
459131fd92 Use KubeletPort reported in NodeStatus instead of cluster-wide master config, take 2. 2015-12-02 13:38:17 +01:00
k8s-merge-robot
c76ff237d9 Merge pull request #18069 from mesosphere/sttts-cherry-pick-tasks-killed-by-master
Auto commit by PR queue bot
2015-12-02 04:31:47 -08:00