Commit Graph

209 Commits (bc4b6ac397973bf7414bb7b672a9f939dbbb9112)

Author SHA1 Message Date
Aaron.L.Xu b3b9bcc04c fix typo for cluster/* 2016-12-20 04:56:45 -08:00
du2016 39a25edb71 common.sh should load before kube-down/kube-up function called 2016-12-19 02:50:33 -05:00
Jeff Grafton 27d096d27d Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
Kubernetes Submit Queue d8c925319a Merge pull request #38523 from MrHohn/kube-dns-rename
Automatic merge from submit-queue (batch tested with PRs 38058, 38523)

Renames kube-dns configure files from skydns* to kubedns*

`skydns-` prefix and `-rc` suffix are confusing and misleading. Renaming it to `kubedns` in existing yaml files and scripts.

@bowei @thockin
2016-12-10 17:04:53 -08:00
Zihong Zheng 4ad06df18f Renames kube-dns configure files from skydns* to kubedns* 2016-12-08 20:01:19 -08:00
Kubernetes Submit Queue 7a1e8133e8 Merge pull request #38316 from alejandroEsc/ae/fix2
Automatic merge from submit-queue (batch tested with PRs 36736, 35956, 35655, 37713, 38316)

Ae/fix2

**What this PR does / why we need it**: Fixes some kubelet typos

**Release note**:
`None`
2016-12-08 19:52:00 -08:00
Alejandro Escobar 1e84257691 fixed a few kublet typos. 2016-12-07 11:23:12 -08:00
chentao1596 dc0d1a1cbd rebase some master infos 2016-11-22 08:52:05 +08:00
chentao1596 3f188f793e commit the attr has been delete not by myself 2016-11-22 08:52:05 +08:00
chentao1596 4f0b7cd377 config attr has beean changed, new attr shoule be used 2016-11-22 08:52:05 +08:00
Lukasz Zajaczkowski 88c92a823b Fix etcd unavailable error when performing kube-up.sh for Ubuntu provider 2016-11-18 14:40:47 +01:00
Zihong Zheng b26faae7fc Migrates addons from using ReplicationControllers to Deployments 2016-11-09 09:17:05 -08:00
Zihong Zheng d961190e6f Deployed DNS horizontal autoscaler as an addon
DNS horizontal autoscaling feature is turned on by default on gce.
The corresponding env var is piped into almost all other cloud
providers.
2016-11-07 10:44:44 -08:00
Mike Danese 27116c6818 rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
Kubernetes Submit Queue c8004a1b7b Merge pull request #34908 from jansel/flannel_other_net_config
Automatic merge from submit-queue

Don't overwrite FLANNEL_OTHER_NET_CONFIG in ubuntu config

Make it easier to pass options to flannel through environment variables.
2016-10-19 01:03:49 -07:00
Kubernetes Submit Queue 6ea0d05ad0 Merge pull request #34876 from ibm-contribs/var-flannel-backend
Automatic merge from submit-queue

Added option to specify the flannel backend, to cluster/ubuntu

```release-note
```

Generalized the cluster/ubuntu scripting so that there is a way to
specify the Flannel "backend" to use.

Also updated the default setting of ADMISSION_CONTROL, to match that
recommended for the latest release in
http://kubernetes.io/docs/admin/admission-controllers/#is-there-a-recommended-set-of-plug-ins-to-use,
and updated the comment on that setting to explain it.

Also made `cluster/ubuntu/reconfDocker.sh` sensitive to the `DEBUG` envar.
2016-10-18 09:26:27 -07:00
Jason Ansel b23420a15c Don't overwrite FLANNEL_OTHER_NET_CONFIG in ubuntu config 2016-10-16 12:03:00 -07:00
Kubernetes Submit Queue 71b558835b Merge pull request #32667 from wingedfox/master
Automatic merge from submit-queue

Fixed downloading of flannel 0.6.x releases in ubuntu installer, 0.5.x works as well

**What this PR does / why we need it**:
This PR fixes compatibility of ubuntu installer with flannel release 0.6.0 and 0.6.1 where download url was changed.

**Release note**:
```NONE
```
2016-10-15 02:12:58 -07:00
Mike Spreitzer 5b4696407d Added option to specify the flannel backend, to cluster/ubuntu
Generalized the cluster/ubuntu scripting so that there is a way to
specify the Flannel "backend" to use.

Also updated the default setting of ADMISSION_CONTROL, to match that
recommended for the latest release in
http://kubernetes.io/docs/admin/admission-controllers/#is-there-a-recommended-set-of-plug-ins-to-use,
and updated the comment on that setting to explain it.
2016-10-15 00:40:22 -04:00
Kubernetes Submit Queue 6c4d1244bc Merge pull request #31206 from GregoryIan/patch-1
Automatic merge from submit-queue

remove NODE_IPS
2016-10-13 23:51:06 -07:00
Jeff Grafton a3a2551234 Ubuntu: download client and server tarballs instead of mondo-tarball 2016-10-07 17:08:41 -07:00
Justin Santa Barbara a6dfaffe3f Fix typo: incremeting -> incrementing 2016-09-24 16:10:51 -04:00
Jingtian Peng cee76a6f7d fix the appending bug 2016-09-21 16:36:08 +08:00
Ilya WingedFox Lebedev e5c83f135f Fixed execution rights on flanneld 2016-09-14 17:30:15 +03:00
Ilya WingedFox Lebedev f92a9e794d Fixed downloading of flannel 0.6.x releases, 0.5.x works as well 2016-09-14 16:21:57 +03:00
Kubernetes Submit Queue 43710a8714 Merge pull request #30845 from YuPengZTE/master
Automatic merge from submit-queue

The first letter should be capitalized
2016-09-10 00:22:10 -07:00
Gregory Ian 96c6f9dd76 remove NODE_IPS
remove NODE_IPS in create-kube-controller-manager-opts,  useless
2016-08-23 10:51:40 +08:00
Jan Safranek 5f6efefc40 [squash] Rename and move to storageclass/ 2016-08-22 14:11:01 +02:00
Jan Safranek 82d35fb461 Add admission controller for default storage class.
The admission controller adds a default class to PVCs that do not require any
specific class. This way, users (=PVC authors) do not need to care about
storage classes, administrator can configure a default one and all these PVCs
that do not care about class will get the default one.
2016-08-18 18:55:35 +02:00
YuPengZTE 3faa38fcb6 The first letter should be capitalized 2016-08-18 11:49:53 +08:00
codejuan 849adf5adb fixed typos, the path is not docker 2016-08-11 18:30:24 +08:00
Mike Spreitzer 923b2b4782 Documented second arg to create-flanneld-opts in cluster/ubuntu/util.sh
Fixes #29546
2016-08-02 16:33:55 -04:00
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