Eric Tune
8195f13b86
Merge pull request #9063 from piosz/cluster_upgrade
...
Refactored kube-push.sh script
2015-06-01 13:47:15 -07:00
Piotr Szczesniak
0142e4c9c2
Refactored kube-push.sh script
...
The script allows also to push binaries only to the master or specified node.
Added support for released tars.
Introduced new push methods and implemented them for GCE.
2015-06-01 21:21:00 +02:00
goltermann
4c19734b71
Fix kube-down errors for GCE
2015-05-29 14:12:22 -07:00
Tim Hockin
2c20c3664c
Merge pull request #8902 from brendandburns/fix
...
Turn off certificate checking for Mavericks, as the curl is borked.
2015-05-28 15:32:50 -07:00
Tim Hockin
4ac239499b
Merge pull request #8904 from justinsb/fix_8903
...
GCE kube-up; write the marker only after we have uploaded the file
2015-05-28 15:30:47 -07:00
Justin Santa Barbara
521cb0e85b
Pass arg lists to gcloud as comma-separated single arg
...
This should get rid of the scary warning messages on GCE up.
Fixes #8117
2015-05-28 00:36:13 -04:00
Justin Santa Barbara
dc11a5434a
GCE kube-up; write the marker only after we have uploaded the file
...
We can't write the marker before we upload the file, otherwise anything
that interrupts the upload will leave a corrupted upload that we believe
to be current.
2015-05-27 23:33:29 -04:00
Brendan Burns
e1c0e100b5
Turn off certificate checking for Mavericks, as the curl is borked.
2015-05-27 19:53:24 -07:00
Filip Grzadkowski
e2c4a01b60
Merge pull request #8808 from fgrzadkowski/fix_warnings
...
Fix WARNING during kube-push.sh
2015-05-26 08:29:04 -07:00
Filip Grzadkowski
8fe771b4a3
Fix WARNING during kube-push.sh
2015-05-26 17:04:57 +02:00
Filip Grzadkowski
5b03939b84
Fix WARNING when creating firewall during e2e tests
2015-05-25 09:46:24 +02:00
Justin Santa Barbara
ae80ed53cf
Automatically open NodePort firewall rules for e2e tests
2015-05-22 22:39:40 -04:00
Dawn Chen
677a4aa1a7
Merge pull request #8164 from cjcullen/cloudprovider
...
Route creation reconciler loop.
2015-05-22 12:27:50 -07:00
CJ Cullen
e6da5b9601
Make routecontroller_test less hacky.
...
Rename reconcilePodCIDRs to reconcileNodeCIDRs.
Add comments and TODOs about using controller framework.
2015-05-21 18:05:11 -07:00
CJ Cullen
0d12a15971
Route creation reconciler loop.
2015-05-20 14:21:30 -07:00
Max Forbes
3437ac691a
Rolling node upgrade
2015-05-19 11:42:34 -07:00
Robert Bailey
a236f04a5f
Remove newlines output by base64 on linux.
2015-05-14 15:39:26 -07:00
Robert Bailey
9ab41db7ea
Static cert distribution for GCE.
...
To make cert validation work, no longer use the
fqdn for the master name on the node VMs.
2015-05-14 11:59:13 -07:00
saadali
c118b6d603
Fix GCE kube-down incorrect MIG delete OpID
2015-05-13 15:06:43 -07:00
saadali
932cdd954d
Clean up GCE kube-down script by using set e
2015-05-12 16:58:22 -07:00
saadali
c5b1508774
Make MIG deletion during GCE kube down blocking, so that subseqent template deletion doesn't fail.
2015-05-11 18:51:59 -07:00
Nikhil Jindal
72ac82eba9
Merge pull request #8005 from lavalamp/kubectlFix
...
Don't print debugging things on every run of kubectl.sh
2015-05-11 10:19:37 -07:00
Filip Grzadkowski
26d14300e9
Increase disk size for kubernetes master.
...
Signed-off-by: Filip Grzadkowski <filipg@google.com>
2015-05-11 15:35:38 +02:00
Daniel Smith
ccecb115ed
Don't print debugging things on every run of kubectl.sh
2015-05-08 15:55:28 -07:00
Filipe Brandenburger
b7f9e2cea0
Merge pull request #7651 from zmerlynn/upload_hash_in_util
...
Also push .sha1 for devel builds
2015-05-06 09:07:39 -07:00
Jerzy Szczepkowski
e967ffd522
Added flag to set cluster class B network address for pods, add flag to disable allocation CIDRs for Pods. Fixed synchornization bug in NodeController registerNodes().
2015-05-05 16:10:43 -07:00
Tomek Kulczynski
290c7b94ef
Make nodecontroller configure nodes' pod IP ranges
2015-05-05 16:10:42 -07:00
Zach Loafman
0c107e4c44
Also push .sha1 for devel builds
...
And adds a .sha1 cache file to indicate what file was already pushed
to GCS, and how to force it if not, removing a few seconds off a
kube-up/push if you're just cycling.
With this and #7602 , all TAR_URLS will have a .sha1 as well.
2015-05-04 17:45:34 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Dawn Chen
876f8beec9
Remove unused node-name attribute
2015-04-28 16:13:26 -07:00
Dawn Chen
13a0b033e2
Bring up a cluster using coreos image for worker nodes.
2015-04-28 16:13:26 -07:00
Dawn Chen
5fa11322f8
Factory out debian e.g. ContainerVM image specific support to its own
...
helper utility library.
2015-04-28 16:07:57 -07:00
Dawn Chen
8963347b9e
Introduce MASTER_IMAGE, MINION_IMAGE and OS_DISTRIBUTION to config-default
...
for enable coreos and rocket support
2015-04-28 15:31:09 -07:00
Robert Bailey
8206aa9eac
Salt configuration to add basic auth to GCE.
2015-04-28 14:07:54 -07:00
Alex Robinson
5b5525dca5
Merge pull request #7324 from vishh/log_scope
...
Enable logging.write scope for minions.
2015-04-28 11:00:10 -07:00
Vishnu Kannan
9c66305f8c
Enable logging.write scope by default for nodes. This is required for storing events in
...
Google Cloud Logging via heapster.
2015-04-28 10:55:06 -07:00
CJ Cullen
39c5bf363b
Merge pull request #7303 from erictune/kube_env3
...
kube-proxy uses token to access port 443 of apiserver
2015-04-27 14:33:53 -07:00
Eric Tune
9044177bb6
Generate a token for kube-proxy.
...
Tested on GCE.
Includes untested modifications for AWS and Vagrant.
No changes for any other distros.
Probably will work on other up-to-date providers
but beware. Symptom would be that service proxying
stops working.
1. Generates a token kube-proxy in AWS, GCE, and Vagrant setup scripts.
1. Distributes the token via salt-overlay, and salt to /var/lib/kube-proxy/kubeconfig
1. Changes kube-proxy args:
- use the --kubeconfig argument
- changes --master argument from http://MASTER:7080 to https://MASTER
- http -> https
- explicit port 7080 -> implied 443
Possible ways this might break other distros:
Mitigation: there is an default empty kubeconfig file.
If the distro does not populate the salt-overlay, then
it should get the empty, which parses to an empty
object, which, combined with the --master argument,
should still work.
Mitigation:
- azure: Special case to use 7080 in
- rackspace: way out of date, so don't care.
- vsphere: way out of date, so don't care.
- other distros: not using salt.
2015-04-27 08:59:57 -07:00
Brian Grant
60d7bad147
Merge pull request #7128 from nikhiljindal/fixbeta1tests
...
Removing more references to v1beta1 from pkg/
2015-04-24 11:07:53 -07:00
Satnam Singh
b6bee06c20
Merge pull request #7269 from zmerlynn/lose_one_sanity
...
Remove buggy GCE post turn-up cluster validation code (rely on validate-cluster.sh)
2015-04-24 10:56:20 -07:00
nikhiljindal
dcc368c781
Removing more references to v1beta1 from pkg/
2015-04-24 00:45:17 -07:00
Zach Loafman
ad829dead7
Remove buggy GCE post turn-up cluster validation code (rely on validate-cluster.sh)
...
Fixes #7266
2015-04-23 16:28:44 -07:00
Eric Tune
e8a83b23d1
Pass KUBELET_TOKEN in kube-env metadata.
...
ensure-kube-token is not needed anymore because
the token passed in kube-env.
In the up case it is set, in the push case it is an empty string
but not used.
Allow unset KUBELET_TOKEN (for push case).
Fix comment.
2015-04-23 15:21:27 -07:00
Wojciech Tyczynski
cf824ae5e0
Merge pull request #7164 from fgrzadkowski/fix_wait_minion
...
Wait for minion to start even if gcloud command fails.
2015-04-23 08:21:19 +02:00
Robert Bailey
6951bb0bd5
Fix the restart-apiserver command for GCE/GKE.
2015-04-22 15:21:13 -07:00
Robert Bailey
4346c6ecae
Swallow the output from the test ssh connections so that it
...
doesn't interfere with string comparison.
2015-04-22 14:19:15 -07:00
Robert Bailey
dc45f7f9e6
Remove nginx and replace basic auth with bearer token auth for GCE.
...
- Configure the apiserver to listen securely on 443 instead of 6443.
- Configure the kubelet to connect to 443 instead of 6443.
- Update documentation to refer to bearer tokens instead of basic auth.
2015-04-22 11:11:20 -07:00
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