Commit Graph

1011 Commits (49abf9133e7e48786ddab58ab166d90767fca460)

Author SHA1 Message Date
Dawn Chen 4963783b7e Build etcd 2.0.9 image. 2015-04-07 16:06:36 -07:00
Justin Santa Barbara 2426366ec8 Update cAdvisor with moved docker root on AWS
We set up a symlink now, and we also pass docker_root into the kubelet.

The symlink is probably sufficient, but doing both feels safer.
2015-04-07 10:40:22 -07:00
Brendan Burns 1ccfa589e7 Merge pull request #6498 from ArtfulCoder/stop_nginx_service
Disable nginx service
2015-04-07 09:51:53 -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
deads2k 609208b8b5 update scripts with correct templates 2015-04-07 08:07:24 -04:00
Sam Ghods 6ec32bf16c Make minion disk size in GCE kube-up customizable 2015-04-06 21:47:45 -07:00
Abhishek Shah a0ea2c6718 Disable nginx service 2015-04-06 18:38:03 -07:00
Fabio Yeon fd7db14df0 Add local file option to "upgrade.sh". 2015-04-06 16:30:15 -07:00
Zach Loafman c292d2e8d6 Update the existing salt.md, add the start of a Salt README tree
Starts to fix #6070
2015-04-06 14:41:21 -07:00
Robert Bailey 05fd6fe619 Merge pull request #6432 from brendandburns/hyperkube
Add a docker image for hyperkube, and instructions on how to use.
2015-04-06 11:23:40 -07:00
Abhi Shah 46370bcc51 Merge pull request #6471 from ArtfulCoder/prevent_docker_load
Prevent docker load.
2015-04-06 11:21:51 -07:00
Rohit Jnagal 62f399fb84 Merge pull request #6453 from mazswojejzony/master
Ubuntu-cluster updates: configure.sh fix and guide update
2015-04-06 11:17:51 -07:00
Abhishek Shah 9231fae998 Prevent docker load. 2015-04-06 11:09:27 -07:00
Brendan Burns 628b052aae Add a docker how-to guide. 2015-04-06 10:43:42 -07:00
Rohit Jnagal 1ecb926ace Merge pull request #6427 from zmerlynn/upgrade_master
First hack at upgrade script for GCE
2015-04-06 09:03:26 -07:00
Zach Loafman 616c6be653 Refactor the "gcloud compute instances create" call as well. 2015-04-06 08:35:02 -07:00
mazswojejzony e385d552c5 Fixed default config for kube-proxy on minions
Without this fix kube-proxy on minions cannot connect to master as `MASTER_IP` is not reachable.
2015-04-05 22:21:03 +02: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
Yu-Ju Hong 70a0a93f05 Merge pull request #5682 from justinsb/options_docs
More options documentation
2015-04-03 18:06:42 -07:00
Brian Grant b0b6418ca3 Merge pull request #6377 from nikhiljindal/kubevtl
Updating components to use v1beta3
2015-04-03 15:58:09 -07:00
Yu-Ju Hong 93d5c819d2 Merge pull request #6426 from satnam6502/kibana-image
Update Kibana to v1.2 which paramaterizes location of Elasticsearch
2015-04-03 15:43:03 -07:00
nikhiljindal f2b72931fc Updating components to use v1beta3 2015-04-03 15:19:14 -07:00
Zach Loafman f96fbfe174 Merge pull request #6422 from ArtfulCoder/local_etcd
Run etcd on localhost for all providers.
2015-04-03 15:17:50 -07:00
Satnam Singh cfb8577324 Update Kibana to v1.2 which paramaterizes location of Elasticsearch 2015-04-03 14:55:00 -07:00
Brendan Burns ee9591e25d Add a docker image for the hyperkube binary. 2015-04-03 14:54:50 -07:00
Satnam Singh e4c91df35f Merge pull request #5776 from jonlangemak/fluentd-elasticsearch-kibanafix
Added API variables so Kibana could access ES through the API server
2015-04-03 14:43:05 -07:00
Abhishek Shah fb665ede4c Run etcd on localhost for all providers. 2015-04-03 14:00:44 -07:00
Justin Santa Barbara 5d7f86b041 More options documentation 2015-04-03 13:44:06 -07:00
Eric Tune e49424785e Merge pull request #6380 from roberthbailey/kubelet-ssl
Configure the kubelet to use HTTPS (take 2)
2015-04-03 13:43:00 -07:00
Abhishek Shah 23c42cd8b2 Etcd listens on localhost for GCE 2015-04-03 11:40:09 -07:00
Yu-Ju Hong 76f1232a2e Merge pull request #6404 from dchen1107/master
Using gcr.io/google_containers/etcd:2.0.8
2015-04-03 08:51:41 -07:00
Zach Loafman 3916222e5e Merge pull request #6412 from justinsb/aws_create_in_az
AWS: Create instances in the specified AZ
2015-04-03 08:34:25 -07:00
Justin Santa Barbara 2fb573c482 Create instances in the specified AZ 2015-04-03 08:04:53 -07:00
Filip Grzadkowski 0ffabfa9f7 Add ability to set master/minion size for GCE using envvar. 2015-04-03 11:36:05 +02:00
Jon Langemak 35038dc19a Added ES ENV variables so Kibana can be access in other ways 2015-04-02 21:58:10 -05:00
Zach Loafman de67b96ff7 Merge pull request #6396 from ArtfulCoder/master_logging
Enable log collection from master.
2015-04-02 18:50:30 -07:00
Abhishek Shah 39bb6d3777 Enable log collection from master. 2015-04-02 18:37:07 -07:00
Zach Loafman 12cf7681a9 Merge pull request #5470 from erictune/for-abhis
Make secrets at cluster startup.
2015-04-02 17:43:56 -07:00
Abhi Shah 51e2518e36 Merge pull request #6392 from dchen1107/master
Build etcd image (version: 2.0.8) and push it to gcr.io
2015-04-02 17:14:15 -07:00
Dawn Chen 814177c21b Using gcr.io/google_containers/etcd:2.0.8 2015-04-02 17:04:05 -07:00
Abhi Shah a918a719e0 Merge pull request #6334 from brendandburns/nginx
Add an nginx docker image for use on the master.
2015-04-02 16:58:02 -07:00
Brendan Burns 9f48a2f4e6 Add an nginx docker image for use on the master. 2015-04-02 16:42:17 -07:00
Dawn Chen 1f3b5bf2f0 Build etcd image and push it to gcr.io 2015-04-02 16:20:09 -07:00
Sam Ghods ca18e86877 Make naming of kubectl subcommands consistent 2015-04-02 16:14:53 -07: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
Zach Loafman c627a3598c Merge pull request #6384 from erictune/cleanup-addons.sh
Use same addons script for init.d and systemd.
2015-04-02 14:49:44 -07:00
Derek Carr 4ae016e022 Merge pull request #6382 from derekwaynecarr/fix_vagrant_kubelet
Fix vagrant with etcd in pod
2015-04-02 17:22:44 -04:00
Eric Tune b9570b3daa Use same addons script for init.d and systemd. 2015-04-02 14:07:23 -07:00
derekwaynecarr c6bf46acd7 Fix vagrant with etcd in pod 2015-04-02 16:55:29 -04:00
Dawn Chen 9b2f835a01 Merge pull request #6326 from ArtfulCoder/docker_image_creation
Create Docker images for master components
2015-04-02 13:12:17 -07:00
Abhishek Shah b1b779a8d5 docker image creation 2015-04-02 12:39:12 -07:00
Robert Bailey 4488ff95a2 Create an insecure (http) read-only port on the kubelet so that
heapster can collect metrics. Update the heapster config to
point to the non-secured port.
2015-04-02 10:45:49 -07:00
Brendan Burns 51ec400d6d Merge pull request #6353 from fgrzadkowski/perf
Increase ulimit -n for apiserver.
2015-04-02 09:42:48 -07:00
Eric Tune ecf39a6d10 Merge pull request #5414 from chuckbutler/juju-cluster-up
Adds JUJU to the Kubernetes Provider listing
2015-04-02 09:27:54 -07:00
Filip Grzadkowski 65c2942a82 Increase ulimit -n for apiserver. 2015-04-02 17:01:23 +02:00
Jerzy Szczepkowski a94ffc8625 Merge pull request #6331 from vishh/heapster_release
Update heapster version to v0.10.0
2015-04-02 10:21:47 +02:00
Zach Loafman 1ff0a1e2a1 Merge pull request #6270 from jlowdermilk/gcloud-updates
Updates for gcloud 0.9.54
2015-04-01 19:14:57 -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
Vishnu Kannan e6833639a2 Update heapster version to v0.10.0 2015-04-02 00:39:24 +00:00
Max Forbes 152a461f39 Fix pod that's looked for on kube up. 2015-04-01 17:28:04 -07:00
Dawn Chen ab1a8b1e7c Merge pull request #6298 from roberthbailey/kubelet-config
Remove salt configuration that matches the default settings in the Kubelet.
2015-04-01 14:31:31 -07:00
Derek Carr 2af9b54147 Merge pull request #6259 from zmerlynn/fix_cloud_provider
Eliminate grains.cloud_provider (in preference to grains.cloud) from SaltStack
2015-04-01 17:04:05 -04:00
Robert Bailey 40ebed845f Remove salt configuration that matches the default settings in
the Kubelet.
2015-04-01 12:13:40 -07:00
Abhishek Shah 8e3a41b52c Run etcd 2.0.5 in a pod 2015-04-01 11:38:21 -07:00
Jeff Lowdermilk cfc04f41b8 Updates for gcloud changes (alpha, kubeconfig) 2015-04-01 09:27:06 -07:00
Jeff Lowdermilk 506887515d Rename google-containers to google_containers in image names 2015-04-01 09:16:48 -07:00
Zach Loafman b581320bf7 Eliminate grains.cloud_provider (in preference to grains.cloud) from SaltStack
This variable can be entirely derived from grains.cloud, and it
simplifies the configuration somewhat. (Or someone convince me I'm
wrong. I'm happy to be wrong here.)
2015-04-01 08:32:32 -07:00
Derek Carr 762c449043 Merge pull request #6262 from zmerlynn/rm_master_ip
rm Salt grains.master_ip
2015-04-01 11:10:48 -04:00
António Meireles 7680c2f771 fix typo in spelling.
Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2015-04-01 10:43:52 +01:00
Zach Loafman 0806e3bde0 rm Salt grains.master_ip
This appears in the Salt documentation, is set by Vagrant, but has no
consumers. Remove vestigial references.
2015-03-31 17:31:47 -07:00
Zach Loafman 7094badf94 Merge pull request #6258 from zmerlynn/fix_gke_util
Fix gke/util.sh
2015-03-31 16:51:03 -07:00
Zach Loafman 52dd55c5ec Fix gke/util.sh 2015-03-31 16:50:31 -07:00
Satnam Singh 73a9ab2928 Rename logging image to use google_containers 2015-03-31 16:00:52 -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
Victor Marmol f0b3493c26 Merge pull request #6240 from zmerlynn/fix_apiservers
s/apiservers/api_servers/ in Salt
2015-03-31 13:06:09 -07:00
Brian Grant 3354cffbf0 Merge pull request #6182 from thockin/plural_services_20
Implement multi-port Services
2015-03-31 12:55:21 -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
Zach Loafman fc8ba8d77b Merge pull request #6011 from justinsb/aws_specify_zone
Fix AWS region vs zone
2015-03-31 12:26:05 -07:00
Brendan Burns 98cdf04189 Auto-install gcloud if needed. 2015-03-31 12:10:35 -07:00
Victor Marmol 51128251f1 Merge pull request #6215 from justinsb/fix_s3_us_classic
Fix S3 location handling for US classic
2015-03-31 08:08:56 -07:00
Justin Santa Barbara edbebd653c Fix S3 location handling for US classic 2015-03-31 05:42:10 -07:00
Tim Hockin eeff1b74fb Fixes from feedback and testing 2015-03-30 23:52:37 -07:00
Tim Hockin 186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
Abhishek Shah 541219db77 Retry kube-addons creation if kube-addons creation fails. 2015-03-30 18:14:54 -07:00
Robert Bailey bc8af553a3 Configure the kubelet to bind a simple healthz server to a localhost
port for monitoring by monit. This is in preparation for the standard
kubelet port to switch to SSL only (and eventually to only accepting
connections on the SSL port that present a proper client SSL cert).

Also standardize the formatting of the monit config files a bit.
2015-03-30 14:20:30 -07:00
Victor Marmol a4daa88fdc Merge pull request #6090 from justinsb/use_s3_bucket_location
Use the correct region for the S3 bucket
2015-03-30 09:40:42 -07:00
Victor Marmol b9214d4fcf Merge pull request #6122 from satnam6502/fluentd-gcp
Update Salt config to use gcr.io Fluentd to Cloud Logging agent
2015-03-30 08:02:12 -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
Justin Santa Barbara 07ffc26a61 Fix typo in docs 2015-03-30 06:01:00 -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
Zach Loafman 848134fdfa Revert "Running etcd 2.0.5 in a pod on master" 2015-03-28 07:36:39 -07:00
Dawn Chen 179fe870cc Merge pull request #4442 from ArtfulCoder/docker_etcd
Running etcd 2.0.5 in a pod on master
2015-03-27 18:33:25 -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
Abhishek Shah 7750f35e7c Running etcd 2.0.5 in a pod on master 2015-03-27 17:50:10 -07:00
Satnam Singh 666e2b69ac Update Salt config to use gcr.io Fluentd to Cloud Logging agent 2015-03-27 16:39:12 -07:00
Satnam Singh ce1e73fccc Update Salt config use gcr.io Fluentd to ES image 2015-03-27 16:09:37 -07:00