Commit Graph

2848 Commits (68a6147454b947a970463ce607d2c012f3893f57)

Author SHA1 Message Date
Lucas Käldström 6ab098ec56 Add the default dns options to kubelet when running inside docker and document it 2015-12-19 17:36:36 +02:00
k8s-merge-robot 3c60d90a55 Merge pull request #18899 from marun/fix-get-kube-local
Auto commit by PR queue bot
2015-12-19 04:47:37 -08:00
k8s-merge-robot 0b647564fc Merge pull request #18625 from bprashanth/kube_up_flannel
Auto commit by PR queue bot
2015-12-19 01:29:11 -08:00
k8s-merge-robot bf67eab89f Merge pull request #18216 from gmarek/limits
Auto commit by PR queue bot
2015-12-18 20:39:01 -08:00
Yifan Gu 516032f336 kube-addons: Use python container if python is not found on the machine.
To build the python image, BUILD_PYTHON_IMAGE should be set during make.
When the addon script is running, it will check if python is installed
on the machine, if not, it will use the python image that built previously.
2015-12-18 15:14:56 -08:00
k8s-merge-robot 6f83ff6c8f Merge pull request #18823 from runseb/patch-2
Auto commit by PR queue bot
2015-12-18 10:38:01 -08:00
k8s-merge-robot 0641e4a8f0 Merge pull request #18417 from Pensu/master
Auto commit by PR queue bot
2015-12-18 10:35:00 -08:00
Maru Newby e1c11c7d9e Fix bugs in cluster/get-kube-local.sh
- default the release to the value of latest_release instead of
   the string 'latest_release'
 - use curl -O when retrieving kubectl to write output to disk instead
   of to the screen
2015-12-18 18:13:46 +00:00
Wojciech Tyczynski 8b3c5f97ff Merge pull request #18888 from gmarek/master
Update validate-cluster.sh
2015-12-18 14:16:22 +01:00
gmarek 95f8593898 Update validate-cluster.sh 2015-12-18 12:04:54 +01:00
Wojciech Tyczynski 38bb110905 Enable etcd for events only in large clusters 2015-12-18 12:03:29 +01:00
gmarek e138ad3d43 Don't fail kube-down if no MIGs are present 2015-12-18 11:12:42 +01:00
runseb 3f8504be80 Add ServiceAccount to admission-control
Seems ServiceAccount is missing for single node docker deployment based on master.json
2015-12-17 17:02:53 +01:00
k8s-merge-robot f84c175e04 Merge pull request #18615 from ixdy/gce-cert-creation
Auto commit by PR queue bot
2015-12-17 07:15:13 -08:00
Wojciech Tyczynski d1cb1de5af Fix unbound variable issue 2015-12-17 13:54:56 +01:00
k8s-merge-robot 15a57daf75 Merge pull request #18747 from tPl0ch/hotfix-env-var-not-set
Auto commit by PR queue bot
2015-12-17 02:24:57 -08:00
gmarek 2d5c429f9d Add resource requests to addons 2015-12-17 10:13:15 +01:00
Thomas Ploch 2aa8ca2c1a [CLUSTER] `OS_DISTRIBUTION` is not set
Fixes https://github.com/kubernetes/kubernetes/issues/18746
2015-12-17 06:47:19 +01:00
He Simei 5d92dd4cb8 fix typo 2015-12-17 09:51:07 +08:00
k8s-merge-robot caae39b122 Merge pull request #18731 from mikedanese/disable-kube-push
Auto commit by PR queue bot
2015-12-16 13:57:31 -08:00
Abhi Shah 89670c1df8 Merge pull request #18733 from ArtfulCoder/kube2sky-ver
update kube2sky version
2015-12-16 13:42:01 -08:00
Zach Loafman 7996bf3393 Bump to container-vm-v20151215:
New kubelet version (which doesn't matter), no new Docker version, new
base bits. Cherry-pickable to 1.1.
2015-12-16 13:08:24 -08:00
Robert Bailey 74d568815b Fix a typo in #18490. 2015-12-16 09:00:13 -08:00
k8s-merge-robot 6716290903 Merge pull request #18388 from nikhiljindal/clusterName
Auto commit by PR queue bot
2015-12-16 03:50:11 -08:00
Michael Nikitochkin 2059a7c3fa AWS: Load cluster env during the validation
There is an issue when I specified all env in `cluster/env.sh`
And redefine `NUM_NODES`, than if it less than I have loop.
2015-12-16 10:26:11 +01:00
Michael Nikitochkin 2272de1f67 AWS: Fixed compacting script of cloud init for MacOS
In MacOS there is error during setup a new cluster:

```
+ sed -i -e 's/^[[:blank:]]*#.*$//' -e '/^[[:blank:]]*$/d' /sometmpfile
sed: -e: No such file or directory
```

Because sed version of MacOS does not support modern features.
2015-12-16 09:20:57 +01: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
k8s-merge-robot 582c84b562 Merge pull request #18485 from andyzheng0831/trusty-release
Auto commit by PR queue bot
2015-12-15 21:18:58 -08:00
Prashanth Balasubramanian 19a2cd23f3 Don't pull flannel from github 2015-12-15 17:42:54 -08:00
k8s-merge-robot e7e350dce9 Merge pull request #18718 from mikedanese/kube-ui-v4
Auto commit by PR queue bot
2015-12-15 15:42:43 -08:00
Abhishek Shah 5abfce45e1 update kube2sky version 2015-12-15 15:16:47 -08:00
Mike Danese 93a58415d6 disable kube-push in gce until it's fixed 2015-12-15 14:50:41 -08:00
Minhan Xia 2c9ffc1b45 Merge pull request #18448 from freehan/eslogging
add validation for fluentd pods
2015-12-15 13:25:21 -08:00
Minhan Xia ea34f453b8 Merge pull request #18678 from freehan/esmaster
enforce node quorum to prevent es split brain problem
2015-12-15 13:25:00 -08:00
Mike Danese b660cf9596 update kube-ui to v4 2015-12-15 10:12:02 -08:00
k8s-merge-robot bbbcc3e772 Merge pull request #18588 from tPl0ch/fix-aws-config-kube-up
Auto commit by PR queue bot
2015-12-15 04:32:49 -08:00
k8s-merge-robot b02417bb9b Merge pull request #18348 from mesosphere/sur-652-conformance-tests
Auto commit by PR queue bot
2015-12-15 02:02:50 -08:00
k8s-merge-robot 9c77dabb1b Merge pull request #18475 from andyzheng0831/fix
Auto commit by PR queue bot
2015-12-15 01:18:29 -08:00
Piotr Szczesniak af4788116a Merge pull request #18567 from gmarek/1000-kube-up
Allow creation of clusters larger than 500 nodes in GCE, take 2.
2015-12-15 09:15:30 +01:00
Abhi Shah 9c0e777567 Merge pull request #17952 from upmc-enterprises/dns_fix 2015-12-14 20:42:53 -08:00
Minhan Xia b4c72e56ce enforce node quorum to prevent es split brain problem 2015-12-14 18:16:04 -08:00
Minhan Xia f0c176dd6a add validation for fluentd pods 2015-12-14 16:23:11 -08:00
k8s-merge-robot 6cd73690e1 Merge pull request #18669 from luxas/kube2sky_remove_amd_only
Auto commit by PR queue bot
2015-12-14 13:58:21 -08:00
k8s-merge-robot 03d9f1b85a Merge pull request #18561 from ZJU-SEL/configurable-config-file
Auto commit by PR queue bot
2015-12-14 13:56:54 -08:00
k8s-merge-robot a702364470 Merge pull request #18351 from fgrzadkowski/simple_single_node
Auto commit by PR queue bot
2015-12-14 13:54:26 -08:00
k8s-merge-robot 1ab03bea80 Merge pull request #18273 from thockin/ethtool
Auto commit by PR queue bot
2015-12-14 13:54:05 -08:00
Lucas Käldström cff9c2f94c Don't restrict kube2sky to build only for amd64, make possible for arm too 2015-12-14 20:44:12 +02:00
Prashanth Balasubramanian b5303b9978 Tell kubernetes-master not to wait on flannel. 2015-12-14 09:47:09 -08:00
Sergiusz Urbaniak 67e98fcfa8 executor, scheduler: make default pod roles configurable
Currently if a pod is being scheduled with no meta.RolesKey label
attached to it, per convention the first configured mesos (framework)
role is being used.

This is quite limiting and also lets e2e tests fail. This commit
introduces a new configuration option "--mesos-default-pod-roles" defaulting to
"*" which defines the default pod roles in case the meta.RolesKey pod
label is missing.
2015-12-14 15:18:39 +01:00
gmarek 2b6c78818b Allow creation of clusters larger than 500 nodes in GCE, take 2.
The change from the take 1 is to remove the suffix from the name of the
last MIG.
2015-12-14 14:02:26 +01:00
k8s-merge-robot 9067833a31 Merge pull request #18382 from yujuhong/resource_usage
Auto commit by PR queue bot
2015-12-13 21:23:29 -08:00
Thomas Ploch 189f2436e3 [AWS] Wrong assignment of `KUBE_MASTER_IP` with Elastic IP
Currently when using a custom elastic IP, the ENV var `KUBE_MASTER_IP` gets
the output of `$(assign-elastic-ip $ip $master_id)` assigned.

This is wrong since the command returns a string:
`Attaching IP 99.999.999.999 to instance i-9999999`

This patch fixes the assignment by calling `get_instance_public_ip` again.
2015-12-12 13:53:01 +01:00
Jeff Grafton 7ac3b7d665 Print output from cert creation cmds on failure 2015-12-11 18:13:31 -08:00
nikhiljindal 724b098855 Deleting unused master.ClusterName param 2015-12-11 13:39:19 -08:00
Filip Grzadkowski f2d56c4198 Simplify local docker setup. 2015-12-11 15:53:44 +01:00
k8s-merge-robot abf9a90030 Merge pull request #17848 from sdminonne/libvirt_service_account
Auto commit by PR queue bot
2015-12-11 00:59:23 -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
k8s-merge-robot eb2fc232d5 Merge pull request #18198 from brendandburns/aws2
Auto commit by PR queue bot
2015-12-11 00:14:00 -08:00
Zach Loafman 9492fd6a80 Revert "Allow creation of clusters larger than 500 nodes" 2015-12-10 16:07:17 -08:00
Tim Hockin 6b830cf229 Fix a couple flannel invocations I missed 2015-12-10 11:48:46 -08:00
Brendan Burns b9aa71089e Merge pull request #18436 from gmarek/1000-kube-up
Allow creation of clusters larger than 500 nodes
2015-12-10 11:43:56 -08:00
k8s-merge-robot 1b70a403bb Merge pull request #18512 from fgrzadkowski/local_script
Auto commit by PR queue bot
2015-12-10 11:33:41 -08:00
k8s-merge-robot fda0f913df Merge pull request #18472 from mikedanese/unbound
Auto commit by PR queue bot
2015-12-10 11:33:25 -08:00
k8s-merge-robot 0f399211f7 Merge pull request #18258 from antoineco/ec2
Auto commit by PR queue bot
2015-12-10 11:14:49 -08:00
Andy Zheng 75e23a3845 Add release support for trusty kube-system manifests.
This is a follow-up work for PR 18115. It adds release support for
kube-system manifests.
2015-12-10 10:47:01 -08:00
k8s-merge-robot 8847c6dba8 Merge pull request #17877 from ZJU-SEL/vxlan
Auto commit by PR queue bot
2015-12-10 07:24:41 -08:00
Filip Grzadkowski c77d95bcc2 Address remaining comments from #18425 2015-12-10 16:01:22 +01:00
k8s-merge-robot 184171c583 Merge pull request #17615 from hpcloud/source-config-default
Auto commit by PR queue bot
2015-12-10 05:14:02 -08:00
He Simei 86d5a23238 make --config for kubelet configurable 2015-12-10 19:52:02 +08:00
gmarek 0c6126911b Allow creation of clusters larger than 500 nodes 2015-12-10 12:13:26 +01:00
k8s-merge-robot 87bf85a625 Merge pull request #18489 from ZJU-SEL/config-apiserver-advertise-addr
Auto commit by PR queue bot
2015-12-10 02:35:41 -08:00
k8s-merge-robot f326c4d775 Merge pull request #18425 from fgrzadkowski/local_script
Auto commit by PR queue bot
2015-12-10 02:35:22 -08:00
k8s-merge-robot d8cd5fa3bd Merge pull request #17091 from justinsb/aws_strip_comments
Auto commit by PR queue bot
2015-12-09 21:39:32 -08:00
He Simei c46957ed5e specify advertise-address for api-server 2015-12-10 10:49:11 +08:00
Zach Loafman 8b21b76df8 Fix defaulting in cluster/saltbase/install.sh 2015-12-09 16:42:58 -08:00
Zach Loafman f1f250c6b4 Merge pull request #18377 from roberthbailey/gcloud-prompts
Use gcloud install instead of gcloud update for components to remove the annoying prompt
2015-12-09 15:13:04 -08:00
Andy Zheng 317f778a05 Update the commandline of kubelet in Trusty nodes.
This change is to pick up the fix in PR #18178. It avoids confusing
cadvisor when systemd is present in an instance but does not act
as the init system.
2015-12-09 14:57:32 -08:00
Mike Danese 96d1b8d1b2 import util.sh and logging.sh since two functions are unbound 2015-12-09 14:55:58 -08:00
Zach Loafman e264db4349 Merge pull request #17580 from mikedanese/stage-image
add an option to push/pull component images from a registry using kube-up
2015-12-09 13:49:45 -08:00
k8s-merge-robot d0965bc440 Merge pull request #18115 from andyzheng0831/trusty
Auto commit by PR queue bot
2015-12-09 13:26:33 -08:00
k8s-merge-robot 5b24758f84 Merge pull request #18398 from mamikonyana/kubectl_config_option
Auto commit by PR queue bot
2015-12-09 08:44:34 -08:00
Wojciech Tyczynski fcca8b7e49 Merge pull request #18380 from roberthbailey/rsa-tarball-retries
Add retries to fetch the easy-rsa bundle from GCS.
2015-12-09 14:28:20 +01:00
k8s-merge-robot 89250980eb Merge pull request #18376 from ixdy/list-resources-script
Auto commit by PR queue bot
2015-12-09 03:37:36 -08:00
Filip Grzadkowski bd7cd74048 Add a script to run local docker based cluster 2015-12-09 12:27:15 +01:00
Peeyush Gupta 4774e7146e Add support for ppc64le architecture. 2015-12-09 12:12:13 +05:30
Arsen Mamikonyan 693213656b Add --config=/etc/kubernetes/manifests to kubelet 2015-12-08 15:33:47 -08:00
Mike Danese 4ace8280a0 add an option to push/pull component images from a registry using kube-up 2015-12-08 14:19:30 -08:00
Robert Bailey 628ac539e8 Add retries to fetch the easy-rsa bundle from GCS.
Fixes #18335.
2015-12-08 11:44:11 -08:00
Jeff Grafton 96f302d771 Quote string to preserve newlines in output 2015-12-08 11:27:49 -08:00
Robert Bailey 48a84bae68 Use gcloud install instead of gcloud update for components to remove
the annoying prompt.

Fixes #18374
2015-12-08 11:26:04 -08:00
Robert Roland ebeb7bc524 Removing quoting of the PROXY_SETTING value.
When PROXY_SETTING is empty, you end up an empty
command of "", as witnessed by this bash debug
output when +x is enabled:

    + '' /home/ubuntu/kube/make-ca-cert.sh 10.0.0.232 IP:10.0.0.232,IP:192.168.3.1,DNS:kubernetes,DNS:kubernetes.default,DNS:kubernetes.default.svc,DNS:kubernetes.default.svc.cluster.local

Given the example:

    PROXY_SETTING="http_proxy=http://server:port https_proxy=https://server:port"

You would not want this quoted on the script executed
on the remote master or minion node.

Enabling +e, for additional tracing and to
abort on any failure in the remote SSH session.

Adding a DEBUG parameter into config-default.sh allowing additional
debug information to be present in the logs during node rollout, using
bash's "set -x" when DEBUG=true
2015-12-08 07:53:02 -08:00
Robert Roland 6698ac6dcc Need to source the config-default.sh file before modifying the /etc/default/docker file, otherwise the DOCKER_OPTS set there do not get applied to new minion nodes. 2015-12-08 07:52:11 -08:00
Justin Santa Barbara 428e4156e2 AWS: Strip more comments from instance user-data
To stay under the 16KB limit
2015-12-07 22:27:33 -05:00
Yu-Ju Hong c1a0502487 Change the kubelet --max-pods limit to 110 for test clusters
This allows resource usage monitoring test to launch 100 test pods per node, in
addition to the add-on pods.

Also reduce the test time length since the results over the shorter period are
representative enough.
2015-12-07 15:41:40 -08:00
Salvatore Dario Minonne ea1c97c717 adding service account to libvirt 2015-12-07 14:33:12 +01:00
gmarek 4060eba626 Use KubeletPort from API object, salt changes, take 2
This reverts commit a7425bf070, reversing
changes made to 4a9b0fc715.
2015-12-07 10:31:11 +01:00
Tim Hockin 340d29a48c Add ethtool to hyperkube 2015-12-06 23:04:33 -08:00
Antoine Cotten 926148c5ee Add warning about AWS EC2 't2' instance type 2015-12-06 19:56:13 +01:00
Wojciech Tyczynski dca6f5ac5a Merge pull request #18074 from jsafrane/devel/e2e-rbd
e2e: Remove specific Gluster repo.
2015-12-06 09:43:10 +01:00