Commit Graph

3511 Commits

Author SHA1 Message Date
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
Vishnu kannan
c3b5d5774c Update flag values for cgroups managed by kubelet.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 17:33:29 -08:00
Vishnu kannan
51e4ccf106 Updating the default values for the cgroups hierarchies that kubelet
creates for managing the nodes.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 16:02:36 -08:00
k8s-merge-robot
646cb70fe3 Merge pull request #20905 from yifan-gu/add_command_in_templates
Auto commit by PR queue bot
2016-02-10 07:11:20 -08:00
k8s-merge-robot
c0dd58c001 Merge pull request #20811 from mwielgus/cm-scripts
Auto commit by PR queue bot
2016-02-10 04:50:06 -08:00
k8s-merge-robot
372c9271ee Merge pull request #20871 from andyzheng0831/kube-addon
Auto commit by PR queue bot
2016-02-10 04:24:27 -08:00
Marcin
b7d72ef36d Startup scripts for custom metrics 2016-02-10 12:32:04 +01:00
Wojciech Tyczynski
9682227649 Merge pull request #20920 from mwielgus/heapster-v0.20.0-alpha5
Heapster v0.20.0-alpha5 + gcm-autoscaling sink for googleinfluxdb
2016-02-10 11:34:44 +01:00
Olivier Lemasle
e2c79ea1f1 Add bearer token authentication to Vagrant clusters
This does not remove basic authentication in Vagrant clusters.
Users will still be able to authenticate with username=vagrant, password=vagrant
2016-02-10 10:35:13 +01:00
k8s-merge-robot
e5a61c038b Merge pull request #20622 from wstrange/master
Auto commit by PR queue bot
2016-02-09 23:26:29 -08:00
Andy Zheng
126f3c4784 Fix kubelet and kube-proxy log level in Trusty
This change corrects how we determine the log level. Moreover, it explicitly redirects kubelet log to /var/log/kubelet.log, as we noticed it may miss sometimes.
2016-02-09 19:20:20 -08:00
Prashanth B
f0620a5efd Merge pull request #20883 from bprashanth/kubelet_flag
Kubelet flag for disabling hairpin mode
2016-02-09 17:31:30 -08:00
k8s-merge-robot
d7bef3cc87 Merge pull request #20896 from kinvolk/ckuehl/replace-rocket-with-rkt
Auto commit by PR queue bot
2016-02-09 16:05:01 -08:00
Greg Swallow
646c22e47c Use local_ipv4 when public_ipv4 is not present. 2016-02-09 16:35:38 -05:00
Prashanth Balasubramanian
c3a3a2bacd Pipe hairpin-mode flag through kubelet, enable on soak. 2016-02-09 12:12:19 -08:00
Marcin
eb19f3a977 Heapster v0.20.0-alpha5 + gcm-autoscaling sink for googleinfluxdb 2016-02-09 20:31:43 +01:00
k8s-merge-robot
494186f40e Merge pull request #20867 from dchen1107/docker
Auto commit by PR queue bot
2016-02-09 10:02:44 -08:00
Yifan Gu
9f2d219331 cluster/gce/coreos: Add command in addon templates.
As appc spec only has one field for executable path
(Exec v.s. ENTRYPOINT + CMD), specifying only args
will override the image's original ENTRYPOINT.
2016-02-09 23:29:43 +08:00
k8s-merge-robot
8e4a821ab3 Merge pull request #20821 from olivierlemasle/fix-dnf-vagrant
Auto commit by PR queue bot
2016-02-09 07:04:24 -08:00
Chris Kühl
7fcc40bb27 docs: replace Rocket with rkt 2016-02-09 13:52:25 +01:00
k8s-merge-robot
0fe5499fbc Merge pull request #20794 from bprashanth/etcd_config
Auto commit by PR queue bot
2016-02-09 04:07:26 -08:00
k8s-merge-robot
68a165cda9 Merge pull request #20681 from justinsb/aws_sync_kubeup_gce_step3
Auto commit by PR queue bot
2016-02-09 02:08:48 -08:00
Andy Zheng
20444558a3 Fix two issues of master on Trusty
This change moves the code of running and monitoring addon pods in a daemon type upstart job, so that addon manifest monitoring can be restarted automatically upon failure. Second, it updates the usage of "kube-ui" to "dashboard" to match the change in PR #20330.
2016-02-08 16:46:18 -08:00
Dawn Chen
f07070d129 Upgrade gce cluster to docker 1.9.1 2016-02-08 15:58:29 -08:00
derekwaynecarr
512154f25e Unbound cluster ip range in vagrant 2016-02-08 17:38:36 -05:00
Olivier Lemasle
0bf3f3ef09 Fix Vagrant issue with Salt
Package manager "dnf" does not work correctly with Salt
(cf https://github.com/saltstack/salt/issues/31001)

It causes Salt to consider that some packages (python, git, curl, etc.) are not
installed, which breaks the Vagrant Kubernetes setup.

Updating dnf and dnf-plugins-core to their latest version solves the issue.

Additionally, I've added the "fastestmirror" to dnf, which is useful if a
RPM mirror is broken or very slow. (In my case, dnf used a broken mirror which
froze the Kubernetes setup).
2016-02-08 17:29:19 +01:00
gmarek
208e98b58e Fix #20788 2016-02-08 10:21:04 +01:00
Michael Nikitochkin
55e2906f79 AWS: Allow to configure master ip and services mask
Fix script for case when neeed to setup cluster
in an existen VPC and subnet with ip mask example: 10.0.0.0/8.

Fixed bug to detect ip of master if provided MASTER_RESERVED_IP.

For some reason detecting master ip was moved to volumes and only when MASTER_RESERVED_IP=auto.
If specify IPv4 for MASTER_RESERVED_IP like `52.1.1.1`, than we could
not detect ip even during last steps of setuping cluster.
step the KUBE_MASTER_IP is reseted because there are no tag for the
volume.
2016-02-07 21:59:00 +01:00
Lucas Käldström
d5b7fd7f95 Remove -v /dev:/dev from docker and docker-multinode 2016-02-07 22:15:20 +02:00
Jan Chaloupka
4389b3f0d6 Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01:00
Prashanth B
86b6fdf5ea Sanitize flannel config. 2016-02-07 05:19:50 +00:00
Justin Santa Barbara
63743e9c1c AWS kube-up: Use the cert we generated in kubeconfig 2016-02-06 22:52:01 -05:00
Justin Santa Barbara
270fae4d66 kube-up: Support multiple additional IPs for SSL cert
And pass the public IP when setting up AWS
2016-02-06 22:52:01 -05:00
Justin Santa Barbara
fd5c44c72e kube-up: Finish refactor of AWS to reuse GCE script
We override key functions in the GCE script with AWS equivalents.
2016-02-06 22:52:01 -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
a08ac362a9 Merge pull request #19839 from madhusudancs/replicaset-e2e-enable
Auto commit by PR queue bot
2016-02-06 12:54:34 -08:00
k8s-merge-robot
9d981b696c Merge pull request #20642 from justinsb/aws_sync_kubeup_gce_step2
Auto commit by PR queue bot
2016-02-06 11:56:47 -08:00
k8s-merge-robot
d1b7fb3025 Merge pull request #20630 from a-robinson/logparse
Auto commit by PR queue bot
2016-02-06 11:28:08 -08:00
Madhusudan.C.S
48c4173f5f Enable ReplicaSets in e2e tests. 2016-02-06 03:46:17 -08:00
k8s-merge-robot
fe269474ca Merge pull request #20330 from bryk/kubernetes-dashboard
Auto commit by PR queue bot
2016-02-06 00:15:10 -08:00
Daniel Smith
75c1dcaacd Merge pull request #20463 from andyzheng0831/trusty-master
Support master on Ubuntu Trusty
2016-02-05 15:49:28 -08:00
Marek Grabowski
e8f341cb40 Merge pull request #20650 from mwielgus/heapster-alpha4
Bump heapster from v0.20.0-alpha3 to v.0.20.0-alpha4
2016-02-05 16:04:41 +01:00
Marcin Wielgus
6c2b338af0 Bump heapster from v0.20.0-alpha3 to v.0.20.0-alpha4 2016-02-05 15:33:09 +01:00
bryk
46f51d74bb Set kubernetes-dashboard as the default UI addon
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0

This replaces kube-ui addon
2016-02-05 13:36:37 +01:00
Daniel Smith
9a76c022ec Merge pull request #20408 from kylegordon/patch-1
Use kube account to make changes via govc
2016-02-04 23:16:44 -08:00
k8s-merge-robot
5b046cccdb Merge pull request #20448 from justinsb/aws_fix_e2e_detect_master
Auto commit by PR queue bot
2016-02-04 16:24:20 -08:00
Warren Strange
fed1d947bc added shell guard in case var is not set 2016-02-04 16:45:20 -07:00
Alex Robinson
e5c5f76402 Update the default fluentd images to parse system logs. 2016-02-04 23:29:27 +00:00
Justin Santa Barbara
ba415c1f39 kube-up: Add brackets to variable name 2016-02-04 12:43:09 -05:00
Justin Santa Barbara
732e76fb4e kube-up: Refactor SSL cert helpers into common
Next step in the the GCE/AWS harmonization
2016-02-04 09:10:41 -05:00
Alex Robinson
592da85a81 Parse system logs into structured messages in fluentd.
This allows you to filter based on components of the log,
like their severity, in the developers console or elasticsearch.
2016-02-04 08:14:59 +00:00
k8s-merge-robot
dbd7b83d93 Merge pull request #20545 from pmorie/boilerplate
Auto commit by PR queue bot
2016-02-03 19:46:26 -08:00
Warren Strange
24b06d805a Add preemtible option to master 2016-02-03 19:34:27 -07:00
Paul Morie
b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Paul Morie
05bd107301 Add boilerplate checks for Makefiles 2016-02-03 18:35:26 -05:00
Andy Zheng
b103f0f279 Support master on Ubuntu Trusty
This change support running kubernetes master on Ubuntu Trusty.
It uses pure cloud-config and shell scripts, and completely gets
rid of saltstack or the release salt tarball.
2016-02-03 11:22:28 -08:00
Dan Williams
fabb65c13f Add a network plugin that duplicates "configureCBR0" functionality 2016-02-03 10:08:08 -06:00
Piotr Szczesniak
d7dd663d2a Merge pull request #20412 from gmarek/enable
Add a flag to allow non-fatal errors in validate-cluster
2016-02-03 09:33:17 +01:00
Piotr Szczesniak
0e396b2084 Merge pull request #20407 from gmarek/1000-kube-up
Allow some NotReady nodes in 1000 node clusters
2016-02-03 09:32:59 +01:00
Jeff Lowdermilk
4a9b046515 Merge pull request #20432 from brendandburns/flake5
Don't re-check with gcloud for a firewall's existence to fix a potential flake.
2016-02-02 11:59:54 -08:00
Jeff Lowdermilk
ec4b94aabc Merge pull request #20509 from yujuhong/docker_health
Change docker health checker to using `docker ps`
2016-02-02 11:50:04 -08:00
Yu-Ju Hong
156d301140 Change docker health checker to using docker ps
`docker ps` is a more reliable health check than docker version from past
experiences.
2016-02-02 11:08:21 -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
k8s-merge-robot
d8047e7632 Merge pull request #20118 from erictune/chmod
Auto commit by PR queue bot
2016-02-02 04:50:54 -08:00
k8s-merge-robot
ac24a68801 Merge pull request #20094 from mesosphere/jdef_mesos_026_godeps
Auto commit by PR queue bot
2016-02-02 03:19:25 -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
Justin Santa Barbara
0f6b3611d8 AWS: Fix e2e usage of find-tagged-master-ip
In the e2e tests detect-master is called directly.  In turn, it calls
find-tagged-master-ip, which assumed that find-master-pd has already already
been called.  But this wasn't true in the e2e case.

We add a call to find-master-pd; it is idempotent.
2016-02-01 22:49:31 +00:00
k8s-merge-robot
30375b21d6 Merge pull request #19776 from justinsb/aws_sync_kubeup_gce
Auto commit by PR queue bot
2016-02-01 14:44:18 -08:00
Brendan Burns
78c9a7718a Don't re-check with gcloud for a firewall's existence to fix a potential flake. 2016-02-01 14:17:36 -08:00
k8s-merge-robot
b4d1c7541c Merge pull request #19870 from justinsb/salt_systemd_force
Auto commit by PR queue bot
2016-02-01 10:49:44 -08:00
k8s-merge-robot
a5f03173c5 Merge pull request #19869 from justinsb/aws_fix_docker183_package_name
Auto commit by PR queue bot
2016-02-01 10:18:06 -08:00
k8s-merge-robot
0aca70016c Merge pull request #20066 from justinsb/aws_move_build_runtime_config
Auto commit by PR queue bot
2016-02-01 09:48:27 -08:00
k8s-merge-robot
bea271a767 Merge pull request #19664 from yifan-gu/docker_restart
Auto commit by PR queue bot
2016-02-01 06:46:36 -08:00
gmarek
efacc0435e Add a flag to allow non-fatal errors in validate-cluster 2016-02-01 14:26:31 +01:00
Kyle Gordon
63b61a7205 Use kube account to make changes via govc
Use -l kube:kube to login to VM and make changes before public key is inserted.

Fixes #14366
2016-02-01 11:41:49 +00:00
gmarek
6aaabc6f46 Allow some NotReady nodes in 1000 node clusters 2016-02-01 12:40:40 +01:00
Marcin Wielgus
bdf563be4b Use Heapster v0.20.0-alpha3 2016-02-01 12:22:11 +01:00
Marcin Wielgus
a14f791d8c Revert "Merge pull request #20329 from kubernetes/revert-20323-bump-influxdb"
This reverts commit b4188ec459, reversing
changes made to 28951bd66a.
2016-02-01 12:12:37 +01:00
Yifan Gu
05087612b9 salt: Try 'systemctl' if 'service' command fails when restarting docker. 2016-02-01 18:10:31 +08:00
Alex Robinson
f684e80b1f Merge pull request #20067 from justinsb/aws_test_defaults
AWS: Change config-test defaults to match GCE
2016-01-30 17:42:28 -08:00
Alex Robinson
a81e6c3f4f Merge pull request #20307 from dchen1107/test1
Deprecated soon: override /etc/init.d/docker file on containervm image,
2016-01-30 13:32:41 -08:00
k8s-merge-robot
e953f4a074 Merge pull request #19628 from mikedanese/dns-headless
Auto commit by PR queue bot
2016-01-29 23:54:40 -08:00
k8s-merge-robot
40ff292294 Merge pull request #20286 from mikedanese/kube-ui-v5
Auto commit by PR queue bot
2016-01-29 10:51:00 -08:00
Filip Grzadkowski
13480c171d Revert "Yet another try to migrate to the new Heapster" 2016-01-29 15:03:49 +01:00
Piotr Szczesniak
7d4a948b1f Yet another try to migrate to the new Heapster 2016-01-29 09:56:49 +01:00
Piotr Szczesniak
0c5cc1bde1 Revert "Merge pull request #20215 from kubernetes/revert-20156-bump-influxdb"
This reverts commit 06996d5af9, reversing
changes made to b2f6e7d08f.
2016-01-29 09:19:03 +01:00
k8s-merge-robot
992a85950f Merge pull request #19326 from fgimenez/juju-allow-privileged
Auto commit by PR queue bot
2016-01-28 22:27:32 -08:00
Dawn Chen
5f6f6acec7 Deprecated soon: override /etc/init.d/docker file on containervm image,
so that we can unblock docker 1.10 validation.
2016-01-28 17:44:23 -08:00
Fabio Yeon
574f354b73 Merge pull request #20143 from roberthbailey/list-resources-gke
Fix list-resources.sh to work with the GKE provider
2016-01-28 13:48:05 -08:00
Mike Danese
b1ca73a5b2 kube-ui: upgrade to v5 2016-01-28 13:02:25 -08:00
Justin Santa Barbara
c556e8f0f5 kube-up: Refactor kube-env into common; use in AWS
Use kube-env on the AWS master also
2016-01-28 10:31:51 -08:00
Justin Santa Barbara
4d88a4ed2c kube-up: move sha1sum-file into common
Also hash the tar files in AWS kube-up
2016-01-28 10:19:38 -08:00
Justin Santa Barbara
a70412099a AWS: add retries around apt-get install
Related to issue #17309
2016-01-28 10:19:38 -08:00
Justin Santa Barbara
ae75a7d259 kube-up: move build-runtime-config from AWS & GCE into common 2016-01-28 10:19:38 -08:00
Justin Santa Barbara
0df6f5d8c5 kube-up: move yaml-quote from GCE & AWS to common 2016-01-28 10:19:38 -08:00
Prashanth B
952449585e Merge pull request #20164 from bprashanth/glbc_0.5.2
Bump glbc to 0.5.2
2016-01-28 08:21:32 -08:00
k8s-merge-robot
458eb5284a Merge pull request #19105 from smarterclayton/prepare_negotiate
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
k8s-merge-robot
a95f1b84cb Merge pull request #17243 from yifan-gu/gce_coreos
Auto commit by PR queue bot
2016-01-27 13:02:20 -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
Zach Loafman
9caf0a7e72 Merge pull request #20221 from zmerlynn/cvm-new-2
REALLY bump to container-vm-v20160127
2016-01-27 10:31:28 -08:00
Zach Loafman
cb9afa65f0 REALLY bump to container-vm-v20160127 2016-01-27 10:28:04 -08:00
Brendan Burns
6f15b532f7 Merge pull request #20218 from zmerlynn/cvm-new
Bump to container-vm-v20160127
2016-01-27 10:24:24 -08:00
Zach Loafman
727fb1a97a Bump to container-vm-v20160127 2016-01-27 09:22:07 -08:00
James DeFelice
70a5cc462b updated cluster/mesos/docker and contrib/mesos for mesos-0.26 compat 2016-01-27 17:13:07 +00:00
Filip Grzadkowski
0dedf869c7 Revert "Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1" 2016-01-27 17:22:36 +01:00
Peter McDonnell
4d4f1c645c exit if unable to query status from apiserver 2016-01-27 15:21:09 +00:00
Piotr Szczesniak
e96993f2ce Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1 2016-01-27 11:09:18 +01:00
k8s-merge-robot
86dd321c73 Merge pull request #19489 from cloudnativeapps/vsphere-support-1
Auto commit by PR queue bot
2016-01-26 22:27:55 -08:00
k8s-merge-robot
738eae88f8 Merge pull request #19841 from marun/vagrant-fedora23
Auto commit by PR queue bot
2016-01-26 18:45:48 -08:00
Alex Robinson
6acf297231 Update the fluentd versions to include fixes for #19405. 2016-01-27 00:30:53 +00:00
Alex Robinson
ac13e851e2 Don't let fluentd pipe its own logs directly back into itself. 2016-01-27 00:30:53 +00:00
Alex Robinson
95a4ea3fc8 Increase the fluentd buffer chunk size to improve write throughput.
Also reduce the max wait between retries, 30 seconds should be more than
enough backoff.
2016-01-27 00:30:50 +00:00
Robert Bailey
a8cad507db Fix list-resources.sh to work with the GKE provider. Also update
the grep command to work for versions of grep that don't
understand '\s'.
2016-01-26 15:05:29 -08:00
Clayton Coleman
38c7eded99 Prepare for content-type negotiation
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.

Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Prashanth Balasubramanian
eecfdc065b Bump glbc to 0.5.2 2016-01-26 10:40:07 -08:00
Zach Loafman
23b4bfb370 Merge pull request #20126 from kubernetes/revert-19957-container-vm-v20160121
Revert "Bump to container-vm-v20160121"
2016-01-26 10:38:32 -08:00
k8s-merge-robot
6c63acdd3d Merge pull request #19398 from justinsb/aws_elasticip_for_master
Auto commit by PR queue bot
2016-01-26 04:34:28 -08:00
k8s-merge-robot
8c821700f3 Merge pull request #19389 from justinsb/internal_cidr
Auto commit by PR queue bot
2016-01-26 03:58:48 -08:00
k8s-merge-robot
3f40fb7d0a Merge pull request #17923 from yuvipanda/kube2dns-pflag
Auto commit by PR queue bot
2016-01-26 02:13:44 -08:00
k8s-merge-robot
2286bd3a38 Merge pull request #19961 from mamikonyana/newrepo
Auto commit by PR queue bot
2016-01-25 19:51:23 -08:00
k8s-merge-robot
bd97eec9b6 Merge pull request #19928 from jfchevrette/fix_ubuntu_sysv_init
Auto commit by PR queue bot
2016-01-25 19:50:47 -08:00
k8s-merge-robot
110f995484 Merge pull request #19748 from freehan/registry
Auto commit by PR queue bot
2016-01-25 19:48:10 -08:00
Maru Newby
e709e91c64 Vagrant fixes for fedora 23
- wget is not installed by default on fedora 23.  Use curl instead
   since it is always available on recent Fedora.

 - The repo url for cockpit resulted in an http redirect message being
   saved as the repo file which broke deployment.  Update the url to
   url that was redirected to and ensure that future redirects will be
   handled correctly.

 - The main Fedora 23 repo includes salt packages, and there is no
   salt repo for 23.  The salt bootstrap still creates a repo file for
   a nonexistent repo, though, and this change removes it to avoid
   having dnf report an error on every update.
2016-01-26 00:33:01 +00:00
Dawn Chen
93168c1ede Merge pull request #20036 from ihmccreery/instance-prefix
Use INSTANCE_PREFIX to prefix uploaded binaries in GCE
2016-01-25 16:07:13 -08:00
Zach Loafman
abfbf68287 Revert "Bump to container-vm-v20160121" 2016-01-25 15:54:41 -08:00
Mike Danese
69add2fb80 dns: don't die when a headless service declares no ports
Headless services are not required to declare ports.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-25 15:46:06 -08:00
Eric Tune
f2df774ec9 Chmod password and token files.
Fixes #7808.
2016-01-25 15:14:17 -08:00
Piotr Szczesniak
f93b1f1043 Bumped Heapster to v0.18.5 to fix issue with nil pointer panic 2016-01-25 21:55:16 +01:00
Quinton Hoole
10f7985dfb Merge pull request #19995 from justinsb/gce_label_pd
Ubernetes-Lite GCE: Label volumes with zone information
2016-01-25 10:34:10 -08:00
jet tsang zeon-git
9ea4f6b6d9 fix kube-up without DOCKER_OPTS 2016-01-25 07:15:20 +08:00
Dhawal Yogesh Bhanushali
f7db2c6e99 vsphere support 2016-01-24 13:52:56 -08:00
Justin Santa Barbara
a4d6801655 AWS: Change config-test defaults to match GCE
KUBE_ENABLE_DAEMONSETS & KUBE_ENABLE_DEPLOYMENTS default to true in
config-test in GCE, so we should do the same in AWS for e2e sanity.
2016-01-24 10:43:43 -05:00
Justin Santa Barbara
8a7afc459c AWS: Call build-runtime-config where it is used
build-runtime-config was being called in verify-prereqs, which didn't
match how GCE called it, and didn't seem to actually work.

Instead call it just before the master configuration is built.  Also
call it just before the node configuration is built, even though the
nodes don't _currently_ require the runtime_config.
2016-01-24 10:43:15 -05:00
Michael Faille
ce7d5fe6e7 fix : openssl don't exist by default on CentOS docker image
To fix it, I just add openssl depedency on "generate-cert" state. It
should work on Debian-like and RedHat-Like systems. (and, Archlinux,
Opensuse, etc)

Fixed error :
$ sudo salt 'kubernetes-master' state.apply
----------
          ID: kubernetes-cert
    Function: cmd.script
      Result: False
     Comment: Command 'kubernetes-cert' run
     Started: 06:57:06.634203
    Duration: 208.719 ms
     Changes:
              ----------
              pid:
                  793
              retcode:
                  1
              stderr:
                  /tmpm24T3R.sh: line 22: openssl: command not found
                  chgrp: cannot access '/srv/kubernetes/server.key': No such file or directory
                  chgrp: cannot access '/srv/kubernetes/server.cert': No such file or directory
                  chmod: cannot access '/srv/kubernetes/server.key': No such file or directory
                  chmod: cannot access '/srv/kubernetes/server.cert': No such file or directory
              stdout:

After applying my patch (success) :
----------
          ID: kubernetes-cert
    Function: cmd.script
      Result: True
     Comment: Command 'kubernetes-cert' run
     Started: 07:17:04.172384
    Duration: 1041.092 ms
     Changes:
              ----------
              pid:
                  1045
              retcode:
                  0
              stderr:
                  Generating a 4096 bit RSA private key
                  ......................................................................++
                  ...............................................................................++
                  writing new private key to '/srv/kubernetes/server.key'
                  -----
              stdout:
----------
2016-01-24 02:18:11 -05:00
Justin Santa Barbara
d8460d5920 AWS: Pass non-masquerade-cidr through kube-up
Set the environment variable NON_MASQUERADE_CIDR.

Docs in cluster/aws/options.md
2016-01-22 21:01:44 -05:00
Isaac Hollander McCreery
9477bc08a5 Use INSTANCE_PREFIX to prefix uploaded binaries in GCE, fixes #8705 2016-01-22 15:27:33 -08:00
Mike Danese
0fdaa41c5e cluster/gce: fix unbound variable 2016-01-22 14:42:32 -08:00
Justin Santa Barbara
88eeec4f13 GCE: Register the PersistentVolumeLabel admission controller 2016-01-22 17:16:39 -05:00
Rudi Chiarito
bc0dd97a70 ECR credential provider 2016-01-22 15:03:25 -05:00
Arsen Mamikonyan
8b5e9e2885 Change repository references to https://github.com/kubernetes/kubernetes 2016-01-22 10:23:14 -05:00
Piotr Szczesniak
e6f3e2893a Fixed syntax issue in Heapster config 2016-01-22 10:29:38 +01:00
Zach Loafman
83a6b7fcaa Merge pull request #19957 from zmerlynn/container-vm-v20160121
Bump to container-vm-v20151215
2016-01-21 22:05:12 -08:00
Brendan Burns
faf10632fe Merge pull request #19963 from freehan/monitor
fix heapster rc file jinja syntax error
2016-01-21 21:03:50 -08:00
Justin Santa Barbara
274e589aa6 AWS: Use an elastic IP for the master by default
If we don't use an elastic IP, the IP address will be lost if we lose
the master for any reason, and a replacement master will not have the
same IP.  But the master IP is set both in client kubeconfig files and
the master SSL certificate.  Hence the default should be to allocate an
elastic IP for the master.

One complication: AWS doesn't allow tags on elastic IPs, so it is hard
to track the elastic IP so we can delete it as part of kube-down.
Instead, we take the master EBS volume with the elastic IP.  This is a
little odd, but works because the master volume & the master elastic IP
really need to be assigned to the same machine, so might be thought of
as a pair.

Also, we now delete the master EBS volume as part of kube-down, as
people expect kube-down to clean-up everything it creates.
2016-01-21 22:01:55 -05:00
YuviPanda
12a6778766 Update skynd RC template to use GNU style flags 2016-01-21 16:59:02 -08:00
YuviPanda
cd23dcee34 Use pflag instead of flag in kube2dns
- Marks flags with _ as deprecated, use the - variants instead
2016-01-21 16:58:25 -08:00
Yifan Gu
5817ca1c71 cluster/gce/coreos: Add scripts for configuring the master/node. 2016-01-21 16:32:15 -08:00
Yifan Gu
1705f4919f cluster/gce/coreos: Update master and node cloud config. 2016-01-21 16:32:15 -08:00
Yifan Gu
fe70bf8485 cluster/gce/coreos: Upload templates during kube-up.
Also added create-master-instance() and create-node-instance-template()
2016-01-21 16:32:15 -08:00
Yifan Gu
d7f4f6b3e0 cluster/gce/coreos: Add manifests for addons and master components. 2016-01-21 16:32:15 -08:00
Minhan Xia
3da8d80187 fix jinja syntax error 2016-01-21 16:03:49 -08:00
Alex Mohr
f788e1e11a Merge pull request #19446 from justinsb/aws_reboot_master_on_failure
AWS: Create a cloudwatch alarm to reboot the master on failure
2016-01-21 15:05:14 -08:00
Zach Loafman
5965252421 Bump to container-vm-v20151215
No new kubelet/docker. Bump kernel to address CVE-2016-0728.
2016-01-21 14:32:20 -08:00
Alex Mohr
8d021f3d88 Merge pull request #19897 from ixdy/test-golang-1.5.3
Update tests from Go 1.5.2 to Go 1.5.3
2016-01-21 12:00:00 -08:00
Alex Mohr
7cd28ec178 Merge pull request #19922 from gmarek/kube-up
Slightly change warning printed when not all nodes are ready in validate-cluster.
2016-01-21 10:56:46 -08:00
Alex Mohr
d8be60ee57 Merge pull request #19777 from justinsb/echo_sleep_is_silly
kube-up scripts: don't 'echo sleep'
2016-01-21 10:44:38 -08:00
Alex Mohr
4c8e28b77c Merge pull request #19535 from brendandburns/salt
Check that num_nodes is both defined and not None, not just defined
2016-01-21 10:42:53 -08:00
Alex Mohr
233d292ae5 Merge pull request #19456 from justinsb/salt_fix_tar_filemode
Salt: mode for tar file should be 644, not 755
2016-01-21 10:40:38 -08:00
Jean-Francois Chevrette
c5dca43427 remove etcd dependency on sysv init scripts 2016-01-21 13:38:27 -05:00
Alex Mohr
8755f3e8a3 Merge pull request #19407 from justinsb/aws_fix_salt_helium_detection
AWS: don't rely on salt for kube-node-unpacker on AWS
2016-01-21 10:38:08 -08:00
Alex Mohr
20ec685a50 Merge pull request #19271 from mbonaci/patch-1
Fix small dns readme error
2016-01-21 10:36:34 -08:00
Alex Mohr
766ee6cf0b Merge pull request #19819 from ysh7/master
Problem with centos cluster creation script
2016-01-21 10:35:09 -08:00
Alex Mohr
8f0ab67819 Merge pull request #19241 from mesosphere/karlkfi-docker-cluster
Extract keygen image
2016-01-21 10:29:39 -08:00
Alex Mohr
eaa61a72b0 Merge pull request #17919 from justinsb/multizone_gce
Ubernetes Lite support for GCE
2016-01-21 10:22:34 -08:00
Jeff Grafton
0d84b49f65 Update tests from Go 1.5.2 to Go 1.5.3 2016-01-21 09:43:52 -08:00
gmarek
9d1e4b153c Slightly change warning printed when not all nodes are ready in validate-cluster. 2016-01-21 15:55:36 +01:00
k8s-merge-robot
36b6d80912 Merge pull request #17213 from luxas/16987-default-serviceaccount-secret-hyperkube
Auto commit by PR queue bot
2016-01-21 04:31:45 -08:00
Justin Santa Barbara
43cbfb74fe Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
We adapt the existing code to work across all zones in a region.

We require a feature-flag to enable Ubernetes-Lite

Reasons:

* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.

There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
k8s-merge-robot
4e04a289d8 Merge pull request #19793 from MikeSpreitzer/issue/19221
Auto commit by PR queue bot
2016-01-20 18:52:56 -08:00
Minhan Xia
33ecc6226e add extension links in registry README 2016-01-20 16:49:53 -08:00
Minhan Xia
263ac066e2 add docs to setup auth for kube-registry 2016-01-20 16:49:45 -08:00
Justin Santa Barbara
2958ea253a GCE: Allow for reuse of master
This is for internal use at the moment, for testing Ubernetes Lite, but
arguably makes the code a little cleaner.

Also rename KUBE_SHARE_MASTER -> KUBE_USE_EXISTING_MASTER
2016-01-20 15:37:00 -05:00
Justin Santa Barbara
cdd4caf4df Salt: force service provider to systemd if systemd
The version of Salt we're running doesn't do a good job of detecting
systemd.  Inspired by https://github.com/saltstack/salt/issues/13926,
I added a provider-force to the services.

With this change, salt-call -l debug state.highstate succeeds, even for
repeated invocations.

The issue was (probably) benign, but definitely caused noised (e.g. #11297)
2016-01-20 12:20:50 -05:00
Justin Santa Barbara
32d48c619c AWS: Fix the docker-engine package name
I got the package name wrong before, which meant that salt was failing
on invocations after the first (the name apparently doesn't matter on
the first invocation).
2016-01-20 12:19:36 -05:00
k8s-merge-robot
89dea9f381 Merge pull request #19797 from justinsb/aws_docker_183
Auto commit by PR queue bot
2016-01-19 17:24:35 -08:00
k8s-merge-robot
b80ed11cc2 Merge pull request #15998 from cilium-team/updating-vagrant
Auto commit by PR queue bot
2016-01-19 17:13:03 -08:00
Minhan Xia
64d267f251 add docs for enabling tls for kube-registry 2016-01-19 17:02:30 -08:00
Minhan Xia
42ac5d2bd9 add docs about running private registry with gcs 2016-01-19 16:57:39 -08:00
André Martins
0515b4c7c9 Updated Vagrant VMs to Fedora 23
Signed-off-by: André Martins <aanm90@gmail.com>
2016-01-19 16:52:54 +00:00
Yagnesh Mistry
c171a96d15 fix error related to flannel network in CentOS 7 cluster creation scripts 2016-01-19 17:17:50 +05:30
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
Justin Santa Barbara
dcd7e813f7 AWS: Update AMIs for Ubuntu Vivid
Update to the latest AMIs for Vivid, as sourced from:
http://cloud-images.ubuntu.com/locator/ec2/
2016-01-18 16:47:06 -05:00
Justin Santa Barbara
9f995df29c AWS: Use Docker 1.8.3 on Ubuntu vivid
This currently requires downloading from the Docker repository, until we
get the packages uploaded to Google Cloud Storage.

Issue #19796
2016-01-18 14:13:55 -05:00
Justin Santa Barbara
d2e65a89d0 kube-up scripts: don't 'echo sleep'
'echo sleep 5' just prints 'sleep 5'; replace with 'sleep 5'.
2016-01-17 21:29:01 -05:00
Justin Santa Barbara
65feea4449 AWS: don't rely on salt for kube-node-unpacker on AWS
We've had a lot of salt problems with systemd on AWS; we have a
workaround in place that we use everywhere else, we should use that for
kube-node-unpacker too.

Fixes #19386
Issue #19388
2016-01-17 14:35:07 -05:00
k8s-merge-robot
bd8d37f6f2 Merge pull request #19522 from apcera/dev_python3
Auto commit by PR queue bot
2016-01-17 03:21:07 -08:00
Mike Danese
912e54e496 Merge pull request #19749 from bprashanth/color
Remove undefined color_ variables
2016-01-16 10:46:31 -08:00
k8s-merge-robot
c678ef3592 Merge pull request #19410 from mesosphere/jdef_run_job_with_timeout
Auto commit by PR queue bot
2016-01-16 05:53:40 -08:00
Prashanth Balasubramanian
7a97163914 Remove undefined color_ variables. 2016-01-15 18:06:32 -08:00
Mike Danese
919c011d96 Merge pull request #19640 from MikeSpreitzer/issue/19484
Make deployAddons.sh ensure KUBE_CONFIG_FILE is defined
2016-01-14 14:09:05 -08:00
James DeFelice
bc92fd6a02 add a timeout for job runs in case something gets stuck 2016-01-14 19:29:38 +00:00
Piotr Szczesniak
b4b5ead09a Bumped Heapster to v0.18.4 to fix issue with broken watch 2016-01-14 13:02:56 +01: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
k8s-merge-robot
dc36f3a7f4 Merge pull request #19404 from nagarjung/update-get-kube
Auto commit by PR queue bot
2016-01-13 20:25:23 -08:00
Mike Spreitzer
f23e4fb37b Make deployAddons.sh ensure KUBE_CONFIG_FILE is defined
Fixes #19484
2016-01-13 23:12:11 -05:00
k8s-merge-robot
cf7d2af14a Merge pull request #19086 from mikedanese/fix-build
Auto commit by PR queue bot
2016-01-13 02:12:44 -08:00
Josh Ellithorpe
76e8a8b08d Fix issues with Python3 and bring up a dev cluster 2016-01-12 11:08:42 -08:00
Daniel Smith
3ffcfb928a Merge pull request #18752 from miry/env-in-validate-cluster
AWS: Load cluster env during the validation
2016-01-12 10:39:19 -08:00
Daniel Smith
3b9d67e6c0 Merge pull request #18742 from bprashanth/flannel_release_temp
Don't pull flannel from github
2016-01-12 10:37:52 -08:00
k8s-merge-robot
e20a0db159 Merge pull request #19001 from endocode/fix-libvirt-coreos-cluster
Auto commit by PR queue bot
2016-01-12 08:15:00 -08:00
Brendan Burns
9c843495d7 Check that num_nodes is both defined and not None, not just defined 2016-01-12 07:20:35 -08:00
k8s-merge-robot
cc7acc0c58 Merge pull request #19061 from fgrzadkowski/release_docker
Auto commit by PR queue bot
2016-01-11 20:56:00 -08:00
k8s-merge-robot
d246ed00fa Merge pull request #18894 from luxas/update_master_multi
Auto commit by PR queue bot
2016-01-11 20:38:41 -08:00
Mike Danese
22cfa5ea7e build: move some of hack/lib/ into a new cluster/lib/
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.

Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
Minhan Xia
2a7656c0c0 Merge pull request #19383 from freehan/esloggingfix
Improve ES test resilience
2016-01-11 10:08:50 -08:00
Lucas Käldström
7d497441b3 Update docker-multinode instructions and version. Also run kube-proxy in a pod in the docker-multnode manifest 2016-01-11 16:45:56 +02:00
Nagarjun
fc9cac1594 Update get-kube.sh to not re-download the kubernetes archive 2016-01-11 12:03:54 +05:30
k8s-merge-robot
da5251ad60 Merge pull request #19170 from ZJU-SEL/fix-validation
Auto commit by PR queue bot
2016-01-10 14:22:57 -08:00
Justin Santa Barbara
5bf346216c Salt: mode for tar file should be 644, not 755
Probably harmless, but it doesn't make sense to have it be executable.
2016-01-10 11:04:56 -05:00
Justin Santa Barbara
d91ad0bb6f AWS: Create a cloudwatch alarm to reboot the master on failure
This is an easier alternative to keep a master running than trying to
dynamically find & attach master volumes.

To actually work, it requires that users create the EC2ActionsAccess IAM
role as required by CloudWatch, see e.g.
http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/UsingIAM.html
2016-01-09 14:53:29 -05:00
Julian Strobl
7f4848cf5b update generated docs
Command executed:

 ./hack/update-generated-docs.sh
2016-01-08 10:12:18 +01:00
k8s-merge-robot
c156835f8a Merge pull request #19216 from luxas/etcd_cross_platform
Auto commit by PR queue bot
2016-01-07 11:56:13 -08:00
Brendan Burns
9ac13f665d Merge pull request #19320 from justinsb/aws_pass_numnodes
AWS: Pass NUM_NODES in instance-data
2016-01-07 09:59:07 -08:00
k8s-merge-robot
b1e4831265 Merge pull request #19148 from andyzheng0831/trusty
Auto commit by PR queue bot
2016-01-06 17:29:48 -08:00
Minhan Xia
c3d400f4bb Gather Fluentd logs 2016-01-06 13:46:12 -08:00
Lucas Käldström
10a70a6ffd Added shared volume to the master-multi setup, so serviceAccounts also works for multi-host setups. 2016-01-06 09:50:16 +02:00
Justin Santa Barbara
57265a4c74 AWS: Pass NUM_NODES in instance-data
The bootstrap scripts already assume it is set.
2016-01-05 23:10:43 -05:00
Karl Isenberg
36f216179f Vendor github.com/karlkfi/intemp (bash library) 2016-01-05 18:02:33 -08:00
Karl Isenberg
ff0a2871f3 Fix buffer_output to actually handle interrupts 2016-01-05 17:57:04 -08:00
Karl Isenberg
acef0404e5 Simplify docker run execution in a way that still handles SIGINT & SIGTERM 2016-01-05 17:55:52 -08:00
k8s-merge-robot
66d3cbf889 Merge pull request #16900 from madhusudancs/avoid-kubelet-oscillation
Auto commit by PR queue bot
2016-01-05 17:14:13 -08:00
Andy Zheng
d27e3ae8a1 Run kube-proxy in Trusty in a static pod.
We copy the manifest from salt configurations, and then remove the salt
content in the file and replace the variables with values.
2016-01-05 16:11:58 -08:00
Filip Grzadkowski
e7e8c5af84 Push docker images for cluster components during release. 2016-01-05 12:36:10 +01:00
k8s-merge-robot
2fb0aa6e5e Merge pull request #19147 from luxas/experimentl_apiserver
Auto commit by PR queue bot
2016-01-05 02:59:17 -08:00
Lucas Käldström
c77d6f7d59 Make the etcd image cross-platform 2016-01-05 10:52:12 +02:00
Karl Isenberg
3d96de594c Use intemp v1.0.2 that doesn't require TMPDIR 2016-01-04 19:17:58 -08:00
Karl Isenberg
1a6509083f Make TMPDIR optional 2016-01-04 19:17:57 -08:00
Karl Isenberg
4ca42f075c Fix buffer_output 2016-01-04 19:17:57 -08:00
Karl Isenberg
54010e5119 Fix typo 2016-01-04 19:17:57 -08:00
Karl Isenberg
1938414706 Extract kubernetes-keygen to its own repo: mesosphere/kubernetes-keygen
- Move keygen image mesosphere/kubernetes-mesos-keygen -> mesosphere/kubernetes-keygen:v1.0.0
- Remove resolveip in favor of github.com/karlkfi/resolveip (resolveip.sh)
- Remove util-temp-dir.sh in favor of github.com/karlkfi/intemp (intemp.sh)
- Refactor bash code to use intemp (extract functions to scripts)
- Remove util-ssl.sh in favor of mesosphere/kubernetes-keygen
2016-01-04 19:17:57 -08:00
Marko Bonaći
5cbd461442 Fix dns readme (kubectl output: REASON -> STATUS) 2016-01-04 23:47:04 +01:00
Madhusudan.C.S
059c2aa799 Mitigate node out of disk status oscillation by delaying it.
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.

Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.

Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
k8s-merge-robot
ac7f85046a Merge pull request #19225 from mikefaille/master
Auto commit by PR queue bot
2016-01-03 02:24:39 -08:00
k8s-merge-robot
b4189f965e Merge pull request #19136 from gmarek/cleanup
Auto commit by PR queue bot
2016-01-02 08:02:30 -08:00
Michael Faille
a2c7ea9ac1 FIX : replace publicIP (decapricated) for clusterIP
It fix this bug :
https://stackoverflow.com/questions/34255601/kube-addons-service-failed-on-coreos-libvirt-installation

Some documentation that explain why clusterIP is better :
https://github.com/kubernetes/kubernetes/blob/master/docs/api.md
2016-01-02 00:05:57 -05:00
Justin Santa Barbara
f9a6ac077e Ubernetes Lite: Volumes can dictate zone scheduling
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.

So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels.  This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.

Support for tagging GCE PVs will follow.

Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
Lucas Käldström
324890e267 Update a deprecated flag in hyperkube manifest 2015-12-30 23:01:02 +02:00
Filip Grzadkowski
7226b9ca0c Remove --cluster-name flag from hyperkube configuration. 2015-12-29 16:47:36 +01:00
He Simei
abe7fc0e91 update validate-cluster.sh 2015-12-29 19:51:00 +08:00
Marek Grabowski
9a1d16f47d Merge pull request #19165 from fgrzadkowski/release_docker_hyperkube
Refactor hyperkube Makefile to avoid changing local files
2015-12-29 12:07:44 +01:00
Filip Grzadkowski
215b4cc41f Refactor hyperkube Makefile to avoid changing local files 2015-12-29 10:38:20 +01:00
Vishnu kannan
72abc47930 Disable serializing image pulls for e2e tests.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-12-28 10:27:13 -08:00
gmarek
d776a331de Pipe things written in salt pillars which was missing it through sed 2015-12-28 12:23:59 +01:00
gmarek
fc6247152b Split levels of verbosity of test logging on components. 2015-12-28 11:41:09 +01:00
Bryan Boreham
5b9135ff6f Add default value of blank to VAGRANT_DEFAULT_PROVIDER when no provider found 2015-12-23 16:03:32 +00:00
Filip Grzadkowski
1c5166281f Update comment in get-kube-local.sh 2015-12-23 15:49:14 +01:00
Mike Danese
c00dfe82f8 Revert "Push server docker images during the release" 2015-12-22 19:59:56 -08:00
k8s-merge-robot
78b573e803 Merge pull request #18893 from fgrzadkowski/release_docker
Auto commit by PR queue bot
2015-12-22 16:54:18 -08:00
Thomas Fricke
efce499bb9 add README.md 2015-12-22 10:36:25 +01:00
Julian Strobl
f1603a0213 take all ssh public keys into account
For those of us, who do not use the default ssh naming scheme.
2015-12-22 10:33:52 +01:00
Thomas Fricke
dd71deb772 check for existing POOL_PATH 2015-12-22 10:33:46 +01:00
Thomas Fricke
66a5a8bc0a add debug check 2015-12-22 10:32:31 +01:00
Thomas Fricke
ee3c66fd46 fix messed up volume handling 2015-12-22 10:32:11 +01:00
k8s-merge-robot
4141679caa Merge pull request #18748 from miry/compact-cloud-init-script-bug
Auto commit by PR queue bot
2015-12-21 15:56:15 -08:00
k8s-merge-robot
de338e88ff Merge pull request #18784 from zmerlynn/test_containervm
Auto commit by PR queue bot
2015-12-20 15:46:50 -08:00
k8s-merge-robot
7a8b9e64bd Merge pull request #18932 from luxas/dns_docker_guide
Auto commit by PR queue bot
2015-12-20 08:29:16 -08:00
k8s-merge-robot
2eea4c0e8f Merge pull request #18819 from wojtek-t/flag_gate_second_etcd
Auto commit by PR queue bot
2015-12-20 00:36:58 -08:00
k8s-merge-robot
3f91f18a55 Merge pull request #18488 from yifan-gu/dockerized_python
Auto commit by PR queue bot
2015-12-19 10:52:15 -08:00
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
Federico Gimenez
b677d94bb9 Added --allow-privileged flag to kubelet and apiserver init command 2015-12-19 15:47:41 +01: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
Filip Grzadkowski
f6fce5cd43 Push docker images during the release. 2015-12-18 16:08:44 +01: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
Carles Lopez
c8beaac51d Add root device detection to boot correctly 2015-12-17 13:33:00 +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
gmarek
d62b910c88 Enable Masters Kubelet registration in gce-test by default 2015-12-08 10:28:09 +01: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
k8s-merge-robot
f71f418a37 Merge pull request #18060 from brendandburns/startup
Auto commit by PR queue bot
2015-12-05 23:36:27 -08:00
k8s-merge-robot
ffd5725690 Merge pull request #18008 from ZJU-SEL/multi-nic
Auto commit by PR queue bot
2015-12-05 05:50:33 -08:00
Kevin
4136219d8b centos baremetal: fix centos baremetal kube-up failure and update default download k8s version to v1.1.1 2015-12-05 10:25:54 +08:00
Brendan Burns
15aa0c4415 Add a facility for custom user startup scripts via env variable 2015-12-04 16:13:24 -08:00
Andy Zheng
816b29536a Prepare kube-system pods manifest for trusty nodes.
This change refactors the code of preparing kube-system manifests
for trusty based cluster. The manifests used by nodes do not contain
salt configuration, so we can simply copy them from the directory
cluster/saltbase/salt, make a tarball, and upload to Google Storage.
2015-12-04 15:43:29 -08:00
Brendan Burns
9c0897e98b Fix the scripts to handle master/minion salt setups (e.g. AWS) 2015-12-04 12:52:43 -08:00
Brendan Burns
11635afc2f Merge pull request #18176 from brendandburns/aws2
Fix an incorrect reference to the directive that installs docker
2015-12-03 16:21:28 -08:00
Brendan Burns
b4c4a045f7 Fix an incorrect reference to the directive that installs docker 2015-12-03 15:06:33 -08:00
k8s-merge-robot
163b521250 Merge pull request #17024 from eosrei/vagrant-node-rename
Auto commit by PR queue bot
2015-12-03 14:41:28 -08:00
k8s-merge-robot
8c182c2713 Merge pull request #18002 from wiwiwa/systemd
Auto commit by PR queue bot
2015-12-03 09:18:48 -08:00
He Simei
cab6c13ea2 ubuntu with multi-nic 2015-12-03 15:31:15 +08:00
samuel shan
c55ab7d63e ubuntu: skip download binaries if specified version exists 2015-12-03 10:37:02 +08: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
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
b69018eab2 Merge pull request #17844 from eosrei/kube-util-minion-node
Auto commit by PR queue bot
2015-12-02 03:06:27 -08:00
Mike Danese
e2c5c898fb move vagrant to masterless salt 2015-12-01 15:53:50 -08:00
k8s-merge-robot
11574ee990 Merge pull request #17925 from mikedanese/tmp-fix
Auto commit by PR queue bot
2015-12-01 14:43:37 -08:00
k8s-merge-robot
7644d34759 Merge pull request #15775 from mesosphere/sur-k8sm-482-resource-roles
Auto commit by PR queue bot
2015-12-01 05:36:52 -08:00
k8s-merge-robot
bb86936765 Merge pull request #17803 from davidsiefert/master
Auto commit by PR queue bot
2015-12-01 02:15:11 -08:00
k8s-merge-robot
1dc513d390 Merge pull request #17997 from mesosphere/conformance-script-wrapper
Auto commit by PR queue bot
2015-12-01 00:23:45 -08:00
k8s-merge-robot
7bcd7759fa Merge pull request #17814 from themez/master
Auto commit by PR queue bot
2015-12-01 00:22:51 -08:00
k8s-merge-robot
53a544d980 Merge pull request #17614 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-11-30 20:16:17 -08:00
Karl Isenberg
f7248ab393 Add cluster/test-conformance.sh script
- Add support for passing args to conformance tests
2015-11-30 18:47:38 -08:00
k8s-merge-robot
290112bce6 Merge pull request #16841 from jiangyaoguo/keep-kubeproxy-hostname-consistent-with-kubelet
Auto commit by PR queue bot
2015-11-30 18:26:21 -08:00
k8s-merge-robot
794f162ef0 Merge pull request #16662 from linux-on-ibm-z/master
Auto commit by PR queue bot
2015-11-30 17:54:41 -08:00
Prashanth Balasubramanian
c553b15534 Ingress test revamp
Fixes a number of harder issues the initial test punted on.
2015-11-30 11:29:04 -08:00
Steve Sloka
034ecbd300 Gave pods their own cache store 2015-11-30 11:21:44 -05:00
Mike Danese
7c413790df don't unpack salt in tmpfs 2015-11-29 18:36:38 -08:00
jiangyaoguo
a739fc44c4 keep kubeproxy hostname consistent with kubelet 2015-11-28 10:47:29 +08:00
Harry Zhang
eae12de67c Use vxlan as default backend 2015-11-27 14:24:14 +00:00
Brad Erickson
0bd16e0437 Minion->Node rename: kube-util hosting provider helper functions 2015-11-26 09:31:46 -08:00
k8s-merge-robot
777f24b6c5 Merge pull request #17629 from brendandburns/arm
Auto commit by PR queue bot
2015-11-26 06:01:04 -08:00
k8s-merge-robot
0c4f302e5e Merge pull request #17601 from eosrei/shell-var-MINION-to-NODE
Auto commit by PR queue bot
2015-11-26 05:02:44 -08:00
gajju26
94093d9cbc Added support for IBM z Systems architecture (s390x) 2015-11-26 11:25:04 +05:30
ThemeZ
3342e4e1d3 Correct s3 url base for region "cn-north-1" 2015-11-26 11:37:28 +08:00
David Siefert
94d32588f4 Extracting more functions for reuse out of kube-up 2015-11-25 17:29:30 -06:00
Aaron Levy
5c72696aad explicitly check "Ready" condition in validate-cluster 2015-11-25 11:53:32 -08:00
Marek Grabowski
62009344cc Merge pull request #17761 from gmarek/flannel
Rebase of @bprashant Flannel out of the box
2015-11-25 16:04:35 +01:00
k8s-merge-robot
e95e3dec42 Merge pull request #17414 from timstclair/apiserver
Auto commit by PR queue bot
2015-11-25 05:28:07 -08:00
Brad Erickson
a506030e63 Minion->Node rename: PREEMPTIBLE_NODE 2015-11-25 00:45:10 -08:00
Brad Erickson
53172a5356 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
Brad Erickson
e67be19a5b Minion->Node rename: OLD_NODE_TAG, NODE_TAG 2015-11-25 00:45:09 -08:00
Brad Erickson
bd06c19aa8 Minion->Node rename: NODE_SIZE 2015-11-25 00:45:09 -08:00
Brad Erickson
8431993a44 Minion->Node rename: NODE_SG_ID, NODE_SG_NAME 2015-11-25 00:45:09 -08:00
Brad Erickson
1846cfc129 Minion->Node rename: NODE_ROOT_DISK_SIZE, NODE_ROOT_DISK_TYPE, etc
NODE_SCOPES
2015-11-25 00:45:09 -08:00
Brad Erickson
fc04b55088 Minion->Node rename: NODE_NAMES, NODE_NAME, NODE_PORT 2015-11-25 00:45:09 -08:00
Brad Erickson
6fe68a737e Minion->Node rename: NODE_IP_BASE, NODE_IP_RANGES, NODE_IP_RANGE, etc
NODE_IPS
NODE_IP
NODE_MEMORY_MB
2015-11-25 00:45:09 -08:00
Brad Erickson
83ed2fa22e Minion->Node rename: NODE_DISK_SIZE, NODE_DISK_TYPE, NODE_HOSTNAME, etc
NODE_IDS
NODE_ID
NODE_IMAGE_PROJECT
NODE_IMAGE
2015-11-25 00:45:09 -08:00
Brad Erickson
a36d3390bf Minion->Node rename: KUBERNETES_NODE_MEMORY, VAGRANT_NODE_NAMES, etc
ENABLE_NODE_PUBLIC_IP
NODE_ADDRESS
NODE_BLOCK_DEVICE_MAPPINGS
NODE_CONTAINER_ADDRS
NODE_CONTAINER_NETMASKS
NODE_CONTAINER_SUBNET_BASE
NODE_CONTAINER_SUBNETS
NODE_CPU
2015-11-25 00:43:52 -08:00
Brad Erickson
ae314ad246 Minion->Node rename: KUBE_NODE_IP_ADDRESSES, KUBE_NODE_IP_ADDRESS 2015-11-25 00:43:52 -08:00
Brad Erickson
68539ae8a4 Minion->Node rename: KUBE_NODE_IMAGE 2015-11-25 00:43:51 -08:00
Brad Erickson
6b91b45eff Minion->Node rename: IAM_PROFILE_NODE, KUBE_ENABLE_NODE_PUBLIC_IP, etc
KUBE_GCE_NODE_IMAGE, KUBE_GCE_NODE_PROJECT, KUBEMARK_NUM_NODES
2015-11-25 00:43:51 -08:00
Prashanth Balasubramanian
9aa0efa393 Turn flannel off by default 2015-11-25 09:43:48 +01:00
Prashanth Balasubramanian
ad2d3d4c20 Docs etc 2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian
321bc73264 Flannel server in static pod with private etcd. 2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian
7aa8ebe30f Flannel handshakes with kubelet. 2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian
4cd1ee177b Salt configuration for flanneld 2015-11-25 09:42:59 +01:00
Marek Grabowski
7f72d18550 Revert "Salt changes to enable using non-default Kubelet port" 2015-11-25 09:15:36 +01:00
k8s-merge-robot
2a92571190 Merge pull request #17428 from azr/master
Auto commit by PR queue bot
2015-11-24 20:11:08 -08:00
k8s-merge-robot
60b628a6d6 Merge pull request #17375 from gmarek/kubelet-port-salt
Auto commit by PR queue bot
2015-11-24 19:39:57 -08:00
k8s-merge-robot
4fd6b6df06 Merge pull request #17316 from deads2k/gv-ClientForVersion
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
k8s-merge-robot
367f0e03dd Merge pull request #17621 from mikedanese/cleanup-kube-proxy-cgroup
Auto commit by PR queue bot
2015-11-23 15:23:23 -08:00
Brendan Burns
d2dbe56820 Add linux/arm to the list of server builds 2015-11-23 13:55:56 -08:00
k8s-merge-robot
46924670d9 Merge pull request #15300 from kevin-wangzefeng/centos_baremetal_auto_troubleshooting
Auto commit by PR queue bot
2015-11-23 13:41:22 -08:00
Tim St. Clair
20ead45af9 Move etcd_util.go to separate package 2015-11-23 11:32:50 -08:00
Mike Danese
65b8d43543 remove code that puts kube-proxy into a special cgroup since it runs in a container now 2015-11-23 10:20:58 -08:00
Sergiusz Urbaniak
9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
k8s-merge-robot
fb09627514 Merge pull request #17262 from brendandburns/hyperkube
Auto commit by PR queue bot
2015-11-23 07:49:34 -08:00
gmarek
3ffa01d7cd Salt changes to enable using non-default Kubelet port 2015-11-23 16:02:46 +01:00
k8s-merge-robot
2371cdaac4 Merge pull request #17419 from ZJU-SEL/fix-ubuntu-etcd-flag
Auto commit by PR queue bot
2015-11-23 03:19:17 -08:00
k8s-merge-robot
87527fe40f Merge pull request #17606 from mikedanese/unused
Auto commit by PR queue bot
2015-11-21 20:47:16 -08:00
k8s-merge-robot
e47a0b3733 Merge pull request #17240 from yifan-gu/gce_util
Auto commit by PR queue bot
2015-11-21 11:22:12 -08:00
deads2k
a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
He Simei
e0bcf11abf upgrade k8s to v1.1.2 on ubuntu 2015-11-21 11:29:41 +08:00
He Simei
5ebff99dbf fix etcd flag for ubuntu 2015-11-21 10:17:07 +08:00
Mike Danese
a29350e40d delete unused files 2015-11-20 16:17:19 -08:00
Brendan Burns
ce90b83689 Update some flags 2015-11-20 11:47:31 -08:00
k8s-merge-robot
ac65782e03 Merge pull request #17121 from mikedanese/kube-proxy-static
Auto commit by PR queue bot
2015-11-20 07:19:26 -08:00
k8s-merge-robot
1a57cc8033 Merge pull request #15777 from mesosphere/sttts-replace-ssh-by-net-host-container
Auto commit by PR queue bot
2015-11-20 02:19:25 -08:00
He Simei
208d65ab59 kube-down gracefully 2015-11-19 15:38:27 +08:00
k8s-merge-robot
b2ede0872f Merge pull request #17055 from ZJU-SEL/clean-up-ubuntu-deployment
Auto commit by PR queue bot
2015-11-18 23:23:29 -08:00
Mike Danese
1d9d11c836 run kube-proxy in a static pod 2015-11-18 16:52:10 -08:00
Mike Danese
ae05eed14a add a way to discover git version from a built release 2015-11-18 11:11:50 -08:00
Adrien Delorme
f64024e245 Allow to specify the type of minion disks on GCE 2015-11-18 14:39:42 +01:00
He Simei
cc9fff8e92 fix kube-up workflow 2015-11-18 14:54:32 +08:00
He Simei
b836f0cf85 fix messy quote thing 2015-11-18 09:47:33 +08:00
Yifan Gu
9bf6bc1817 cluster/gce: Move build-kube-env to util.sh
This allows all 3 distros(coreos, debian, trusty) to share the same
build-kube-env.
2015-11-17 17:23:04 -08:00
Dr. Stefan Schimanski
2d6c2eb897 e2e: replace ssh with net=host hostexec pod and kubectl exec
- document needed packages in hostexec image
- add RunHostCmdOrDie
- kube-proxy e2e: port from ssh to hostexec
  - use preset NodeName to schedule test pods to different nodes
  - parallel launch of pods
  - port from ssh to hostexec
  - add timeout because nc might block on udp
  - delete test container without grace period
- PrivilegedPod e2e: port from ssh to hostexec
- NodePort e2e: port from ssh to hostexec
- cluster/mesos/docker: Enable privileged pods
2015-11-17 20:48:34 +01:00
gmarek
21e9401a71 Update kubemark/config-default.sh 2015-11-17 14:10:41 +01:00
k8s-merge-robot
840f3dad53 Merge pull request #16960 from andyzheng0831/trusty
Auto commit by PR queue bot
2015-11-17 01:21:15 -08:00
He Simei
8749638b9e clean up deployment script for ubuntu 2015-11-17 09:29:34 +08:00
k8s-merge-robot
d8ee518859 Merge pull request #17337 from bigeasy/aws-runtime_config
Auto commit by PR queue bot
2015-11-16 17:05:46 -08:00
k8s-merge-robot
a999c0fbe4 Merge pull request #13943 from mesosphere/static-pods
Auto commit by PR queue bot
2015-11-16 13:53:23 -08:00
Alan Gutierrez
c1c789aea6 Fix generation of master minion.d/grains.conf.
Remove a comment that disabled the redirection of output destined for
`/etc/salt/minion.d/grains.conf`. Must have been a commented added to
debug the generation of the line, to view it on `STDOUT`.
2015-11-16 16:37:56 -05:00
k8s-merge-robot
3a07af0b28 Merge pull request #17317 from idvoretskyi/patch-3
Auto commit by PR queue bot
2015-11-16 10:46:50 -08:00
k8s-merge-robot
ebe5649939 Merge pull request #16824 from mattmoor/master
Auto commit by PR queue bot
2015-11-16 09:12:35 -08:00
Ihor Dvoretskyi
1f54866e8a Update get-kube.sh with libvirt provider
Update get-kube.sh with libvirt provider (with CoreOS as a guest operating system) - https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/libvirt-coreos.md
2015-11-16 18:14:11 +02:00
k8s-merge-robot
1bcf03f3fb Merge pull request #16646 from aalexand/dns-poll
Auto commit by PR queue bot
2015-11-16 03:57:24 -08:00
k8s-merge-robot
96ae38c036 Merge pull request #16802 from extesy/patch-1
Auto commit by PR queue bot
2015-11-15 06:07:10 -08:00
Matt Moore
b750d1dddc Drop the beta for GCR v2 images.
beta.gcr.io is no longer needed to pull through v2.
2015-11-14 12:19:02 -08:00
Andy Zheng
5ca070478e Refactor cluster/gce/trusty/node.yaml
The node.yaml has some logic that will be also used by the kubernetes
master on trusty work (issue #16702). This change moves the code
shared by the master and node configuration to a separate script, and
the master and node configuration can source it to use the code.
Moreover, this change stages the script for GKE use.
2015-11-13 16:46:55 -08:00
James DeFelice
3d3577b9f3 rewrite of static pod json zipper
- add busybox static pod to mesos-docker cluster
- customize static pods with binding annotations
- code cleanup
- removed hacky podtask.And func; support minimal resources for static pods when resource accounting is disabled
- removed zip archive of static pods, changed to gzip of PodList json
- pod utilities moved to package podutil
- added e2e test
- merge watched mirror pods into the mesos pod config stream
2015-11-13 23:30:26 +00:00
Dr. Stefan Schimanski
3009555dd5 cluster/mesos/docker: increase dind loop device size to 10GB
For the conformance tests 5 GB turned out to be not enough.
2015-11-13 19:41:57 +01:00
k8s-merge-robot
abbed4f7e8 Merge pull request #17029 from mesosphere/sttts-enforce-log-dump
Auto commit by PR queue bot
2015-11-13 10:22:57 -08:00
k8s-merge-robot
ec61441a80 Merge pull request #17159 from 2opremio/17157-socat-hyperkube-container
Auto commit by PR queue bot
2015-11-12 23:41:09 -08:00
Derek Parker
909fba00a5 docs: fix typo 2015-11-12 11:45:04 -08:00
Dr. Stefan Schimanski
58f57f8a18 Move MESOS_DOCKER_SKIP_BUILD default to config-default.sh 2015-11-12 14:15:43 +01:00
Dr. Stefan Schimanski
3d2ae0e67f Move MESOS_DOCKER_DUMP_LOGS default to config-default.sh 2015-11-12 14:14:48 +01:00
Alfonso Acosta
a9465e77c7 Add socat command to hyperkube image
This is needed to for port forwarding to work in kubelet.
2015-11-12 12:39:35 +00:00
k8s-merge-robot
440bdd27d5 Merge pull request #17087 from justinsb/aws_delete_ebs
Auto commit by PR queue bot
2015-11-12 01:17:40 -08:00
k8s-merge-robot
eee8af8991 Merge pull request #17089 from justinsb/aws_refactor_script_size
Auto commit by PR queue bot
2015-11-12 01:17:37 -08:00
Dr. Stefan Schimanski
b502032b42 Add MESOS_DOCKER_DUMP_LOGS to enforce log dumping 2015-11-12 01:33:29 +01:00
k8s-merge-robot
b873dce298 Merge pull request #16006 from paralin/remove-experimental-api-env
Auto commit by PR queue bot
2015-11-11 16:23:35 -08:00
k8s-merge-robot
142eae0f78 Merge pull request #14912 from thaerlo/master
Auto commit by PR queue bot
2015-11-11 02:17:38 -08:00
k8s-merge-robot
b7d4f55df2 Merge pull request #16187 from brendandburns/heapster
Auto commit by PR queue bot
2015-11-11 01:46:35 -08:00
k8s-merge-robot
2c73e43002 Merge pull request #16972 from pmorie/kubelet-makefile
Auto commit by PR queue bot
2015-11-10 23:31:14 -08:00
Justin Santa Barbara
875e3d49df AWS: Create a helper to set salt grain from env var
This is better from a DRY standpoint.

This helps reduce the script size, so we have a little bit of breathing
room vs the 16KB limit.
2015-11-10 23:50:51 -05:00
Justin Santa Barbara
d5f62ca67b AWS: Don't use JSON parsing in kube-up
We use the AWS CLI support for --query and --filter instead; should be
more reliable and clearer.

Also set the output format to text, so we don't have to set it every
time and don't risk problems if we forget to set it.

Fixes #16747

We do still have to use JSON parsing in one place: ELB does not support
--filter, so we have to use Python there.
2015-11-10 23:30:42 -05:00
Christian Stewart
d61d57adec
Remove ENABLE_EXPERIMENTAL_API and similar in favor of KUBE_RUNTIME_CONFIG.
Addresses #15968

This patch removes KUBE_ENABLE_EXPERIMENTAL_API and similar calls in
favor of specifying desired features in KUBE_RUNTIME_CONFIG. Changes
have also been made to e2e scripts to re-enable using
KUBE_RUNTIME_CONFIG rather than EXPERIMENTAL_API env vars.

This also introduces KUBE_ENABLE_DAEMONSETS and KUBE_ENABLE_DEPLOYMENTS.

Signed-off-by: Christian Stewart <christian@paral.in>
2015-11-10 21:36:34 -05:00
k8s-merge-robot
23cd7d0251 Merge pull request #17067 from mesosphere/jdef_ignore_mesos_docker_km_overlay
Auto commit by PR queue bot
2015-11-10 15:41:26 -08:00
Brendan Burns
bd65c733b3 Add some more retry... 2015-11-10 13:06:12 -08:00
k8s-merge-robot
fb7520153d Merge pull request #16921 from buzzy/master
Auto commit by PR queue bot
2015-11-10 12:01:51 -08:00
k8s-merge-robot
18c74de9a8 Merge pull request #16986 from pmorie/gce-sc
Auto commit by PR queue bot
2015-11-10 11:15:27 -08:00
k8s-merge-robot
6fbae33eb1 Merge pull request #16918 from justinsb/aws_fix_kubedown_no_instances
Auto commit by PR queue bot
2015-11-10 11:11:56 -08:00
James DeFelice
8cb3e2191e added .gitignore for ignoring generated binaries in cluster/mesos/docker/km/overlay 2015-11-10 18:52:55 +00:00
Harry Zhang
88f65d5dfb Declare function-specific variables with local 2015-11-08 09:20:21 +00:00
k8s-merge-robot
8fd069ded2 Merge pull request #16850 from ZJU-SEL/set-kubectl-path
Auto commit by PR queue bot
2015-11-08 00:15:20 -08:00
Prashanth B
17c5c0922b Merge pull request #16932 from bprashanth/ing_docs
Ingress doc clarifications
2015-11-07 17:07:27 -08:00
Paul Morie
0ac50b4ba6 Revert "Delete Makefile as it is useless"
This reverts commit 8bf5a50439.
2015-11-07 14:19:22 -05:00
k8s-merge-robot
7d7aa9ec1f Merge pull request #16939 from ihmccreery/versioning-cleanup
Auto commit by PR queue bot
2015-11-07 09:21:24 -08:00
k8s-merge-robot
157f663f5b Merge pull request #16867 from justinsb/aws_log_upload_urls
Auto commit by PR queue bot
2015-11-07 00:00:28 -08:00
He Simei
ba5b65ece2 set valid kubectl path for ubuntu 2015-11-07 10:47:18 +08:00
k8s-merge-robot
da158f9bcf Merge pull request #16922 from justinsb/aws_update_vivic
Auto commit by PR queue bot
2015-11-06 13:01:17 -08:00
Prashanth Balasubramanian
10d1d4c791 Ingress doc clarifications 2015-11-06 12:01:52 -08:00
Isaac Hollander McCreery
e5449f7d42 Cleanup for versioning 2015-11-06 11:35:16 -08:00
k8s-merge-robot
b719d7a45e Merge pull request #15070 from justinsb/aws_print_region_if_not_matching
Auto commit by PR queue bot
2015-11-06 10:31:29 -08:00