Commit Graph

177 Commits

Author SHA1 Message Date
k8s-merge-robot
5df9284ff4 Merge pull request #26746 from MHBauer/enable-ssh-compression
Automatic merge from submit-queue

Ubuntu: Enable ssh compression when downloading binaries during cluster creation

<!--
Checklist for submitting a Pull Request

Please remove this comment block before submitting.

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
3. If you want this PR to automatically close an issue when it is merged,
   add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>`
   to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests).
4. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below.
-->
resolves #20971 by using the options provided by ssh. 

Native ssh compression has existed for years, and the server is free to disregard the setting, so this should be safe.

With things like the kube binaries I see about a 2x speed increase. 

```
λ time scp kubes-bin.tar   9.30.182.251:/mnt/build/kubin
kubes-bin.tar                                                                                                            100%  344MB  10.7MB/s   00:32

real	0m32.284s
user	0m1.679s
sys	0m1.263s

λ time scp -C kubes-bin.tar   9.30.182.251:/mnt/build/kubin
kubes-bin.tar                                                                                                            100%  344MB  22.9MB/s   00:15

real	0m14.810s
user	0m12.858s
sys	0m0.994s

λ ls -lah kubes-bin.tar
-rw-r--r--  1 mhb  staff   344M Jun  2 15:29 kubes-bin.tar

λ tar -tf kubes-bin.tar
kubectl
master/
master/etcd
master/etcdctl
master/flanneld
master/kube-apiserver
master/kube-controller-manager
master/kube-scheduler
node/
node/flanneld
node/kube-proxy
node/kubelet
```
2016-07-19 19:21:46 -07:00
Mike Danese
95e2e299a9 move kube-dns to the cluster/addons/ directory 2016-07-14 11:44:00 -07:00
k8s-merge-robot
783aa1a28b Merge pull request #28872 from lojies/sshoptadd
Automatic merge from submit-queue

Add SSH_OPTS to config ssh and scp port

Add SSH_OPTS support.This can change ssh and scp default port.

fixes #17934
2016-07-13 12:54:25 -07:00
lojies
b00902c9f7 Add SSH_OPTS to config ssh and scp port 2016-07-13 09:42:27 +08:00
Silas Boyd-Wickizer
35e190e6ae cluster/ubuntu/download-release.sh: if $KUBE_VERSION is set, use it.
If $KUBE_VERSION is not set, set it to the result of
`get_latest_version_number`.
2016-07-11 16:29:00 -07:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
k8s-merge-robot
46b1a0a24d Merge pull request #27246 from ZJU-SEL/ubuntu-kube-up
Automatic merge from submit-queue

[ubuntu]honor original docker_opts
2016-06-27 23:48:49 -07:00
Mike Spreitzer
876d77a699 Fixed typos - privileged not priviliged
This fixes a bug introduced in #26596.

Fixes #28074
2016-06-25 16:06:33 -04:00
k8s-merge-robot
50d58f4437 Merge pull request #26596 from jcrugzz/ALLOW-PRIVILEGED
Automatic merge from submit-queue

[fix] allow ALLOW_PRIVILEGED to be passed to kubelet and kube-api

This is something that we need for running docker in docker. Please let me know if you would consider this change. Thanks :)
2016-06-25 08:52:14 -07:00
Mike Spreitzer
6aeb5da239 Fixed deployAddons.sh to use sed template for skydns-svc.yaml
My original change neglected to change the template from the salt one
to the sed one.
2016-06-24 22:21:35 -04:00
Mike Spreitzer
e12fa40c1d Tracked addition of federation, sed support in kube DNS
The kube DNS app recently gained support for federation (whatever that
is), including a new Salt parameter.  It also gained alternate
templates, intended to be friendly to `sed`.  Fortunately, those do
not demand a federation parameter.
2016-06-24 15:28:55 -04:00
dalanlan
a883d6c154 honor original docker_opts 2016-06-12 10:29:41 +08:00
Morgan Bauer
90fb5398a4
enable ssh compression 2016-06-02 15:22:32 -07:00
Jarrett Cruger
44cc9aa9b6 [fix] add comment 2016-06-01 14:44:58 -04:00
Jarrett Cruger
372827fd5a [fix] allow ALLOW_PRIVILEGED to be passed to kubelet and kube-api, needed for running docker in docker 2016-05-31 19:06:48 -04:00
Girish Kalele
60d2293f4c Address review comments 2016-05-31 10:14:33 -07:00
Ovidiu Predescu
dd203087ef Automatically download the latest stable release version of
Kubernetes. Echo error to stderr. Simplify expression for
KUBE_VERSION. Explicitly match beginning of string.
2016-05-16 13:52:10 -07:00
k8s-merge-robot
b274911e0e Merge pull request #23829 from derekwaynecarr/fix_admission_order
Automatic merge from submit-queue

ResourceQuota should be last admission controller

For background, see documentation:

http://kubernetes.io/docs/admin/admission-controllers/#resourcequota
2016-04-20 04:58:04 -07:00
Jeremy Jongepier
a3e0d90a50 Added check for noexec mount of /tmp on master 2016-04-14 10:59:12 +02:00
derekwaynecarr
e3d58499db ResourceQuota should be last admission controller 2016-04-12 13:40:52 -04:00
k8s-merge-robot
d221649429 Merge pull request #22845 from ZhangZhenhua/eliminate-roles-ambiguity
Auto commit by PR queue bot
2016-03-21 21:30:15 -07:00
Mike Spreitzer
2712b77652 Change default k8s version to download to 1.2.0
Since it is now out!
2016-03-18 11:41:11 -04:00
ZhenhuaZhang
496ed99cea declear roles as roles_array internally when installing on ubuntu
There are actually two `roles` setting in ubuntu installation scripts.
One is roles as string, which can be set as env and then used in scripts.
The other is roles as array, which is used by internal handling to
locate specific role by offset.

This patch tries to distinguish roles meaning by declearing the second
as roles_array, thus eliminating its ambiguity.
2016-03-18 14:59:43 +08:00
yeasy
d250b00add Fix word typo
envitonment --> environment
2016-03-09 10:17:54 +08:00
k8s-merge-robot
4643ac46a3 Merge pull request #22546 from MikeSpreitzer/issue/22139
Auto commit by PR queue bot
2016-03-05 11:27:02 -08:00
ZhenhuaZhang
9c5d82d9bd fix setting node roles error in deployment on ubuntu
Configurations in config-default.sh should take default values if they
are set outside of the script. `roles` option is an exception. This
patch fix it to maintain consistency behavior with other options.
2016-03-01 10:55:04 +08:00
Mike Spreitzer
c33ceff623 Updated default k8s release to 1.1.8 in cluster/ubuntu/download-release.sh
Resolves issue #22139
2016-02-27 22:32:58 -05:00
Mike Spreitzer
6b8e7e158e Fixed typos, bash uses elif 2016-02-23 13:26:26 -05:00
Mike Spreitzer
22246291e3 Support a CNI plugin as an alternative to Flannel
Resolves issue #20292
2016-02-22 11:29:55 -05:00
laushinka
7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
k8s-merge-robot
db758dda64 Merge pull request #21046 from MikeSpreitzer/issue/20992
Auto commit by PR queue bot
2016-02-15 21:54:18 -08:00
k8s-merge-robot
396287aad9 Merge pull request #21110 from MikeSpreitzer/issue/21037
Auto commit by PR queue bot
2016-02-15 01:15:20 -08:00
Mike Spreitzer
4d55dbe69f Introduced envar KUBE_PROXY_EXTRA_OPTS
Resolves #21168
2016-02-12 18:42:51 -05:00
Mike Spreitzer
07d7cfd346 Fetch hacked easyrsa in kube-up instead of command run on master
This is good because it removes an obstacle to using the
cluster/ubuntu scripting to install Kubernetes into a restricted
environment where the machines can not open connections to arbitrary
external locations.

Also add debuggability to make-ca-cert.sh

Resolves #21037
Resolves #21092
2016-02-12 14:11:53 -05:00
Mike Spreitzer
43285f872e Deploy dashboard instead of extiinct kube-ui
Updated cluster/ubuntu/deployAddons.sh to deploy the UI that exists
rather than the old one that no longer exists.

Resolves #20992
2016-02-12 11:47:18 -05:00
Mike Spreitzer
5dc3daf9a8 Update Kubernetes release version from 1.1.4 to 1.1.7 in download-release.sh
.. in cluster/ubutuntu/download-release.sh

Resolves issue #21039
2016-02-10 23:08:59 -05:00
k8s-merge-robot
f2ed6f6ce8 Merge pull request #20474 from mqliang/ununtu-check-pods-torn-down
Auto commit by PR queue bot
2016-02-06 15:12:43 -08:00
k8s-merge-robot
d082357259 Merge pull request #20138 from jetsanix/fix-ubuntu
Auto commit by PR queue bot
2016-02-02 05:20:31 -08:00
mqliang
e9de110a5d fix the bug that ubuntu check-pods-torn-down doesn't take into account terminating pods nor pods in other namespaces 2016-02-02 14:22:16 +08:00
Brendan Burns
4f845ad6e1 Merge pull request #19642 from MikeSpreitzer/issue/19618
Introduce FLANNEL_OTHER_NET_CONFIG
2016-01-27 12:20:11 -08:00
jet tsang zeon-git
9ea4f6b6d9 fix kube-up without DOCKER_OPTS 2016-01-25 07:15:20 +08:00
Jean-Francois Chevrette
c5dca43427 remove etcd dependency on sysv init scripts 2016-01-21 13:38:27 -05:00
Mike Spreitzer
bf671f5723 Fix reference to kubernetes release
Replace old repo name with https://github.com/kubernetes/kubernetes.
Update default release to the latest, which is 1.1.4.
2016-01-18 23:54:36 -05:00
Mike Spreitzer
d4ab9663c4 Introduce FLANNEL_OTHER_NET_CONFIG
.. so allow configuration of other fields in, usually,
/coreos.com/network/config in etcd.

Fixes #19618
2016-01-14 01:27:13 -05:00
Mike Spreitzer
f23e4fb37b Make deployAddons.sh ensure KUBE_CONFIG_FILE is defined
Fixes #19484
2016-01-13 23:12:11 -05:00
He Simei
5d92dd4cb8 fix typo 2015-12-17 09:51:07 +08:00
Robert Bailey
74d568815b Fix a typo in #18490. 2015-12-16 09:00:13 -08:00
k8s-merge-robot
c6299c48db Merge pull request #18490 from ZJU-SEL/configurable-kubelet-config
Auto commit by PR queue bot
2015-12-15 22:20:27 -08:00
He Simei
1571edfb94 propagate config file 2015-12-11 16:50:05 +08:00
k8s-merge-robot
1b90941841 Merge pull request #18456 from thockin/bump-flannel-ver
Auto commit by PR queue bot
2015-12-11 00:34:39 -08:00