Zach Loafman
018b11bc3a
Retry object creation with --validate in kube-addons
...
The better solution is some fence with Salt, but the actual logs
provided in the bug don't support any race condition here, plus the
ordering in the Salt configuration seems correct.
We haven't seen this again in a while, but given the results of the
situation (a borked cluster), I'm proposing a relatively simple
workaround.
Fixes #4357 (dubiously)
2015-03-11 14:40:37 -07:00
Zach Loafman
e780592315
Merge pull request #5264 from jlowdermilk/kube-up
...
Standalone kubeconfig for gce kube-up (mulligan)
2015-03-11 11:46:45 -07:00
Eric Tune
5d31e1ab08
Merge pull request #5142 from derekwaynecarr/unify_admission_control_salt
...
Unify admission control plug-ins across providers
2015-03-11 09:31:43 -07:00
derekwaynecarr
64eca7393a
Update to use yaml quote
2015-03-11 11:07:36 -04:00
derekwaynecarr
f71a91a131
Fix regression introduced when moving to standalone salt
2015-03-11 11:06:00 -04:00
derekwaynecarr
20853410bd
Unify azure and aws admission control
2015-03-11 11:06:00 -04:00
derekwaynecarr
468bf1da75
Enable common set of admission controllers across salt providers
2015-03-11 11:06:00 -04:00
Kieran O'Mahony
2b05820619
Update SkyDNS version
...
I had some trouble with the kubernetes docker image for SkyDNS being outdated. In my experience the version in `kubernetes/skydns:2014-12-23-001` will not behave correctly if it manages to startup before etcd, for details see skynetservices/skydns#142
Updating to SkyDNS latest fixes this.
2015-03-11 09:46:46 +00:00
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