Zach Loafman
759e82c29f
Remove dep on yaml for GCE startup
...
Write out "yaml" in util.sh. Dying a little. :'(
Fixes #5258
2015-03-10 16:38:52 -07:00
Zach Loafman
7333d991fb
Revert "Fix need for yaml in GCE kube-up by importing PyYAML into third_party"
2015-03-10 15:42:28 -07:00
Jeff Lowdermilk
7db006ab1a
Generate standalone kubeconfig on kube-up, clear on kube-down.
...
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-10 14:23:34 -07:00
Zach Loafman
965f684e2f
Adjust kube-env.py to use third_party PyYAML
2015-03-10 13:53:13 -07:00
Jeff Lowdermilk
7358084fd5
Utilities to create and clear kubeconfig for use by kube-up scripts
2015-03-10 13:52:04 -07:00
Brian Grant
b3d3db08ef
Merge pull request #5064 from justinsb/ignore_stopped_aws_instances
...
Ignore EC2 instances that are stopped
2015-03-10 11:03:34 -07:00
Alex Robinson
6700a7f230
Merge pull request #5253 from satnam6502/fluentd
...
Modify Fluentd to ES setup to pass flags
2015-03-10 10:46:26 -07:00
Brendan Burns
00f3779c6f
Merge pull request #5119 from zmerlynn/salt_drones
...
Change GCE to use standalone Saltstack config
2015-03-10 10:29:59 -07:00
Satnam Singh
3ce0ede78e
Modify Fluentd to ES setup to pass flags
2015-03-10 10:11:26 -07:00
Alex Robinson
8fd33476f0
Merge pull request #5218 from satnam6502/fluentd-es
...
Change Fluentd config to read from head of Docker container logs
2015-03-10 09:57:02 -07:00
Zach Loafman
b31b633f85
One additional cleanup: Send only the master name, rather the internal
...
IP address. The configure-vm script can resolve this relatively easily
on the node. This is less painful for GKE, which creates all the
resources in parallel.
2015-03-10 09:04:29 -07:00
Zach Loafman
120dba474e
Change GCE to use standalone Saltstack config:
...
Change provisioning to pass all variables to both master and node. Run
Salt in a masterless setup on all nodes ala
http://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html ,
which involves ensuring Salt daemon is NOT running after install. Kill
Salt master install. And fix push to actually work in this new flow.
As part of this, the GCE Salt config no longer has access to the Salt
mine, which is primarily obnoxious for two reasons: - The minions
can't use Salt to see the master: this is easily fixed by static
config. - The master can't see the list of all the minions: this is
fixed temporarily by static config in util.sh, but later, by other
means (see
https://github.com/GoogleCloudPlatform/kubernetes/issues/156 , which
should eventually remove this direction).
As part of it, flatten all of cluster/gce/templates/* into
configure-vm.sh, using a single, separate piece of YAML to drive the
environment variables, rather than constantly rewriting the startup
script.
2015-03-10 09:04:29 -07:00
Victor Marmol
6ba53b112f
Merge pull request #5221 from erictune/libvirt_fix
...
Remove unneeded --etc_servers flags.
2015-03-10 09:00:28 -07:00
Eric Tune
8d20282229
Kubelet and kube-proxy talk to apiserver not etcd.
2015-03-10 07:57:31 -07:00
derekwaynecarr
22e559d769
Provision network before kubelet
2015-03-10 10:30:50 -04:00
Satnam Singh
2486de1287
Change Fluentd config to read from head of Docker container logs
2015-03-09 23:25:52 -07:00
Justin Santa Barbara
a3ae480acc
Ignore EC2 instances that are stopped
...
Otherwise we pick up previous cluster instances (in EC2, stopped instances hang around for
a while - maybe 30 minutes?)
2015-03-09 19:03:46 -07:00
Eric Tune
761642a9e1
Remove unneeded --etc_servers flags.
...
Kubelet already has --api_servers flag.
Kube-proxy already has --master flag.
2015-03-09 18:02:51 -07:00
Satnam Singh
89bc7bbea9
Merge pull request #5154 from jlowdermilk/kube-up
...
Standalone kubeconfig for gce kube-up
2015-03-09 16:22:51 -07:00
Jeff Lowdermilk
4173d369aa
Generate standalone kubeconfig on kube-up, clear on kube-down.
...
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-09 16:02:00 -07:00
Jeff Lowdermilk
67a5bec192
Utilities to create and clear kubeconfig for use by kube-up scripts
2015-03-09 16:00:23 -07:00
Filipe Brandenburger
9ed827fb73
Merge pull request #5145 from dchen1107/containervm
...
Upgrade to latest containervm image: v20150305
2015-03-06 14:31:42 -08:00
Dawn Chen
38178299bb
Upgrade to latest containervm image: v20150305
2015-03-06 13:54:33 -08:00
derekwaynecarr
2ed8eed004
Make admission control plug-ins work from indexes
2015-03-06 09:36:57 -05:00
Brendan Burns
7cb70b0a98
Merge pull request #5114 from justinsb/aws_set_instance_names
...
Set AWS instance Names so they match the regex
2015-03-06 15:26:36 +01:00
Brendan Burns
4baa061130
Merge pull request #5123 from ZJU-SEL/hsm
...
Update the ubuntu-cluster docs and scripts to 0.12.0
2015-03-06 15:18:56 +01:00
rsokolowski
5aa46e6342
Update version of kube2sky to 1.1.
2015-03-06 10:00:57 +01:00
wizard
ca16a57b54
Add cleanup function to make the build.sh more robust
2015-03-06 12:10:37 +08:00
wizard
c80ef5de60
Make the k8s version configurable
2015-03-06 11:04:30 +08:00
Victor Marmol
79f2773745
Merge pull request #5120 from dchen1107/docker
...
monit health check kubelet and restart unhealthy one
2015-03-05 17:39:03 -08:00
Dawn Chen
7a47ea8913
Ask monit health check kubelet; if failed, restart.
2015-03-05 17:29:38 -08:00
Justin Santa Barbara
9adfee5ddb
Set AWS instance Names so they match the regex
2015-03-05 16:06:53 -08:00
Fabio Yeon
01f7d459d3
Add etcd server check at startup to kube2sky (with retry loop).
2015-03-05 11:43:16 -08:00
rsokolowski
5026142636
Crash kube2sky after repeated etcd mutation failures.
2015-03-05 08:31:14 +01:00
roberthbailey
83c3c53ff6
Merge pull request #5014 from justinsb/aws_cluster_push
...
Copy download-or-bust helper from gce to aws
2015-03-04 16:26:01 -08:00
Justin Santa Barbara
05d4aea3bf
Copy download-or-bust helper from gce to aws
...
During a push, we were wget-ing to <filename>.1, .2, etc, which wasn't working
2015-03-04 16:30:11 -05:00
Justin Santa Barbara
12e785c3b8
Implement restart-apiserver for AWS, fix comment
2015-03-04 15:35:29 -05:00
roberthbailey
abbd171fac
Merge pull request #4976 from dchen1107/docker
...
Removed staled docker artifacts on GCE minions.
2015-03-04 11:57:11 -08:00
Vish Kannan
5aed317ffc
Merge pull request #4853 from sub-mod/grafana_v1beta3
...
v1beta3 api json for grafana example
2015-03-03 15:43:16 -08:00
Brian Grant
8fd315e324
Merge pull request #4988 from justinsb/sync_aws_with_gce
...
Use new config file & sync with GCE script
2015-03-03 11:41:48 -08:00
Brian Grant
e1ad29e071
Merge pull request #4987 from justinsb/aws_ssh
...
Make public-ip detection more robust for AWS, enable SSH function
2015-03-03 11:41:05 -08:00
Brian Grant
fd551a2249
Merge pull request #4986 from justinsb/salt_master_by_ip
...
Use internal ip for connecting to salt master, with clearer env var
2015-03-03 11:39:50 -08:00
Brian Grant
a9afb3bb9a
Merge pull request #4984 from derekwaynecarr/fix_vagrant_instance_prefix
...
Further vagrant reliability improvements.
2015-03-03 11:39:05 -08:00
Satnam Singh
709476cb5b
Merge pull request #4657 from piosz/kubectl
...
Added new command clusterinfo to kubectl
2015-03-03 11:34:17 -08:00
Piotr Szczesniak
e92192d379
Added new command clusterinfo to kubectl
...
This is first version of the command. It prints IPs of master and cluster
services. Should be improved once generalized labels are implemented #341 .
It requires label kubernet.io/cluster-service=true set for cluster services.
Follow up cl after discussion in #4417 .
2015-03-03 20:14:24 +01:00
Justin Santa Barbara
6508ca78a5
Use new config file & sync with GCE script
2015-03-03 12:24:56 -05:00
Justin Santa Barbara
6b067b3c85
Make public-ip detection more robust for AWS, enable SSH function
2015-03-03 12:21:44 -05:00
Justin Santa Barbara
94a433157e
Use internal ip for connecting to salt master, with clearer env var
2015-03-03 12:18:12 -05:00
derekwaynecarr
35ab4ccc6d
Further vagrant reliability improvements.
2015-03-03 06:55:34 -08:00
Piotr Szczesniak
3abaa6b3c8
Added cluster-service lavel to monitoring services
...
Monitoring services will be now displayed in kubectl cluster command (#4657 ).
This partially addresses #4620
2015-03-03 10:44:46 +01:00
Dawn Chen
2a6b5a2262
Removed staled docker artifacts on GCE minions.
2015-03-02 23:24:29 -08:00
Satnam Singh
e918f36c2b
Fix URL for Elasticsearch
2015-03-02 15:57:12 -08:00
Jeff Lowdermilk
66dfbe900a
Merge pull request #4963 from roberthbailey/kubectl-proxy
...
Remove host ports from the update demo and update tests (take 2).
2015-03-02 15:16:04 -08:00
Daniel Smith
f278fbabb3
Merge pull request #4959 from satnam6502/proxy
...
Use proxy instead of load balancer for Elasticsearch and Kibana
2015-03-02 14:36:37 -08:00
Lénaïc Huard
d64f0f1183
Make libvirt-CoreOS cluster able to run e2e tests
2015-03-02 23:11:48 +01:00
Lénaïc Huard
c763fbf98a
Integrate SkyDNS in libvirt-coreos
2015-03-02 22:58:12 +01:00
Lénaïc Huard
7ce6f22687
Make kube-up wait for the libvirt-coreos cluster to be ready
...
so that validate-cluster passes.
2015-03-02 22:58:11 +01:00
Lénaïc Huard
a25f2ad28d
Add node monitoring and logging facilities to libvirt-coreos
...
Deploy cadvisor and fluentd on each minion.
2015-03-02 22:58:10 +01:00
Lénaïc Huard
9077c23277
libvirt-coreos: move all IP definitions in config-default.sh
2015-03-02 22:58:01 +01:00
Satnam Singh
72183c064c
Use proxy instead of load balancer
2015-03-02 13:44:41 -08:00
Brendan Burns
9f7b78b0a8
Merge pull request #4937 from thockin/plural_23_endpoints
...
Stop using named ports in examples and scripts.
2015-03-02 10:49:31 -08:00
Robert Bailey
5799dd5f7d
Remove host ports from the update demo and update tests (take 2).
2015-03-02 10:15:34 -08:00
Tim Hockin
e0e6741027
Stop using named ports in examples and scripts.
2015-03-01 21:30:45 -08:00
Tim Hockin
d46146da7d
Stop using Docker's -r flag
...
It has been deprecated since 1.3, replaced by restart policies. We are
not supporting docker < 1.3 any more.
2015-02-28 13:36:42 -08:00
derekwaynecarr
5fdf6b131c
Fix error provisioning kube-apiserver on vagrant
2015-02-27 10:17:46 -08:00
Jerzy Szczepkowski
7763570579
Print grafana address print in kube-up.sh.
...
Print grafana address print in kube-up.sh. Resolved #4721 .
2015-02-27 09:15:08 +01:00
Zach Loafman
08402d798c
Merge pull request #4876 from satnam6502/fluentd-gcp
...
Update Fluentd to Cloud Logging image
2015-02-26 18:34:27 -08:00
Satnam Singh
16f49f6d09
Update Fluentd to Cloud Logging image
2015-02-26 15:18:22 -08:00
Brendan Burns
dca88634ae
Merge pull request #4498 from lhuard1A/libvirt-coreos
...
Provide a way to create a multi-minions cluster on local VMs faster than with vagrant.
2015-02-26 14:42:05 -08:00
Brendan Burns
16b97a4a45
Merge pull request #4591 from derekwaynecarr/origin_example
...
WIP: Example running OpenShift Origin as pod on Kubernetes
2015-02-26 14:38:21 -08:00
Eric Tune
e77745672c
Merge pull request #4577 from satnam6502/cluster-name
...
Qualify the name of forwarding rules with INSTANCE_PREFIX
2015-02-26 13:17:49 -08:00
Daniel Smith
3038a5624e
Merge pull request #4859 from dchen1107/master
...
Move salt based clusters to Docker 1.5.0
2015-02-26 11:32:07 -08:00
Zach Loafman
e10f54eebf
Merge pull request #4762 from satnam6502/es-image
...
Make a Kubernetes specific version of an Elasticsearch Docker container
2015-02-26 11:24:09 -08:00
Dawn Chen
59a9030413
Move salt based clusters to Docker 1.5.0
2015-02-26 11:06:53 -08:00
Subin M
fc21144d4e
v1beta3 api json for grafana example
2015-02-27 00:10:08 +05:30
Zach Loafman
eedd9ec317
Merge pull request #4812 from rsokolowski/skydns-version
...
Update skydns's etcd to version 2.0.3
2015-02-26 07:00:58 -08:00
Zach Loafman
84a2a9766a
Revert "Remove host ports from the update demo and update tests"
2015-02-25 09:56:03 -08:00
rsokolowski
b05274e237
Update skydns's etcd to version 2.0.3
2015-02-25 18:22:23 +01:00
Rohit Jnagal
0bc98a75f4
Merge pull request #4769 from resouer/fix-mess
...
Fix commands order & add guide in k8s-ubuntu-cluster readme
2015-02-25 06:40:19 -08:00
resouer
031e75a02d
Delete extra spaces in configure.sh
2015-02-25 02:54:12 +00:00
Robert Bailey
dd87c247a5
Remove host ports from the update demo and update tests
2015-02-24 15:34:18 -08:00
resouer
ce6d3b7ea3
Fix commands order & add guide in readme
2015-02-24 10:36:07 +00:00
Satnam Singh
eda8a676f4
Make a Kubernetes specific version of an Elasticsearch Docker container
2015-02-23 18:41:56 -08:00
Satnam Singh
19b927ea57
Name a cluster and use it to make forwarding rules for GCE
2015-02-23 17:04:33 -08:00
Zach Loafman
9936f09b78
Merge pull request #4715 from a-robinson/gce-mount
...
Add the salt-overlay directory to the GCE master-pd and reserve the master's IP
2015-02-23 15:46:36 -08:00
Alex Robinson
6a18b74fa3
Minor reordering of GCE kube-up subcommands to keep them logically grouped.
2015-02-23 13:57:09 -08:00
Alex Robinson
953982f47f
Add the salt-overlay and /etc/salt directories to the GCE master-pd and reserve
...
the master's IP upon creation to make it easier to replace the master later.
This pulls out the parts of PR #3174 that don't break anything and will
make upgrading existing clusters in the future less painful.
Add /etc/salt to the master-pd
2015-02-23 13:56:11 -08:00
Vishnu Kannan
e9271dabde
Use heapster v0.8.
2015-02-23 18:11:02 +00:00
Zach Loafman
ea5d2f99ae
Merge pull request #4622 from satnam6502/cluster-logging
...
Update cluster logging documentation to use kubectl for public IPs
2015-02-23 09:57:46 -08:00
derekwaynecarr
87a41b0934
Improve vagrant reliablility, fix race condition with openvswitch and docker
2015-02-21 13:31:50 -05:00
derekwaynecarr
b8172f9fba
Example running OpenShift Origin as pod on Kubernetes
2015-02-20 15:35:35 -05:00
Zach Loafman
0563832ab3
Merge pull request #4627 from satnam6502/delete-logging-services
...
Delete cluster level logging services during kube down
2015-02-20 12:12:27 -08:00
Victor Marmol
ff7726d1ef
Merge pull request #4655 from saad-ali/fix2884quick
...
Add monit process monitoring for kubelet and docker
2015-02-20 11:07:06 -08:00
derekwaynecarr
be0e327088
Do not pass --kubeconfig during kube-up since shell script picks it up already
2015-02-20 12:11:05 -05:00
Victor Marmol
450aeb7bfc
Merge pull request #4654 from davidopp/somebranch
...
Have etcd listen on all interfaces so that monit probes succeed. Closes ...
2015-02-20 08:07:52 -08:00
David Oppenheimer
ba749284d0
Have etcd listen on all interfaces so that monit probes succeed. Closes #3852 .
2015-02-19 23:14:14 -08:00
saadali
4dea0488e6
Add monit process monitoring for kubelet and docker
2015-02-19 22:22:05 -08:00
Vishnu Kannan
e2cdcad555
Update to heapster version v0.7.
...
Added the new label required for cluster addon services.
Made Grafana UI accessble via the proxy on the api-server.
2015-02-20 03:22:41 +00:00
Satnam Singh
df2dfd6695
Add kubernetes.io/cluster-service label to cluster level logging services
2015-02-19 16:03:41 -08:00
Satnam Singh
434b74da63
Delete cluster level logging services during kube down
2015-02-19 14:30:53 -08:00
Tim Hockin
fcfe420685
Add cluster-service label to DNS
...
Also rename the rc, pod, and service, which I have meant to do for a long time.
2015-02-19 14:15:48 -08:00
Satnam Singh
b2fcb14db1
Update cluster logging documentation to use kubectl for obtaining the public IPs
2015-02-19 14:05:16 -08:00
Brendan Burns
e4e68e2fa5
Merge pull request #4138 from justinsb/fix_duplicate_master_arg
...
Remove duplicate --master arg from kube-scheduler
2015-02-19 11:58:23 -08:00
Brendan Burns
a57d6a10e5
Merge pull request #3922 from ZJU-SEL/ubuntu-cluster
...
Scripts to install k8s on ubuntu cluster with flannel network
2015-02-19 11:48:57 -08:00
David Oppenheimer
c99a37d3a3
Merge pull request #4587 from gmarek/client2
...
Fix monit config for etcd
2015-02-19 11:37:47 -08:00
Yu-Ju Hong
cc6c48616b
Merge pull request #4584 from brendandburns/master
...
Remove kubecfg from the client tools we attempt to distribute.
2015-02-19 08:44:27 -08:00
gmarek
19b7c01084
Fix monit config for etcd
2015-02-19 13:11:43 +01:00
Lénaïc Huard
ce7a993269
libvirt-coreos cluster provider
...
libvirt-coreos is a cluster provider for kubernetes that starts local VMs and
runs kubernetes on it.
Its goal is to provide a multi-machines environment to develop and test kubernetes.
The purpose is mostly the same as the vagrant provider but with a big focus on
efficiency. The vagrant cluster takes a long time to boot and consumes a huge
amount of disk space. libvirt-coreos aims at being cheaper. As a consequence,
libvirt-coreos allows to start bigger clusters with more minions than vagrant.
2015-02-19 12:44:35 +01:00
Brendan Burns
c9657cad04
Merge pull request #4319 from justinsb/aws_fixes
...
Fixes to get AWS tests to run
2015-02-18 22:43:46 -08:00
Brendan Burns
664de16c81
Remove kubecfg from the client tools we attempt to distribute.
2015-02-18 22:26:26 -08:00
Zach Loafman
6af6de30a8
Merge pull request #4550 from brendandburns/master
...
Add a missing implementation from GKE clusters.
2015-02-18 14:37:16 -08:00
Brendan Burns
dd912936bc
Add a missing implementation from GKE clusters.
2015-02-18 13:40:00 -08:00
Prashanth Balasubramanian
6fb36dc0bc
Teach kubectl to avoid local/util, since its gone.
2015-02-18 12:43:20 -08:00
Huamin Chen
3454e4e189
remove reference to local from KUBERNETES_PROVIDER comment
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-02-18 11:45:56 -05:00
Xingyu Chen
aeeebe2126
finish the multinode ubuntu k8s setup script and guide ,tested ok
2015-02-18 19:09:06 +08:00
Brendan Burns
eee9804e97
Strip whitespace that OS X inserts on wc calls.
2015-02-17 17:19:33 -08:00
Zach Loafman
fe5b257cfc
Merge pull request #4427 from satnam6502/e2e_cluster_logging
...
Enabled Elasticsearch cluster level logging for e2e test clusters
2015-02-17 14:32:26 -08:00
Tim Hockin
003c0986b4
Merge pull request #4478 from thommay/rackspace_cloud_base
...
Basic Rackspace cloud support
2015-02-17 13:41:31 -08:00
Alex Robinson
3043ae9144
Merge pull request #4492 from jlowdermilk/e2e
...
Cleanup resources after services/guestbook e2e tests.
2015-02-17 12:04:46 -08:00
CJ Cullen
47622092fd
Merge pull request #4164 from tkulczynski/mig
...
Use Managed Instance Group for managing Nodes in GCE
2015-02-17 12:01:48 -08:00
Tomek Kulczynski
bcadad2e2e
Use Managed Instance Group instead of manually creating Nodes in GCE
2015-02-17 20:33:31 +01:00
Jeff Lowdermilk
8ad671b01e
Cleanup resources after shell tests exit
2015-02-17 11:27:54 -08:00
Zach Loafman
b339882d9e
Merge pull request #4477 from chrishiestand/gcloud-preview-check-stderr
...
bugfix in util.sh, fix silent hang
2015-02-17 11:15:55 -08:00
Nikhil Jindal
b5f29b2fc7
Merge pull request #4479 from ed0t/patch-2
...
Update kube-controller-manager
2015-02-17 11:12:58 -08:00
Edoardo Tosca
4ec5bb04fd
Update kube-controller-manager
...
found typo. too many double quotes.
2015-02-17 11:09:22 +00:00
Thom May
8357e1521a
Basic Rackspace cloud support
...
This enables all but Load Balancer support for the Rackspace public
cloud platform.
2015-02-17 10:59:40 +00:00
Chris Hiestand
38aeb72bf7
bugfix in util.sh, fix silent hang
...
`gcloud preview --help >/dev/null 2>&1` would silently hang if the
preview component was not installed. Instead, let stderr flow normally.
to reproduce the bug and verify the fix:
1. gcloud components remove preview #answer yes
2. gcloud preview --help >/dev/null 2>&1 #note the hang, ^C
3A. gcloud preview --help >/dev/null #now prompts you to install preview component
the fix also works when run via "kube-up.sh"
alternatively: `gcloud -q preview --help >/dev/null 2>&1` will silently install
the missing preview component
2015-02-17 01:35:24 -08:00
derekwaynecarr
a0cb252d40
Fix vagrant cluster/kube-up
2015-02-16 18:34:50 -05:00
Jeff Lowdermilk
aa32f1b2ce
Retry #4337 : Make gce kubeconfig context include project
2015-02-13 13:31:50 -08:00
Satnam Singh
6625136d80
Enabled Elasticsearch cluster level logging for e2e test clusters
2015-02-13 11:15:47 -08:00
Jeff Lowdermilk
d528439ee5
Unbreak cluster/validate-cluster.sh
2015-02-13 10:48:32 -08:00
Eric Tune
7e6015141d
Merge pull request #4401 from jlowdermilk/local-kubeconfig
...
Make local clusters work painlessly with kubeconfig
2015-02-13 09:11:36 -08:00
Zach Loafman
e2ec52bfdf
Revert "Make gce's kubeconfig context include the gce project"
2015-02-12 17:01:06 -08:00
Jeff Lowdermilk
61cc821506
Make local clusters work painlessly with kubeconfig
2015-02-12 16:30:41 -08:00
Satnam Singh
edea91e519
Merge pull request #4337 from jlowdermilk/kubeconfig
...
Make gce's kubeconfig context include the gce project
2015-02-12 15:22:26 -08:00
Eric Tune
dd8f335380
Merge pull request #4376 from dchen1107/podstatus
...
Fix podstatus issue caused by docker's resource temporarily unavailable issue
2015-02-12 13:16:09 -08:00
Eric Tune
9e015fd216
Handle unset dollar-at.
...
When no args are passed to a script, "$@" is unset,
which causes a shell error in "nounset" mode.
This change passes an empty string to kubectl in that case
so it can print help.
2015-02-12 11:56:58 -08:00
Dawn Chen
23b8b5ea6a
Configure docker with larger open files.
2015-02-11 23:52:58 -08:00
Jeff Lowdermilk
41547a1152
Fix kube-up bug introduced by #4353
2015-02-11 17:44:28 -08:00
Eric Tune
59a06b5073
Don't set --etcd_servers argument for kubelet.
...
This is ignored by all recent kubelet versions when api_servers is
set. And it is set in this salt file.
2015-02-11 15:53:26 -08:00
roberthbailey
0194ed8575
Merge pull request #4353 from erictune/fix_get_password
...
Don't fail get-password when no current-context.
2015-02-11 15:25:24 -08:00
Eric Tune
c348b30f62
Update util.sh
2015-02-11 14:32:41 -08:00
Eric Tune
549504dfff
Don't fail get-password when no current-context.
2015-02-11 14:25:15 -08:00
Rajat Chopra
56462c020a
democratize restart-apiserver method across clouds
2015-02-11 13:44:43 -08:00
Justin Santa Barbara
cf470f7da4
Fixes to get AWS tests to run
...
They don't pass (yet), but they at least run!
2015-02-11 15:58:33 -05:00
Jeff Lowdermilk
3da5d27ab2
Make gce's kubeconfig context include the gce project
...
Change the .kubeconfig context that gce kube-up creates to project
+ instance prefix, so you can spin up clusters with the same name
in different compute projects without overwriting .kubeconfig.
2015-02-11 12:07:59 -08:00
Brian Grant
20f7cbb87b
Merge pull request #4291 from jlowdermilk/delete-kubecfg
...
Remove kubecfg, cleanup a few stray references.
2015-02-11 11:18:59 -08:00
Ryan Fowler
289e11ae6f
In Vagrant, copy $DNS_REPLICAS to /master-start.sh
...
DNS doesn't start without `DNS_REPLICAS`
2015-02-11 09:11:37 -06:00
Jeff Lowdermilk
197059b65d
Remove kubecfg, cleanup a few stray references.
2015-02-10 16:43:12 -08:00
Zach Loafman
6b3bb763f0
Merge pull request #4287 from derekwaynecarr/docker_group_gone
...
Docker 1.4.1 on Fedora no longer provisions a docker group
2015-02-10 14:28:02 -08:00
Zach Loafman
2fb4bd4724
Merge pull request #4286 from brendandburns/etcd
...
Add restart to the kube apiserver.
2015-02-10 12:09:34 -08:00
Clayton Coleman
dce4cd8b1d
Merge pull request #3613 from derekwaynecarr/namespace_as_kind
...
Namespace as kind
2015-02-10 14:49:58 -05:00
roberthbailey
1caf529102
Merge pull request #4273 from brendandburns/net
...
Add a simple driver to test cluster networking.
2015-02-10 10:07:32 -08:00
derekwaynecarr
46eb657722
docker does not provision a docker group anymore, so do not add vagrant user to it
2015-02-10 11:15:22 -05:00
Zach Loafman
2f231e0a2a
Merge pull request #4268 from rajatchopra/master
...
Fix vagrant networking round 2
2015-02-10 07:39:48 -08:00
Brendan Burns
c50e650d8b
Add restart to the kube apiserver.
2015-02-10 07:35:00 -08:00
derekwaynecarr
0bd0e12bbc
Add support for Namespace as Kind
...
Add example for using namespaces
2015-02-10 09:50:50 -05:00
Brendan Burns
abb0b24a98
Add a simple driver to test cluster networking.
2015-02-09 20:55:51 -08:00
Rajat Chopra
1d12cad456
Fix vagrant networking. Include the master as part of overlay. And remove STP for efficiency.
...
fix e2e services for vagrant
Kubelet should wait on SDN to finish
Do not require docker on master for default clouds
2015-02-09 14:37:27 -08:00
Ravi Sankar Penta
3a5ef05f64
Make periodic sync nodes from cloud provider optional.
...
--sync_nodes=false gives user flexibility to add/remove nodes in the
cluster using REST api/kubectl cli and at the same time can use
cloud provider for other resources like persistent disks, etc.
2015-02-09 13:42:44 -08:00
Zach Loafman
6b8c332cd3
Revert "Fix vagrant networking"
2015-02-09 13:40:11 -08:00
Clayton Coleman
d6069aa13a
Merge pull request #4204 from rajatchopra/master
...
Fix vagrant networking
2015-02-09 14:52:13 -05:00
Rajat Chopra
9f10108758
Kubelet should wait on SDN to finish
2015-02-09 11:22:14 -08:00
Satnam Singh
a57d4c593c
Report the found minions during validation of cluster
2015-02-09 10:19:04 -08:00
Rajat Chopra
db493dc6ce
stick to num_minions=1 for the default
2015-02-09 09:59:31 -08:00
Brendan Burns
a86f43bf53
rev the version for get-kube.sh
2015-02-06 22:14:58 -08:00
Rajat Chopra
a9d8713db4
fix e2e services for vagrant
2015-02-06 18:34:27 -08:00
Brendan Burns
49a9f8b512
Fix kube-up.sh for OS X.
2015-02-06 16:35:39 -08:00
Zach Loafman
c5fcd9d568
Merge pull request #4205 from jlowdermilk/gce-kube-up
...
Use kubectl config -o template to get password in gce kube-up
2015-02-05 18:43:32 -08:00
Rajat Chopra
b61ea1bbf1
Fix vagrant networking. Include the master as part of overlay. And remove STP for efficiency.
2015-02-05 17:41:27 -08:00
Tim Hockin
7c5625b2dd
Merge pull request #4120 from justinsb/fix_4118
...
Fix enable_cluster_dns test
2015-02-05 16:28:46 -08:00
Jeff Lowdermilk
122124f9e1
Merge pull request #4175 from wojtek-t/kubectl_silent
...
kubectl doesn't fail silently with no k8s master
2015-02-05 14:58:24 -08:00
Jeff Lowdermilk
8f6d9c1039
Use config output formatting to get password in gce kube-up
...
Gets rid of e2e dependency on pyyaml.
2015-02-05 14:54:45 -08:00
Wojciech Tyczynski
9d9bca9958
kubectl doesn't fail silently with no k8s master
2015-02-05 19:37:20 +01:00
Zach Loafman
0b456e40bf
Fix jenkins/hack/e2e.sh, log errors better
2015-02-05 09:16:11 -08:00
Zach Loafman
2f33c06c21
Remove cluster/test-network.sh
...
To fix this, it would be an alias for:
hack/ginkgo-e2e.sh -t TestNetwork
... which may not work on binary distributions, because it's relying
on test assets, so it probably shouldn't live in cluster/ ...
2015-02-05 08:14:39 -08:00
Filipe Brandenburger
7bb62cbfb3
Make e2e shell tests work standalone
...
Simply incorporate some of the boilerplate from hack/e2e.go into the
scripts in hack/e2e-suite.
Use environment variables with default values to allow overrides in
kubectl command line and to use a versioned package root.
Tested:
- Ran `go run hack/e2e.go -test` on a test cluster.
- Ran the test cases individually.
- Ran hack/e2e-suite/goe2e.sh -t Pods to confirm it takes arguments.
- Also fixed cluster/test-network.sh (which should be more and more irrelevant.)
2015-02-05 00:22:16 -08:00
Justin Santa Barbara
e72d3392cc
Remove duplicate --master arg from kube-scheduler
2015-02-04 19:05:05 -05:00
Satnam Singh
5691b535eb
Report the found minions during validation of cluster
2015-02-04 15:58:04 -08:00
Justin Santa Barbara
7790435915
Fix for bool vs string comparisons in salt templates
...
Fixes #4118
2015-02-04 14:09:10 -05:00
Zach Loafman
ffe6149d51
Merge pull request #4097 from jlowdermilk/fix-jenkins-e2e
...
Fix get-password for gce
2015-02-03 20:09:48 -08:00
Jeff Lowdermilk
06aa8bd164
Fixes get-password for gce
2015-02-03 19:38:24 -08:00
Zach Loafman
2f546ce649
Parameterize ENABLE_{NODE,CLUSTER}_{LOGGING,MONITORING} and LOGGING_DESTINATION
...
In config-{default,test.sh}. This will make it possible for e.g.
Jenkins to override LOGGING_DESTINATION. Also reorder the parameters
so they're in the same order across files for easier scanning.
2015-02-03 17:23:17 -08:00
Brendan Burns
baba7d6004
Merge pull request #4034 from jlowdermilk/kube-up
...
Use kubectl to manage config for gce clusters
2015-02-03 14:50:38 -08:00
Alex Robinson
793677e8e2
Merge pull request #4062 from dchen1107/image
...
Upgrade to container-vm-v20150129 image
2015-02-03 10:50:28 -08:00
Zach Loafman
ae27f29c56
Reinstate cluster logging URLs to the end of kube-up.sh
...
Adds labels to the services, waits for them to be created (which
should be instant, but just in case), query the forwarding rules like
as we did before.
Fixes #3893
2015-02-03 08:27:02 -08:00
Dawn Chen
f919b3e9c6
Upgrade to container-vm-v20150129 image
2015-02-02 16:57:43 -08:00
Jeff Lowdermilk
e0ec192869
Use kubeconfig to manage config for gce/e2e clusters
2015-02-02 15:02:25 -08:00
Justin SB
9a29d9f92a
Etcd data dir must be empty
...
Otherwise we get the error "unknown wal version in data dir /var/etcd"
When this is the homedir for etcd, e.g. .bashrc confuses it
2015-02-02 08:09:32 -08:00
derekwaynecarr
4dd50a18c3
Fix vagrant regression, add flag to easily enable v1beta3
2015-01-30 12:16:24 -05:00
Satnam Singh
db416c4f39
Merge pull request #3970 from justinsb/fix_aws
...
aws cluster/kube-up.sh fixes
2015-01-30 07:56:01 -08:00
derekwaynecarr
3cb015c09c
Missing boilerplate
2015-01-30 00:22:17 -05:00
derekwaynecarr
aef084bf9d
Various vagrant fixes, etcd 2.0
2015-01-30 00:15:34 -05:00
Satnam Singh
e619f303d7
Merge pull request #3960 from brendandburns/shell_sucks
...
Update etcd to version 2.0.0
2015-01-29 18:46:18 -08:00
Justin Santa Barbara
d8791acdba
Pause between launching master and minions
...
Salt does not retry if master is not ready, apparently
2015-01-29 21:08:27 -05:00
Brendan Burns
a20ca78fb3
Update etcd to version 2.0.0
2015-01-29 17:53:53 -08:00
Justin Santa Barbara
eb1d9d0a46
Add missing = to --machines arg
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
5d864b006a
Add aws to list of clouds that use tokens
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
51225c76da
Apply jbeda's conditional tar fix
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
3fb61912aa
Quote args in /srv/salt-overlay/pillar, add new vars
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
bb406ce87f
Allow # of minions to be configured
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
8058632f5f
Move tag creation & retry logic to a function
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
2f195578cc
Create /srv/kuberentes/known_tokens.csv on AWS
2015-01-29 20:35:35 -05:00
Justin Santa Barbara
d20188c6d4
Create shared secret in AWS scripts
2015-01-29 20:35:35 -05:00
Justin Santa Barbara
bb0431dce8
Pass cloud & cloud_config to kube-apiserver for AWS
2015-01-29 20:35:35 -05:00
Tim Hockin
a1b51d9165
Maybe make services e2e test more resilient to GCE errors
2015-01-29 15:50:46 -08:00
Tim Hockin
35d59e6219
Merge pull request #3851 from satnam6502/bigcluster
...
Generate IP addresses for minions of large GCE clusters
2015-01-29 14:34:13 -08:00
Tim Hockin
d01ea11a6e
Merge pull request #3856 from smarterclayton/validation_logic_needs_cleanup
...
Validation of ObjectMeta is inconsistently applied
2015-01-29 14:12:44 -08:00
Clayton Coleman
053c2b2100
Fix grafana and heapster RC names
2015-01-29 16:26:39 -05:00
Brendan Burns
ca6576d060
Add a simple script for running go e2e tests against existing clusters.
...
Also add an even simpler script for testing the network setup.
2015-01-28 16:39:21 -08:00
Brendan Burns
bd802c41ff
Merge pull request #3863 from roberthbailey/get-kube
...
Add GKE as a provider to get-kube.sh.
2015-01-28 10:15:04 -08:00
Robert Bailey
83c8cda243
Add GKE as a provider to get-kube.sh.
...
Bump the default version from 0.7.2 to 0.8.1.
2015-01-27 22:08:22 -08:00
Brendan Burns
c7c11d7731
Add monit support for restarting etcd to the master.
2015-01-27 20:15:24 -08:00
Satnam Singh
72c1820055
Generate IP addresses for minions of large GCE clusters
...
Use env for for subnet size
2015-01-27 16:11:39 -08:00
Rob Landers
6461928e6b
fixes azure provisioning with portal created vnets
2015-01-23 22:04:00 -05:00
Vish Kannan
35d0042ccf
Merge pull request #3767 from vmarmol/clean
...
Update cAdvisor to 0.8.0.
2015-01-23 15:00:17 -08:00
Victor Marmol
94988aece2
Update cAdvisor to 0.8.0.
2015-01-23 11:11:15 -08:00
Vishnu Kannan
82bbb3e78b
Update monitoring components to the latest released versions.
2015-01-23 18:59:05 +00:00
Tim Hockin
61293afad6
better DNS docs
2015-01-22 12:18:25 -08:00
Zach Loafman
a305269e18
Deferred creation of SkyDNS, monitoring and logging objects
...
This implements phase 1 of the proposal in #3579 , moving the creation
of the pods, RCs, and services to the master after the apiserver is
available.
This is such a wide commit because our existing initial config story
is special:
* Add kube-addons service and associated salt configuration:
** We configure /etc/kubernetes/addons to be a directory of objects
that are appropriately configured for the current cluster.
** "/etc/init.d/kube-addons start" slurps up everything in that dir.
(Most of the difficult is the business logic in salt around getting
that directory built at all.)
** We cheat and overlay cluster/addons into saltbase/salt/kube-addons
as config files for the kube-addons meta-service.
* Change .yaml.in files to salt templates
* Rename {setup,teardown}-{monitoring,logging} to
{setup,teardown}-{monitoring,logging}-firewall to properly reflect
their real purpose now (the purpose of these functions is now ONLY to
bring up the firewall rules, and possibly to relay the IP to the user).
* Rework GCE {setup,teardown}-{monitoring,logging}-firewall: Both
functions were improperly configuring global rules, yet used
lifecycles tied to the cluster. Use $NODE_INSTANCE_PREFIX with the
rule. The logging rule needed a $NETWORK specifier. The monitoring
rule tried gcloud describe first, but given the instancing, this feels
like a waste of time now.
* Plumb ENABLE_CLUSTER_MONITORING, ENABLE_CLUSTER_LOGGING,
ELASTICSEARCH_LOGGING_REPLICAS and DNS_REPLICAS down to the master,
since these are needed there now.
(Desperately want just a yaml or json file we can share between
providers that has all this crap. Maybe #3525 is an answer?)
Huge caveats: I've gone pretty firm testing on GCE, including
twiddling the env variables and making sure the objects I expect to
come up, come up. I've tested that it doesn't break GKE bringup
somehow. But I haven't had a chance to test the other providers.
2015-01-21 12:25:50 -08:00
Joe Beda
d20b9d4567
Merge pull request #3666 from thockin/golang-static
...
Fix static builds in go1.4
2015-01-21 10:07:41 -08:00
Tim Hockin
4061de1ef2
Merge pull request #3510 from thockin/dns
...
Update DNS doc
2015-01-21 08:46:58 -08:00
Tim Hockin
0a538132cf
Fix static builds in go1.4
...
https://github.com/golang/go/issues/9344
2015-01-20 21:04:04 -08:00
Joe Beda
4357e9b154
Fix SSH for vagrant.
...
This is used as part of the services.sh test.
2015-01-20 16:47:51 -08:00
Joe Beda
ae06ebc8ee
Fix iptables rule from when vagrant was reorganized.
2015-01-20 16:47:09 -08:00
Joe Beda
611be41aa5
Set VAGRANT_CWD so commands work from anywhere
2015-01-20 09:11:29 -08:00
Joe Beda
c5634e90ba
Verify cluster size before e2e
2015-01-20 09:11:29 -08:00
Andrew Seidl
6dee1d7fa4
Fix typos in user-facing strings
2015-01-18 01:32:34 -06:00
Tim Hockin
2367360321
Update DNS doc
2015-01-17 19:42:09 -08:00
Vishnu Kannan
50c32fbba4
Adding a replication controller for all monitoring pods.
...
Removed auth for Grafana to facilitate usage via service proxy on the api-server.
Added a grafana service
Removed elasticsearch dependency for monitoring - faster startup times.
2015-01-16 18:37:46 +00:00
Zach Loafman
43cd9e91f6
Revert "Adding a replication controller for all monitoring pods."
2015-01-16 07:16:54 -08:00
Satnam Singh
d443dd8ea6
Merge pull request #3489 from vishh/monitoring_rc
...
Adding a replication controller for all monitoring pods.
2015-01-15 18:18:54 -08:00
Vishnu Kannan
ca2267e3e9
Adding a replication controller for all monitoring pods.
...
Removed auth for Grafana to facilitate usage via service proxy on the api-server.
Added a grafana service
Removed elasticsearch dependency for monitoring - faster startup times.
2015-01-16 00:56:51 +00:00
derekwaynecarr
123c96164e
Disable defaults plugin
2015-01-15 19:42:20 -05:00
roberthbailey
5caeac7460
Merge pull request #3534 from satnam6502/validate-cluster
...
Fix Kubelet check in validate-cluster
2015-01-15 14:53:35 -08:00
bgrant0607
97c7758131
Merge pull request #3506 from satnam6502/kibana
...
Remove curl check from Kibana image
2015-01-15 13:45:20 -08:00
roberthbailey
0b9f6bc8bb
Merge pull request #3528 from satnam6502/fixoutput
...
Report project and zone only once for GCE
2015-01-15 13:35:48 -08:00
Satnam Singh
3765e83110
Fix Kubelet check in GCE validate-cluster
2015-01-15 12:55:21 -08:00
Satnam Singh
1bff012c36
Convert basic.sh e2e test to Go
2015-01-15 11:41:29 -08:00
Joe Beda
224ffa4567
Merge pull request #3480 from jbeda/all_pflag
...
Convert all main binaries to pflag library
2015-01-15 11:26:41 -08:00
Satnam Singh
9ba6525597
Report project and zone only once
2015-01-15 11:21:42 -08:00
Eric Tune
bc25748b36
Merge pull request #3472 from derekwaynecarr/default_cpu_mem
...
Admission control plugin for resource defaults
2015-01-15 09:35:17 -08:00
Joe Beda
7ee327146a
Fix typo in initd scripts
2015-01-15 09:12:20 -08:00
Joe Beda
228659a177
Fix up for posix flags
2015-01-15 09:12:19 -08:00
Satnam Singh
cd5a44e381
Remove curl check from Kibana image
2015-01-14 21:32:29 -08:00
Dawn Chen
ba8b4518c1
Upgrade OSS k8s on GCE to latest containervm image: container-vm-v20150112
2015-01-14 16:17:57 -08:00
Daniel Smith
4e539001df
Merge pull request #3473 from zmerlynn/fix_pd_sh
...
GKE: Fix unbound variable when pd.sh fails
2015-01-14 13:43:54 -08:00
derekwaynecarr
7f724867c2
Admission control plugin for resource defaults
2015-01-14 15:28:59 -05:00
Zach Loafman
8cf93288fa
GKE: Fix unbound variable when pd.sh fails
...
In the other providers, MINION_NAMES is bound early and detect_minions
is actually only used to detect the IPs of the minions, which is why I
didn't expect to need to call it. Move the initialization to
config-common.sh in GKE as well.
This follows the pattern of cluster/gce/config-{default,test}.sh
2015-01-14 12:18:47 -08:00
Robert Bailey
df03cc3e0c
Remove unnecessary loop.
2015-01-13 16:03:30 -08:00
Satnam Singh
295bd3768d
Launch Elasticsearch and Kibana automatically
2015-01-09 13:41:46 -08:00
derekwaynecarr
2d9977cf1a
Reduce number of minions to improve user experience
2015-01-09 13:00:48 -05:00
Brendan Burns
59aae065ac
Address comments.
2015-01-08 15:57:35 -08:00
derekwaynecarr
f6eb020198
Missing config vars in vagrant provision
2015-01-08 16:53:45 -05:00
Max Forbes
c3322bc97d
Make an 'allow-ssh-on-all-nodes' firewall rule when on a non-default network.
2015-01-07 18:08:38 -08:00
Zach Loafman
fbda9f4663
Merge pull request #3297 from mbforbes/addNet
...
GKE: Create network if needed.
2015-01-07 16:53:17 -08:00
Eric Tune
c2b3d678c0
Merge pull request #3248 from derekwaynecarr/admission_control_hooks
...
Implement basic admission control framework
2015-01-07 16:52:49 -08:00
Max Forbes
67f3414ede
GKE: Create network if needed.
2015-01-07 16:44:06 -08:00
Maxwell Forbes
c48536304a
Merge pull request #3296 from zmerlynn/fix_gke_network_sigh
...
GKE: Also need to muck with the firewall rule here
2015-01-07 16:30:19 -08:00
Zach Loafman
36e2886d95
GKE: Also need to muck with the firewall rule here
2015-01-07 16:12:20 -08:00
Tim Hockin
2c54dd5cb0
Merge pull request #3291 from zmerlynn/disable_gke_cluster_dns
...
Revert "GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP"
2015-01-07 16:06:50 -08:00
Zach Loafman
a203410f15
Revert "GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP"
...
We actually can't yet support cluster DNS inside GKE yet; it conflicts
with how we handle startup internally.
This reverts commit fdccfe970d
.
2015-01-07 14:50:10 -08:00
Daniel Smith
f5c179f83d
Merge pull request #3288 from dchen1107/cleanup
...
Using google/cadvisor:0.7.1 instead of :latest
2015-01-07 14:47:38 -08:00
Dawn Chen
6cb7f0451c
Using google/cadvisor:0.7.1 instead of :latest
2015-01-07 14:14:20 -08:00
Zach Loafman
15f0068c7d
Allow specifying GCE network in GKE provider, default to "e2e" for tests
2015-01-07 12:18:11 -08:00
derekwaynecarr
520ae3ef27
Implement basic admission control framework
2015-01-07 14:42:31 -05:00
Brendan Burns
3d8289258a
Merge pull request #3106 from brendandburns/simple
...
Add a script suitable for wget https://get.k8s.io | sh installation
2015-01-07 10:05:26 -08:00
Brendan Burns
1091744a5f
Address comments.
2015-01-06 15:02:32 -08:00
Satnam Singh
8ab2e9c61a
Use DNS for Elasticsearch
2015-01-06 07:33:48 -08:00
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