Zach Loafman
86468cd29d
Revert "Added kube-proxy token."
2015-04-22 10:55:08 -07:00
Zach Loafman
0e3e502d52
Fix unbound variable after #7146
2015-04-22 10:19:53 -07:00
Zach Loafman
42e1710ccf
Fix build after #7146
2015-04-22 10:11:19 -07:00
Zach Loafman
c9988db0ee
Merge pull request #7146 from brendandburns/get-k8s
...
Extend the get-cluster.sh script to use sudo if necessary.
2015-04-22 09:58:07 -07:00
Brendan Burns
42121d1809
Extend the get-cluster.sh script to use sudo if necessary.
2015-04-22 09:52:44 -07:00
Zach Loafman
854c20c5e2
Merge pull request #7113 from erictune/kube-proxy-token
...
Added kube-proxy token.
2015-04-22 09:16:04 -07:00
Brendan Burns
78dabbdb7f
Fix the ssh-to-node to actually fail on failures.
2015-04-21 15:27:38 -07:00
Brendan Burns
71e6b05825
Fix kube-apiserver restart.
2015-04-21 15:11:00 -07:00
Brendan Burns
9d715226d6
Fix kube-apiserver restart.
2015-04-21 13:59:26 -07:00
Eric Tune
2ca8a9d15d
Added kube-proxy token.
...
Generates the new token on AWS, GCE, Vagrant.
Renames instance metadata from "kube-token" to "kubelet-token".
(Is this okay for GKE?)
Having separate tokens for kubelet and kube-proxy permits
using principle of least privilege, makes it easy to
rate limit the clients separately, allows annotation
of apiserver logs with the client identity at a finer grain
than just source-ip.
2015-04-21 09:21:31 -07:00
Jeff Lowdermilk
196b3d066d
Merge pull request #6919 from zmerlynn/sharded-e2e
...
Add hack/parallel-e2e.sh to run hack/e2e.go on multiple clusters
2015-04-20 11:34:18 -07:00
Zach Loafman
68c9191cfc
Allow CLUSTER_IP_RANGE/MINION_IP_RANGE to be overridden by KUBE_GCE_CLUSTER_CLASS_B
2015-04-20 11:17:21 -07:00
Jeff Lowdermilk
4f6dc99075
Generate kubeconfig for all providers in cluster/ that use auth
2015-04-20 11:07:35 -07:00
Robert Bailey
eb1ea26995
Merge pull request #7012 from jlowdermilk/export-kubeconfig
...
export KUBECONFIG so callers of common.sh functions can use it
2015-04-17 16:37:10 -07:00
Jeff Lowdermilk
1c265f3784
export KUBECONFIG so callers of common.sh functions can use it
2015-04-17 16:22:07 -07:00
Brian Grant
2775b9e0de
Merge pull request #6998 from zmerlynn/make_reboot_work
...
Make reboots work on GCE/GKE
2015-04-17 16:10:32 -07:00
Zach Loafman
bcb63642b8
Make reboots work on GCE/GKE
...
* Fixes an issue where salt-minion would actually come up after reboot
(upstart is horrible obnoxious)
* Caches .deb downloads
* Handles PD remount on reboot correctly
* Notes a future optimization
Fixes #5666
2015-04-17 12:12:00 -07:00
Zach Loafman
aca8452a21
Merge pull request #6994 from cjcullen/staticip
...
Reserve Master IP before creating Master VM
2015-04-17 11:48:48 -07:00
CJ Cullen
6a3c809833
Reserve Master IP before creating Master VM.
2015-04-17 11:36:00 -07:00
Zach Loafman
05d8e96cd4
Push the configure-vm.sh script when we push metadata
...
This is needed when we upgrade (and useful when you're trying to
change the startup script for reboots).
Along the way: allow add-instance-metadata[-from-file] to take a
variable number of KVs.
2015-04-17 11:27:48 -07:00
Jeff Lowdermilk
2a8291a67e
Retry Move KUBECONFIG to common.sh, change default to new location
2015-04-17 10:33:12 -07:00
Robert Bailey
723f2941e8
Revert "Move KUBECONFIG into common.sh, change default to new location"
2015-04-16 22:17:11 -07:00
Jeff Lowdermilk
5ce9b07cbe
Move KUBECONFIG declaration into common.sh, change default to new location
2015-04-16 19:23:35 -07:00
Wojciech Tyczynski
4094505f84
Enable configuring size of minion disk
2015-04-15 11:19:43 +02:00
Brendan Burns
5df4d927b9
We have had user reports that look like hash conflicts. Expand the has to 10 digits.
2015-04-08 21:51:50 -07:00
Rohit Jnagal
13b805fe1e
Merge pull request #6504 from ghodss/gce-customize-minion-size
...
Make minion disk size in GCE kube-up customizable
2015-04-07 08:36:43 -07:00
Sam Ghods
6ec32bf16c
Make minion disk size in GCE kube-up customizable
2015-04-06 21:47:45 -07:00
Fabio Yeon
fd7db14df0
Add local file option to "upgrade.sh".
2015-04-06 16:30:15 -07:00
Zach Loafman
616c6be653
Refactor the "gcloud compute instances create" call as well.
2015-04-06 08:35:02 -07:00
Zach Loafman
9e5fd874cc
First hack at upgrade script for GCE:
...
Address #6075 : Shoot the master VM while saving the master-pd. This
takes a couple of minor changes to configure-vm.sh, some of which also
would be necessary for reboot. In particular, I changed it so that the
kube-token instance metadata is no longer required after inception;
instead, we mount the master-pd and see if we've already created the
known tokens file before blocking on the instance metadata.
Also partially addresses #6099 in bash by refactoring the kube-push
path.
2015-04-05 11:42:34 -07:00
Filip Grzadkowski
0ffabfa9f7
Add ability to set master/minion size for GCE using envvar.
2015-04-03 11:36:05 +02:00
Eric Tune
59daeabaee
Make secrets at cluster startup.
...
These secrets will be used in subsequent PRs by:
scheduler, controller-manager, monitoring services,
logging services, and skydns.
Each of these services will then be able to stop using kubernetes-ro
or host networking.
2015-04-02 15:58:45 -07:00
CJ Cullen
5e6e67ba59
Add an alternative TokenSource to the GCE CloudProvider.
2015-04-01 17:52:30 -07:00
Jeff Lowdermilk
ce72839153
Merge pull request #6329 from mbforbes/fixUp
...
Fix pod that's looked for on kube up.
2015-04-01 17:51:37 -07:00
Alex Robinson
4f9b1c486f
Don't ever give up on retrying downloads in the GCE download-or-bust function.
2015-04-02 00:40:19 +00:00
Max Forbes
152a461f39
Fix pod that's looked for on kube up.
2015-04-01 17:28:04 -07:00
Jeff Grafton
0d382c03fc
Add missing } to fix cluster/gce/util.sh
2015-03-31 14:03:18 -07:00
Robert Bailey
fe00f7abd0
Merge pull request #6168 from brendandburns/docs
...
Auto-install gcloud and needed components, if necessary
2015-03-31 13:55:46 -07:00
Zach Loafman
6c219885e0
s/apiservers/api_servers/ in Salt
...
It looks like api_servers finally won this battle. Kill off the
last remaining places passing it, but allow the kubelet Salt to
accept apiservers for a period of time.
(This was bothering my OCD.)
2015-03-31 12:29:46 -07:00
Brendan Burns
98cdf04189
Auto-install gcloud if needed.
2015-03-31 12:10:35 -07:00
Victor Marmol
0c75f26a74
Merge pull request #6148 from zmerlynn/brctl_complaint
...
Fix "brctl: invalid command" message appearing in startup logs
2015-03-30 08:01:30 -07:00
Zach Loafman
b3636bba34
Fix "brctl: invalid command" message appearing in startup logs
...
We were actually failing to call brctl in configure-vm.sh. I finally
tracked it down to the attempt to delete the docker0 bridge. This
particular package was getting installed later by Salt anyways, so
all this PR is doing is moving the package install up from Salt to
bash.
Also adds some minor logging.
2015-03-29 18:30:33 -07:00
Zach Loafman
708553f0bb
GCE node salt: Use the master FQDN, not the master IP
...
This will allow us to upgrade the master by full re-provision, without
even bothering to reserve the IP.
2015-03-28 13:44:45 -07:00
Daniel Smith
525bbfd175
Merge pull request #6103 from zmerlynn/remove_gce_node_names
...
Remove the --machines SaltStack configuration on GCE
2015-03-27 17:55:16 -07:00
Zach Loafman
68ccb97907
Remove the --machines SaltStack configuration on GCE
...
Per https://github.com/GoogleCloudPlatform/kubernetes/issues/6072#issuecomment-87074456 , this is no longer necessary.
We now no longer need a static node list. Woo!
2015-03-27 14:44:19 -07:00
Brendan Burns
6fd376a04f
Fix the scripts to optionally skip prompts and also return successfully no matter what.
2015-03-27 13:53:26 -07:00
Brendan Burns
1aa2b97792
Revert "Revert "Update gce starting guide to use get.k8s.io""
...
This reverts commit b369f2b48f
.
2015-03-27 13:46:28 -07:00
Zach Loafman
b369f2b48f
Revert "Update gce starting guide to use get.k8s.io"
2015-03-26 19:36:25 -07:00
Brendan Burns
61b624457d
Update gce starting guide to use get.k8s.io
...
Also auto install gcloud if it's not present.
2015-03-26 16:08:56 -07:00
Max Forbes
ddb0a70481
Fix tiny salt logging line.
2015-03-26 14:37:51 -07:00