Commit Graph

1038 Commits (4f6dc99075aa207e0a51974b6e807381d393ea68)

Author SHA1 Message Date
Jeff Lowdermilk 4f6dc99075 Generate kubeconfig for all providers in cluster/ that use auth 2015-04-20 11:07:35 -07:00
Brendan Burns ba95c8a176 Merge pull request #7014 from a-robinson/dirname
Move the logging-related directories to where I think they belong
2015-04-20 10:50:09 -07:00
Eric Tune 424ae1d67a Fix kube-addon retrying. 2015-04-20 07:38:39 -07:00
Alex Robinson 059a8c92bd Move the logging-related directories to where I think they belong.
1. Move fluentd-gcp to be a core cluster addon, rather than a contrib.
2. Get rid of the synthetic logger under contrib, since the exact same
synthetic logger was also included in the logging-demo.
3. Move the logging-demo to examples, since it's effectively an example.

We should also consider adding on a GCP section to the logging-demo
example :)
2015-04-17 23:59:50 +00: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
Brian Grant 4b377e2ef6 Merge pull request #6977 from justinsb/move_var_lib_kubelet
AWS: Move /var/lib/kubelet to /mnt
2015-04-17 12:43:01 -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
Derek Carr 40d0e559a6 Merge pull request #6983 from posita/vagrant-provider-support-2741
READY FOR REVIEW - Fix #2741. Add support for alternate Vagrant providers: ...
2015-04-17 14:42:19 -04:00
Robert Bailey 972cf60d2b Merge pull request #6957 from ArtfulCoder/no_monit
remove unused file
2015-04-17 11:40:36 -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
Matt Bogosian e8672e2242 Fix #2741. Add support for alternate Vagrant providers: VMWare Fusion, VMWare Workstation, and Parallels. 2015-04-17 11:26:29 -07:00
Jeff Lowdermilk 2a8291a67e Retry Move KUBECONFIG to common.sh, change default to new location 2015-04-17 10:33:12 -07:00
Justin Santa Barbara b2bce12b6c AWS: Move /var/lib/kubelet to /mnt
The backing for empty-dir volumes otherwise consumes all our disk space
2015-04-17 06:46:08 -07:00
Zach Loafman 94ae93a46b Merge pull request #6955 from ArtfulCoder/stop_spin_loop
Docker Image install script - Sleep before each iteration of while loop
2015-04-17 04:56:34 -07:00
Robert Bailey 723f2941e8 Revert "Move KUBECONFIG into common.sh, change default to new location" 2015-04-16 22:17:11 -07:00
Abhishek Shah b08102d358 remove unused file 2015-04-16 21:51:51 -07:00
Abhishek Shah 647d5948a1 Docker Image install script - Sleep before each iteration of while loop 2015-04-16 21:46:35 -07:00
Jeff Lowdermilk 5ce9b07cbe Move KUBECONFIG declaration into common.sh, change default to new location 2015-04-16 19:23:35 -07:00
Daniel Smith 288effa7c1 Merge pull request #6933 from bgrant0607/docfix
Update docs. Add design principles.
2015-04-16 16:55:10 -07:00
Brian Grant f1cea092df Update docs. Add design principles. Fixes #6133. Fixes #4182.
# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

#
# Your commit will be aborted unless you regenerate docs.
    COMMIT_BLOCKED_ON_GENDOCS
2015-04-16 22:13:44 +00:00
Tim Hockin c2bacd588d Stop using dockerfile/* images
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx.  Fix all
users in our tree.  Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
Derek Carr 6c394e4d81 Merge pull request #6911 from erictune/del_kub_user
Remove unused kubelet user from salt.
2015-04-16 11:45:26 -04:00
Eric Tune 955cc1e1df Remove unused kubelet user from salt.
Fixes #1512.

Cluster creation and validation succeeds with this change.
2015-04-16 07:46:56 -07:00
Wojciech Tyczynski 1c47f2d70c Merge pull request #6873 from satnam6502/es-image
Convert es-image for gcr.io
2015-04-16 13:55:08 +02:00
derekwaynecarr d1668b1dfa Vagrant should not block on daemons that moved to pods 2015-04-15 23:15:34 -04:00
litian54 b5e4111234 Fix Jinja render bug if 'portal_net' or 'cluster_name' is undefined 2015-04-15 17:17:38 -07:00
Satnam Singh 4c0f06ec66 Convert es-image for gcr.io 2015-04-15 16:28:02 -04:00
Abhi Shah 72a694b6b3 Merge pull request #6823 from ArtfulCoder/scheduler-in-a-pod
Scheduler in a pod
2015-04-15 08:27:28 -07:00
Wojciech Tyczynski 4094505f84 Enable configuring size of minion disk 2015-04-15 11:19:43 +02:00
Abhishek Shah a908bb78ea kube-scheduler in a pod 2015-04-14 17:53:12 -07:00
Quinton Hoole cd6daae014 Merge pull request #6271 from a-robinson/asynclb
Manage load balancer creation and deletion asynchronously in a ServiceController
2015-04-14 17:50:07 -07:00
Abhishek Shah 37eb4d85e1 Install kube-controller-manager image 2015-04-14 16:45:39 -07:00
Abhishek Shah 682e8cfa99 Load Kube Scheduler Image. 2015-04-14 15:20:24 -07:00
Dawn Chen cbe28f151e Merge pull request #6821 from justinsb/aws_dont_use_aws_conf
Don't always use aws.conf
2015-04-14 13:30:29 -07:00
Alex Robinson ccc300289f Implement a ServiceController that watches services and handles keeping
external load balancers up-to-date based on the service's specs, using
the new DeltaFIFO watch queue class. Remove the old registry REST
handler code for creating/updating/deleting load balancers.

Also clean up a bunch of the GCE cloudprovider code related to load balancers.
2015-04-14 18:56:24 +00:00
Dawn Chen 913dc4e490 Revert "Use a helper to find built binaries" 2015-04-14 11:24:49 -07:00
Eric Tune c53b0c3869 Merge pull request #6275 from feihujiang/master
Improve ubuntu-cluster setup scripts
2015-04-14 09:51:33 -07:00
Dawn Chen 13b2243325 Merge pull request #6756 from lhuard1A/libvirt-coreos_etcd2
libvirt-coreos cluster: Fix etcd versions incompatibility issue
2015-04-14 09:34:00 -07:00
Justin Santa Barbara 72687184b9 Don't always use aws.conf
We don't usually need it, and it makes it harder to put apiserver into a container.
2015-04-14 09:30:00 -07:00
Dawn Chen 7bfe57b30d Merge pull request #6783 from eparis/use-hack-lib-find-binaries
Use a helper to find built binaries
2015-04-14 09:18:14 -07:00
Lénaïc Huard 11556dc927 libvirt-coreos cluster: Fix etcd versions incompatibility issue
Whereas CoreOS is still shipped with etcd 0.4.9, kubernetes has moved to etcd 2.0.4.

This version mismatch makes kubernetes unable to use etcd.
Kubernetes’ logs are full of “502:  (unhandled http status [Temporary Redirect] with body []) [0]”

This change makes libvirt-coreos cluster explicitly use etcd v2.0.9 instead of the one shipped within CoreOS.
This change aims at being reverted once CoreOS will migrate to etcd 2.
This migration is tracked at:
https://github.com/coreos/bugs/issues/317
2015-04-14 10:43:41 +02:00
Dawn Chen 6861e98ad8 Merge pull request #6785 from ArtfulCoder/apiserver-in-a-pod
kube-apiserver in a pod.
2015-04-13 16:10:37 -07:00
Dawn Chen 0bf08e242e Merge pull request #6757 from lhuard1A/libvirt-coreos_fix_wait-cluster-readiness
libvirt-coreos cluster: fix wait-cluster-readiness for v1beta3 API
2015-04-13 16:05:03 -07:00
Eric Paris 6d4ab258f0 Use a helper to find built binaries
We should not be determining the arch/os and all the possible
directories binaries can live. Let a hack/lib/ helper do it for us.
2015-04-13 18:57:36 -04:00
Abhishek Shah c9d7010461 kube-apiserver in a pod. 2015-04-13 15:15:45 -07:00
Dawn Chen 67169ec87d Merge pull request #6719 from litian54/master
Fix Rendering SLS 'base:nginx' failed if 'cloud' is not defined in minio...
2015-04-13 10:42:48 -07:00