Commit Graph

494 Commits (3acd101ef9d0927676097aedd66bd5eceba86ff4)

Author SHA1 Message Date
Brendan Burns ab429598e7 Update to 0.7.2, forgot to push... 2015-01-05 21:40:46 -08:00
Zach Loafman b8d3938e3a Merge pull request #3193 from zmerlynn/fix_gke_unbound
GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP
2015-01-05 16:38:11 -08:00
Joe Beda 943ed6d289 Merge pull request #3146 from zmerlynn/limit_liveness_gke
GKE: Limit liveness.sh to server version >0.7.2
2015-01-05 14:41:39 -08:00
Zach Loafman e965fc1f79 GKE: Limit liveness.sh to server version >0.7.2
What I really want is
https://github.com/GoogleCloudPlatform/kubernetes/issues/2953, but
haven't had a chance to code that yet. Maybe it's time. (Then I'd
remove the provider-specific test and just say "is it > 0.7.2, or does
it claim to be capable of something from the future?" The latter
covers the HEAD server case .. though just bumping the server version
immediately after release might also accomplish that, too.)
2015-01-05 14:21:21 -08:00
Joe Beda 9aa48b7628 Move heapster data files to cluster/addons.
Also pretty up the JSON (make it real JSON) and streamline the sed in cluster/gce/init.sh.
2015-01-05 12:32:35 -08:00
Joe Beda 6df6aab077 Move DNS from contrib to cluster/addons
This fixes #3190.
2015-01-05 12:32:35 -08:00
Tim Hockin c908fbe59e Merge pull request #3199 from a-robinson/disk-size
Allow for easily specifying the type and size of minion disks on GCE.
2015-01-05 12:07:18 -08:00
derekwaynecarr 9203e4143b Put skydns in portalip range 2015-01-05 13:09:31 -05:00
Alex Robinson 8b38453501 Allow for easily specifying the type and size of minion disks on GCE.
Issue #3192
2015-01-03 16:57:16 -08:00
Zach Loafman fdccfe970d GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP
Fixes https://github.com/GoogleCloudPlatform/kubernetes/issues/3191
2015-01-03 07:41:09 -08:00
Dawn Chen 86aa38547c Remove duplicate volumes type. 2014-12-30 14:40:16 -08:00
Tim Hockin 7dec65f535 Merge pull request #3156 from evenemento/master
Add missign network flag
2014-12-29 14:06:01 -08:00
Joe Beda a2e58d490e Merge pull request #2224 from thockin/dns
Enable DNS for services
2014-12-29 10:27:57 -08:00
Justin Santa Barbara e682997b3d Remove erroneous . from wget commands
wget always downloads into current directory
2014-12-29 12:19:45 -05:00
Tim Hockin 59164ca844 Make DNS an option for cluster turnup 2014-12-29 09:18:12 -08:00
Maciej Chmielarski d6a747481c Add missign network flag 2014-12-29 12:59:02 +01:00
Vishnu Kannan 2d5432bc91 update cadvisor static manifest file completely. 2014-12-25 18:22:59 +00:00
Brendan Burns bbb6d97bb5 Add a script suitable for wget https://get.k8s.io | sh installation 2014-12-23 11:34:16 -08:00
Vishnu Kannan 9a4476a60c Update cadvisor manifest to bind mount "/sys" from global namespace. 2014-12-22 23:49:22 +00:00
roberthbailey 9b6aec5e22 Merge pull request #3092 from zmerlynn/gke-kubectl-path
GKE: Adjust the PATH to the right kubectl for gcloud
2014-12-22 10:37:56 -08:00
Zach Loafman e71798df3f Adjust the PATH to the right kubectl for gcloud, add KUBECTL_PATH override
Force kubectl to the git repo version if we detect a built version.
Add a KUBECTL_PATH override so that system/home directory versions of
kubectl can be used if desired. Remove existing $HOME inference.
2014-12-22 10:14:32 -08:00
Zach Loafman b3ce311fd8 Fix binary detection on GKE
* kubectl is kubectl.sh in the e2es, so not needed in the path
* Use the environment variable, and try to make sure the preview
component is installed.
2014-12-21 08:03:49 -08:00
saadali ec6d4c6078 Fix kube-controller-manager failing to start because "Jinja variable 'cloud_config' is undefined" 2014-12-19 17:20:22 -08:00
Daniel Smith 55ad41b4f3 Merge pull request #3073 from rlarocque2/kubectl_scripts
Replace kubecfg with kubectl in setup scripts
2014-12-19 16:30:07 -08:00
Daniel Smith 3072453c83 Merge pull request #3072 from rlarocque2/remove_kubectl_echo
Remove debug print in kubectl.sh
2014-12-19 16:28:50 -08:00
Richard Larocque 9ac9c69534 Replace kubecfg with kubectl in setup scripts
Replaces two instances of kubecfg with kubectl in cluster startup and
validation scripts.
2014-12-19 16:10:21 -08:00
Richard Larocque 2bc41e1602 Remove debug print in kubectl.sh
Removes a debug print that (it seems to me) was added in erro
as part of PR #3046 / commit c3efef8.
2014-12-19 16:09:04 -08:00
Joe Beda d8efaab679 Merge pull request #3068 from brendandburns/dutchcoders-master
Fix up AWS support...
2014-12-19 15:14:26 -08:00
Joe Beda 5038fc0ffa Merge pull request #3056 from zmerlynn/testtar
Allow parameterization by environment in cluster/gce/config-test.sh
2014-12-19 14:38:03 -08:00
Brendan Burns 2369f0d50d Update aws. 2014-12-19 14:16:57 -08:00
Zach Loafman 94545889fc Allow parameterization by environment in cluster/gce/config-test.sh
Between this and careful use of "export HOME=/somewhere_else_for_auth/",
you can effectively get ghetto CLI profiles (for GCE tests).
2014-12-19 13:38:33 -08:00
Brendan Burns 824122f410 Merge pull request #2651 from justinsb/specify_zone_to_ec2
Specify AWS_DEFAULT_REGION to match configured region
2014-12-19 12:26:40 -08:00
Max Forbes c3efef86d0 Add GKE as a provider. 2014-12-19 11:47:06 -08:00
Brendan Burns bd712b61e6 Merge branch 'master' of https://github.com/dutchcoders/kubernetes into dutchcoders-master
Conflicts:
	cluster/aws/config-default.sh
	cluster/saltbase/salt/kube-controller-manager/default
2014-12-19 11:45:46 -08:00
bgrant0607 4943ee7b65 Merge pull request #3034 from a-robinson/pd-up
Store all of the master's persistent data on a separate "data" PD when running on GCE
2014-12-18 16:05:47 -08:00
Daniel Smith cd2432891d Merge pull request #3038 from vishh/fix_monitoring
Fix bug in gce monitoring setup.
2014-12-18 13:07:18 -08:00
Vishnu Kannan aa7a311c34 Fix bug in gce monitoring setup. 2014-12-18 20:47:41 +00:00
Alex Robinson f892e84e0a Store all of the master's persistent data on a separate "data"
persistent disk when running on GCE.

I'll follow up soon with a second PR that enables kube-push to
completely bring down the master VM and replace it with a new one.
2014-12-18 20:24:57 +00:00
Jordan Liggitt 2de478f16c Make cert CN unique to avoid certificate serial number clashes 2014-12-18 15:13:32 -05:00
Joe Beda eed5252993 Merge pull request #3023 from tozd/fix-salt-deps
Add missing Salt requisites
2014-12-18 09:16:16 -08:00
Jernej Kos 430a04af45 Added missing Salt requisites. 2014-12-18 10:29:39 +01:00
CJ Cullen 90364b30b0 Only create a single firewall rule for all minions. 2014-12-17 17:10:07 -08:00
Joe Beda 428aeacf6d Rework vagrant cluster set up.
* Have a single config file that mirrors other cluster providers
* Warn users not to use 'vagrant up' directly
* Allow 'extra' parameters to the docker daemon.  Fixes #2685
* Renumbers things so that they are more sane.  Master/minions are 10.245.1.x, container subnets are 10.246.x.1/24, portal is 10.247.0.0/16
2014-12-17 13:23:39 -08:00
Daniel Smith 8e33229792 Merge pull request #2991 from dchen1107/newdocker
Move salt based clusters to Docker 1.4.1
2014-12-16 16:57:31 -08:00
Filipe Brandenburger da4967fe38 Merge pull request #2988 from jbeda/yaml-quote
Quote strings in bash populated YAML files.
2014-12-16 16:26:22 -08:00
Joe Beda 2fc02cb06a Quote strings in bash populated YAML files.
Quoting is hard.  When writing strings into YAML files, wrap them in single quotes.  Also escape any embedded single quotes in those strings via a double signle quote ('').
2014-12-16 16:13:46 -08:00
Dawn Chen c053ec63c5 Move salt based clusters to Docker 1.4.1 2014-12-16 15:54:26 -08:00
Joe Beda 911a437c1b Make the test for the 'docker_opts' grain more robust.
Fixes #2982
2014-12-16 14:26:36 -08:00
Brendan Burns 58ba3c7faa Merge pull request #2976 from dchen1107/newdocker
Move salt based clusters to Docker 1.4.0
2014-12-16 12:14:54 -08:00
Dawn Chen 04b136a7db Move salt based clusters to Docker 1.4.0 2014-12-16 11:58:45 -08:00
Joe Beda 308b078ee7 Merge pull request #2857 from jainvipin/master
ubuntu getting started guide
2014-12-15 16:13:25 -08:00
Vipin Jain cf24c77e78 ubuntu getting started guide 2014-12-15 15:43:35 -08:00
Brendan Burns f2a5457296 Merge pull request #2952 from satnam6502/colour
Avoid redeclaration errors for kube-up.sh
2014-12-15 15:33:33 -08:00
Satnam Singh c928c43a15 Avoid redeclaration errors for kube-up.sh 2014-12-15 15:23:04 -08:00
Steve Reed eb0a11717f Look up master node IP address in a loop 2014-12-15 14:38:30 -08:00
Joe Beda 056fdbb9b8 Merge pull request #2943 from brendandburns/flags
Add a log level flag.
2014-12-15 12:59:08 -08:00
Brendan Burns 878d85df0c Add a log level flag. 2014-12-15 12:00:29 -08:00
Max Forbes bea37d5b17 Fix up e2e tests. 2014-12-15 11:53:51 -08:00
Brendan Burns 19c88643b8 Merge pull request #2923 from satnam6502/kubelet-log
Collect Kubelet logs with Fluentd->(Elasticsearch|Cloud Logging)
2014-12-15 11:46:33 -08:00
Brendan Burns 68c1ac210b Merge pull request #2940 from deads2k/deads-validate-cluster-broken
validate-cluster is broken for vagrant
2014-12-15 11:44:58 -08:00
deads2k 81e01e5099 validate-cluster is broken 2014-12-15 14:07:38 -05:00
deads2k fd53795bc9 fix e2e for all providers except gce 2014-12-15 11:04:13 -05:00
Satnam Singh b4fcdd7e47 Collect Kubelet logs with Fluentd->Elasticsearch and Fluentd->Cloud Logging 2014-12-14 01:47:48 -08:00
Satnam Singh 91a75c7620 Add missing detect-project to detect-minions 2014-12-12 15:29:58 -08:00
Filipe Brandenburger d762dc46e9 Merge pull request #2816 from satnam6502/robust
Make multiple attempts to sanity check (GCE) and validate (ALL) cluster
2014-12-12 14:26:07 -08:00
Satnam Singh 1ce71d1e33 Make multiple attempts to sanity check (GCE) and validate (ALL) cluster 2014-12-12 13:53:57 -08:00
Joe Beda c9acafc98a Move salt based clusters to Docker 1.3.3
Part of #2896
2014-12-12 12:18:07 -08:00
Brendan Burns 9742911697 Only delete attached boot disks, don't delete other attached disks. 2014-12-11 17:09:53 -08:00
Filipe Brandenburger 45dbf16be7 Merge pull request #2803 from satnam6502/cluster
Make kube-down more robust for GCE provider
2014-12-11 15:39:22 -08:00
Satnam Singh d0eeebaa66 Make kube-down more robust for GCE provider 2014-12-11 14:47:38 -08:00
Brendan Burns 6e397cfe31 Merge pull request #2870 from zulily/fix-rackspace-cloud-files-url
Fixes malformed OBJECT_URL in rackspace setup script
2014-12-11 13:18:26 -08:00
Steve Reed 4c312caeb0 Fixes the minion yaml as well 2014-12-11 13:01:05 -08:00
Steve Reed d4f71b7d4a Fixes malformed OBJECT_URL in rackspace setup script 2014-12-11 12:18:45 -08:00
Brendan Burns 149881e13e Actually set repository QPS in the kubelet. 2014-12-11 12:06:40 -08:00
Joe Beda 89011f26f4 remove SSLv3 support in nginx config 2014-12-10 13:17:02 -08:00
Eric Tune edeb96dca9 Merge pull request #2772 from rlarocque2/apiserver_auth
Implement apiserver communication for Vagrant
2014-12-10 07:13:40 -08:00
Daniel Smith 0f88d149cd Merge pull request #2818 from dchen1107/containervm
Using container-vm-v20141208 as the default image on GCE.
2014-12-09 17:55:19 -08:00
Dawn Chen d767e71475 Using container-vm-v20141208 as the default image on GCE. 2014-12-09 17:11:23 -08:00
Brendan Burns 3a7dd589d5 Merge pull request #2735 from erictune/proxy_no_etcd
Use apiserver instead of etcd for kube-proxy.
2014-12-09 15:27:20 -08:00
Joe Beda 09a8efefe9 Merge pull request #2791 from derekwaynecarr/salt_api_missing_cherrypy
Vagrant fix - Add python-cherrypy as explicit install for salt-api
2014-12-09 12:12:37 -08:00
Joe Beda 90f71ea4d9 Merge pull request #2805 from jlowdermilk/fix-salt
Fix conditional docker_opts in salt/docker/docker-defaults
2014-12-09 10:16:55 -08:00
Jeff Lowdermlk 0007257bce Fix conditional on grains.docker_opts in docker-defaults 2014-12-08 16:42:41 -08:00
Brendan Burns 5b33534dcf Merge pull request #2652 from justinsb/default_vpc_has_no_tags
Don't assume every AWS VPC has tags
2014-12-08 15:53:47 -08:00
Brendan Burns 30656d7522 Merge pull request #2653 from justinsb/default_cluster_monitoring
Default ENABLE_CLUSTER_MONITORING to false
2014-12-08 15:53:35 -08:00
derekwaynecarr aacf2c2780 Add python-cherrypy as explicit install for salt-api 2014-12-08 11:36:26 -05:00
Brendan Burns 8364fa5c93 Fix detect-minions. 2014-12-05 15:42:28 -08:00
Richard Larocque 7d37b24cc7 Implement apiserver communication for Vagrant
This implementation is based on the GCE impementation from
618a367dbb48dbaa9c3b50e877858d854322fd0b.
2014-12-05 12:49:51 -08:00
Jeff Lowdermilk a1faab9ffe Merge pull request #2730 from satnam6502/scripting
Add missing project argument to gcloud commands
2014-12-04 14:30:20 -08:00
Satnam Singh fcfdd48f8d Add missing project argument to gcloud commands 2014-12-03 15:38:40 -08:00
Eric Tune 65b38e7af7 Use apiserver instead of etcd for kube-proxy.
For cloud-providers that use salt, have kube-proxy use
apiserver instead of etcd as a config source.
2014-12-02 22:21:01 -08:00
Satnam Singh c2348052b0 Fix the addition of the logging.write scope to the MINION_SCOPES array 2014-12-02 20:25:26 -08:00
Brendan Burns 346dbc6de7 Merge pull request #2716 from zulily/fix-gce-provision-with-gcp-logging
Fix GCE scopes when using GCP Logging
2014-12-02 12:40:56 -08:00
Brendan Burns b07515c5ea Add some backward compatability for GKE. 2014-12-02 11:32:45 -08:00
Steve Reed d229c5ba51 Proper appending of logging.write scope to array 2014-12-02 10:29:10 -08:00
Alen Komljen d83d269c27 Remove empty lines when file is generated from jinja template 2014-12-02 15:00:58 +01:00
Joe Beda f8505cd286 For GCE, allow insecure registries anywhere in 10.0.0.0/8. 2014-12-01 11:36:08 -08:00
Justin Santa Barbara 0b05068f40 Default ENABLE_CLUSTER_MONITORING to false
Otherwise kube-down fails because the variable is not defined
2014-11-27 18:07:51 -08:00
Justin Santa Barbara a549468853 Specify AWS_DEFAULT_REGION to match configured region
The AWS CLI is configured with a default region, but it might not match
the configured Kubernetes region.  Specify the region to be sure.
2014-11-27 17:56:14 -08:00
Justin Santa Barbara f9a9c75697 Don't assume every AWS VPC has tags
The default VPC has no tags (by default), so we should use get()
2014-11-27 17:32:38 -08:00
Alen Komljen 249bbd7d9a Remove unused nsinit salt state 2014-11-27 09:59:25 +01:00