228 Commits

Author SHA1 Message Date
Brendan Burns
480e21f973 Fix etcd unpack by adding a explicit x flag. 2014-11-19 12:14:46 -08:00
Joe Beda
1fbd3b524e Fix typo in README
(cherry picked from commit dba0f2d661)
2014-11-10 15:15:14 -08:00
Joe Beda
ae0e190d99 Install Salt from debs on GCS.
Also make downloading more reliable and run 'highstate' after install for good measure.  As part of this we no longer use gsutil to download and have to make 'staged' binaries in GCS publicly readable.

(cherry picked from commit 887c9b18d6)
2014-11-10 15:14:24 -08:00
Joe Beda
06b7ba118b Load etcd tarball from GCS.
Also fix up comment about how to cache docker debs.

(cherry picked from commit d033dfcc2b)
2014-11-10 13:50:00 -08:00
Joe Beda
d807348e3d Get docker deb from GCS.
Also lock to 1.3.0 due to issues in 1.3.1 (docker/docker#8889)

(cherry picked from commit 29455398e6)
2014-11-01 15:31:49 -07:00
Pieter Noordhuis
da405a4e6b Limit GCE specific mods to GCE
(cherry picked from commit 918c8e2b96)
2014-10-29 17:20:28 -07:00
Pieter Noordhuis
41eb5c1d82 Move customizations of /srv/salt to overlay
Also see #1783.

(cherry picked from commit 5b22dd7631)
2014-10-29 17:20:28 -07:00
Pieter Noordhuis
e8b6017bf2 Fix kube-push
(cherry picked from commit 5ba3a551f9)
2014-10-29 17:20:28 -07:00
Pieter Noordhuis
f36f91f962 Add 'portal_net' parameter to pillar
In preparation for #1402.

(cherry picked from commit fa24face8c)
2014-10-29 17:20:28 -07:00
Pieter Noordhuis
4819b94f2e Copy release tars with scp
This displays a progress report, so any slowness can be attributed.

(cherry picked from commit 4a13d752ed)
2014-10-29 17:20:28 -07:00
Pieter Noordhuis
db5b1f31a4 Rely on ssh-agent for key management
(cherry picked from commit a1c40922e0)
2014-10-29 17:20:28 -07:00
Pieter Noordhuis
88ef872258 Split reactor files
There now are reactor files to run highstate on:

* New nodes only
* Master nodes
* Minion nodes

(cherry picked from commit 1152471db7)
2014-10-29 17:20:28 -07:00
Pieter Noordhuis
ee48922908 Make vSphere scripts work for binary deploys
Fixes #1732.

(cherry picked from commit e90f98a52c)
2014-10-29 17:20:27 -07:00
Brendan Burns
bde9f25cc1 Fix the etcd md5 since they uploaded a new binary. 2014-10-29 11:37:25 -07:00
Joe Beda
c69c84dd9f Turn on auto security updates for debian based systems.
Fixes #2008

(cherry picked from commit 8100c063b8)
2014-10-27 16:51:23 -07:00
derekwaynecarr
28356281ab Do not require a writeable /vagrant
(cherry picked from commit 0d86be680b)
2014-10-27 16:50:51 -07:00
Ryan Richard
41521df489 Remove extra newline and update comments in util.sh
(cherry picked from commit d513854851)
2014-10-27 16:49:07 -07:00
Ryan Richard
b35513a323 Migrate Rackspace upload scripts to util.sh
The functions to upload built k8s tars to Cloud Files were incorrectly
placed in build/common.sh. These have been migrated to
cluster/rackspace/util.sh

(cherry picked from commit a26aefaa2e)
2014-10-27 16:49:03 -07:00
Ryan Richard
f9d23e63c8 remove hardcoded cloudfiles path and fix PORTAL_NET
(cherry picked from commit 0bfb5ae772)
2014-10-27 16:48:59 -07:00
Ryan Richard
8adf3638e9 Add Rackspace to build/release.sh
Updates to the build/release.sh scripts to upload build binaries to
Cloud Files.

(cherry picked from commit f2838483a1)
2014-10-27 16:48:53 -07:00
Ryan Richard
61482d8c80 Rackspace - Switch to CoreOS for standard cluster
The Rackspace setup for Kubernetes now leverages CoreOS instead of Ubuntu. We've dropped Salt completely for our cluster.

(cherry picked from commit a8bae68865)
2014-10-27 16:48:24 -07:00
Dawn Chen
143f33fd65 Set --ip-masq to false
(cherry picked from commit baf3bea79a)
2014-10-17 15:02:13 -07:00
Joe Beda
9bb20b41ee Break out dynamic salt files to enable clean kube-push.
This lets us blow away salt files and replace them with a new version while keeping a tree of "overlay" files that are cluster specific and generated at cluster up time.

Fixes #1783
2014-10-14 15:01:43 -07:00
derekwaynecarr
b8d2f08192 Fix race condition in start-up of salt-minion and salt-master 2014-10-14 12:41:45 -04:00
Joe Beda
b2395c76f2 Have build/make-cross.sh copy binaries back over if using boot2docker.
Also clarified error message in cluster/kubecfg.sh.
2014-10-11 07:24:12 -07:00
Joe Beda
e397371b95 Fix up project hash on linux
Somehow this got dropped!
2014-10-10 14:24:35 -07:00
Joe Beda
96c1bc17ca Set shell options for reliability.
Tweak a few other small things in our shell scripts.
2014-10-10 12:33:36 -07:00
Joe Beda
d43a6ec5a3 Standardize how we refer to the kubernetes root.
Now use $KUBE_ROOT as the variable pretty much everywhere.
2014-10-10 12:33:36 -07:00
Joe Beda
38d5906044 Clean up READMEs and broken stuff.
Move all support for clouds that are broken with this change into an `icebox` directory.  We'll move that stuff back out as we fix it up.
2014-10-10 12:33:36 -07:00
Joe Beda
db14944f61 Fix up kubecfg.sh script to find correct binary. 2014-10-10 12:30:12 -07:00
Joe Beda
881cf80182 Vagrant now using pre-built binaries. 2014-10-10 12:30:12 -07:00
Joe Beda
15cd6f07d6 Use binary releases for cluster push scripts.
This is for GCE right now.  Other clouds/clusters are probably broken.
2014-10-10 12:30:11 -07:00
Joe Beda
9a8807b033 get.docker.com is now the preferred place to get Docker
Update salt configs
2014-10-09 12:31:53 -07:00
Danny Jones
4ec25f3b81 Adds support for attaching GCEPersitentDisks
Adds GCEPersistentDisk volume struct
Adds gce-utils to attach disk to kubelet's VM.
Updates config to give compute-rw to every minion.
Adds GCEPersistentDisk to API
Adds ability to mount attached disks
Generalizes PD and adds tests.
PD now uses an pluggable API interface.
Unit Tests more cleanly separates TearDown and SetUp
Modify boilerplate hook to omit build tags
Adds Mounter interface; mount is now built by OS
TearDown() for PD now detaches disk on final refcount
Un-generalized PD; GCE calls moved to cloudprovider

Address comments.
2014-10-08 20:03:59 -07:00
Joe Beda
0de2ef496e Merge pull request #1595 from thockin/flageq
Use '=' for flags or else parsing gets confused sometimes
2014-10-06 13:14:35 -07:00
Tim Hockin
440d14c239 Use '=' for flags or else parsing gets confused sometimes 2014-10-06 12:25:56 -07:00
Deyuan Deng
253907ab04 Add etcdctl in master 2014-10-04 11:26:01 -04:00
Joe Beda
90800bdc43 Merge pull request #1544 from justinlindh/configurable-sleep-interval
Add configurable sleep between polling intervals for GCE status
2014-10-03 09:36:39 -07:00
derekwaynecarr
1567ac0d74 Do not verify certs against vagrant 2014-10-02 15:38:16 -04:00
Justin Lindh
4f31b1918f Add configurable sleep between polling intervals for GCE status 2014-10-02 12:47:40 -06:00
Joe Beda
c323179d9b Don't print Kubernetes username/password to console.
It is too easy to copy/paste this on-line.

Fixes #1483
2014-09-29 13:18:29 -07:00
Joe Beda
648a400e36 Merge pull request #1492 from jbeda/backports-fix
Change back to generic image description now that GCE is fixed.
2014-09-29 12:27:51 -07:00
Jeff Mendoza
9eefbab575 Update default image used for Azure.
Fixes CVE-2014-6271.
Still vulnerable to CVE-2014-7169.
2014-09-29 11:43:10 -07:00
Joe Beda
7cadeb2af3 Change back to generic image description now that GCE is fixed. 2014-09-29 11:30:39 -07:00
Joe Beda
4ae3fa521e For GCE hard code backports image version as autodetection is currently broken. 2014-09-29 10:31:34 -07:00
Joe Beda
81e91db697 Grab images as part of update e2e test 2014-09-26 14:31:12 -07:00
Brendan Burns
77d13db307 Fix the vagrant build. 2014-09-26 14:02:56 -07:00
Joe Beda
b3e7fd4209 Be more robust in how we pass flags.
Using the '=' form of a flag makes things better if we have an empty list of machines.
2014-09-25 11:52:18 -07:00
Brendan Burns
511ec280b9 Add a new network for e2e tests, to isolate it from any other cluster. 2014-09-24 22:37:19 -07:00
Brendan Burns
e21f5f7c8f Fix the scripts. 2014-09-24 11:04:25 -07:00