Commit Graph

3511 Commits

Author SHA1 Message Date
Alex Robinson
69ab7026af Update fluentd-es to collect etcd logs and remove merge conflict cruft. 2015-07-30 22:21:01 +00:00
Alex Robinson
9e18c29e9f Make fluentd-gcp collect etcd's logs on the master. 2015-07-30 22:20:57 +00:00
Mike Danese
cdb7d1ec61 Merge pull request #11960 from brendandburns/docker
Update docker instructions to 1.0.1
2015-07-30 14:12:41 -07:00
Alex Robinson
94ae0a9a0d Make the kubelet on a GCE master check instance metadata for manifests.
Primary motivation: enable GKE and other cluster-as-a-service folks to
easily run additional logic on the master without having to modify salt
or SSH to the master after it's been created.
2015-07-30 21:04:34 +00:00
Mike Danese
5747df378d Merge pull request #11946 from mamikonyana/service-node-port-range
Allow settings --service-node-port-range option using a config variable
2015-07-30 13:23:45 -07:00
Brendan Burns
f89c9e3878 Merge pull request #11998 from vishh/update_heapster
Auto commit by PR queue bot
2015-07-30 13:10:02 -07:00
Arsen Mamikonyan
792849251a Allow settings --service-node-port-range option using a config variable 2015-07-30 12:39:32 -07:00
Vishnu Kannan
c08ad6b7c1 Avoid mounting ssl volumes for heapster container. 2015-07-30 10:45:26 -07:00
Mike Danese
01de52e91a Merge pull request #11931 from stensonb/master
minor doc typo
2015-07-30 08:21:04 -07:00
Wojciech Tyczynski
3cbbe72f9f Move etcd storage to pkg/storage/etcd 2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
2c5c1931e5 Revert "Implement 'Nodes Network' test for GKE" 2015-07-30 15:29:01 +02:00
Mike Danese
59a1dd4267 Merge pull request #11789 from mbforbes/nodesNetwork
Implement 'Nodes Network' test for GKE
2015-07-29 17:43:33 -07:00
Vishnu Kannan
b36ae6efba Upgrading heapster to v0.17.0 2015-07-29 16:13:33 -07:00
Brendan Burns
132575bcf8 Update single node docker to 1.0.1 2015-07-29 13:43:27 -07:00
Mike Danese
dcd6537b1b Merge pull request #11104 from gabrielweyer/patch-2
Stop prompting for storage account type
2015-07-29 11:08:37 -07:00
Mike Danese
025d3568bc Merge pull request #11970 from ZJU-SEL/deprecate-outdated-param
deprecate outdated param for deploying k8s on ubuntu
2015-07-29 10:30:20 -07:00
He Simei
a67be8e8ab deprecate outdated param 2015-07-29 13:57:14 +08:00
Jeff Lowdermilk
27ce920c1b Remove unused vars in cluster/gke/config and add warning 2015-07-28 11:58:20 -07:00
Bryan Stenson
85b04f9e6c minor doc typo 2015-07-28 09:24:17 -07:00
Egor Guz
1d12f4604a Added create folder command to avoid situation when apiserver doesn't start fast enough.
kube-apiserver.service has 'ExecStartPre=/usr/bin/mkdir -p /var/lib/kube-apiserver', but if server is not fast enough 'mv /home/core/known_tokens.csv /var/lib/kube-apiserver/known_tokens.csv' will fail.
2015-07-27 16:01:59 -07:00
Janet Kuo
180798cfa4 Use example syncer tags instead of hard-coded examples in doc 2015-07-27 14:48:41 -07:00
Piotr Szczesniak
f48543aba5 Made enabling Kube UI configurable 2015-07-27 08:23:04 +02:00
Mike Danese
5bd82ffe6d Merge pull request #11265 from mbforbes/gkeBashlog
Cleanup GKE bash logging
2015-07-24 18:51:36 -07:00
Max Forbes
bd9e09ba00 Implement 'Nodes Network' test for GKE 2015-07-24 17:05:30 -07:00
Mike Danese
d397d88499 Merge pull request #11390 from jfchevrette/fix-vagrant-eth1
Vagrant: virtualbox host-only network (eth1) not working after network restart
2015-07-24 13:12:24 -07:00
Mike Danese
01349cdbfa Merge pull request #11786 from a-robinson/fluentd
Update fluentd-gcp images to include latest Dockerfile changes
2015-07-24 12:40:41 -07:00
Mike Danese
08671ed481 Merge pull request #10602 from marun/vagrant-ip-cfg-from-env
Vagrant: Allow env override of IP addresses
2015-07-24 11:20:34 -07:00
Mike Danese
bfd22a6974 Merge pull request #10686 from mesosphere/kube-util
Move sourcing of provider-specific util.sh into kube-util.sh
2015-07-24 10:31:48 -07:00
Mike Danese
13c5761268 Merge pull request #11358 from ZJU-SEL/upgradek8s
[WIP]upgrade ubuntu bare-metal k8s to 1.0.1
2015-07-24 10:22:43 -07:00
Mike Danese
2e1e4f81cb Merge pull request #11794 from mikedanese/revert-revert
Revert revert of #11379
2015-07-24 10:20:48 -07:00
Mike Danese
e9084f95d1 Merge pull request #10517 from chrishiestand/gke-scopes
change shell var MINION_SCOPES to user setable
2015-07-24 09:22:25 -07:00
Simone Gotti
10904f2217 Set the right master port to kube-proxy in libvirt-coreos.
The currently specified port is the old 7080 read-only-port. As the
libvirt-coreos doesn't configure security, change it to the insecure-port 8080.
2015-07-24 12:10:57 +02:00
wizard
9b82c4716a upgrade k8s to 1.0.1 2015-07-24 13:31:52 +08:00
Brendan Burns
26de8cd6b2 Merge pull request #10601 from marun/docker-pkg-f22
Auto commit by PR queue bot
2015-07-23 22:15:50 -07:00
Mike Danese
c3fd33a18d fix test with array expansion 2015-07-23 21:04:47 -07:00
Mike Danese
0e10fac31e Revert "Revert "Fix libvirt-coreos cluster""
This reverts commit 889d724c19.
2015-07-23 21:03:23 -07:00
Mike Danese
889d724c19 Revert "Fix libvirt-coreos cluster" 2015-07-23 20:03:42 -07:00
Mike Danese
788012ae7b Merge pull request #11379 from lhuard1A/fix_libvirt_coreos
Fix libvirt-coreos cluster
2015-07-23 18:43:54 -07:00
Alex Robinson
0889307522 Update the fluentd-gcp images to include their latest Dockerfile changes.
Their Dockerfiles were changed in #11768.
2015-07-24 01:27:42 +00:00
Vish Kannan
6306ad1bce Merge pull request #11736 from thockin/cleanup-dns-legacy
Stop populating legacy DNS names
2015-07-23 17:30:00 -07:00
Vish Kannan
919fded0f8 Merge pull request #10401 from justinsb/workaround_salt_18089
Work around Salt 18089
2015-07-23 16:52:21 -07:00
Vish Kannan
45def3f3f3 Merge pull request #11768 from mr-salty/remove-fluent-plugin-gem-update
Remove gem update for fluent-plugin-google-cloud
2015-07-23 16:43:28 -07:00
Vish Kannan
3f47fc2fb1 Merge pull request #11762 from mbforbes/rollingAlpha
Support gcloud rolling-update command in 'preview' and 'alpha compute'
2015-07-23 14:53:18 -07:00
Max Forbes
5ff1566aac Support gcloud rolling-update command in 'preview' and 'alpha compute' 2015-07-23 14:16:31 -07:00
Tim Hockin
4e1630d3a9 Stop populating legacy DNS names 2015-07-23 13:51:09 -07:00
Vish Kannan
dc59c99d1a Merge pull request #11740 from piosz/config
Added possibility to overwrite ENABLE_CLUSTER_DNS with env var
2015-07-23 13:25:35 -07:00
Vish Kannan
87f59201ab Merge pull request #11483 from roberthbailey/secure-kubelet-config
Refactor the functions that generate auth for the kubelet and kubeproxy
2015-07-23 13:10:52 -07:00
Todd Derr
98ed2e8606 Remove gem update for fluent-plugin-google-cloud
This was originally submitted to pick up v0.3.1 of the cloud logging
plugin which had a fix for the name 'metadata' failing to resolve.
Since new releases of google-fluentd have this fix, it is no longer
required.

I've done some additional testing of 'gem update' behavior in the interim
and I think it is ok to use in targeted situations, but we should not be
doing an unconstrained update in general. The issue is that updating a
gem may bring new dependencies, some of those dependencies may include
native code, so it may try to launch a compiler, which isn't desirable
and prone to failure.

If we do need to grab an updated gem in the future we should specify an
explicit version and the --minimal-deps flag.
2015-07-23 15:06:56 -04:00
Vish Kannan
b6b8056a73 Merge pull request #11742 from jszczepkowski/scaler-up
Optional creation of nodes autoscaler for GCE.
2015-07-23 11:46:47 -07:00
Jerzy Szczepkowski
3808519907 Optional creation of nodes autoscaler for GCE.
Implemented optional creation and deletion of nodes autoscaler in kube-up and kube-down scripts for GCE.
2015-07-23 15:59:41 +02:00
Wojciech Tyczynski
4fa9fc7fbf Merge pull request #11266 from mbforbes/quietProject
Log Project (GKE) less and cleanup bash indentation
2015-07-23 10:54:05 +02:00
Wojciech Tyczynski
430422b181 Merge pull request #11268 from mbforbes/previewQuiet
(GKE) Stop 'gcloud preview' call from failing Jenkins jobs
2015-07-23 10:36:31 +02:00
Piotr Szczesniak
06b3406cef Added possibility to overwrite ENABLE_CLUSTER_DNS with env var
It's for autoscaling tests purposes and making the config consistent with
other flags like ENABLE_NODE_LOGGING
2015-07-23 10:25:06 +02:00
Wojciech Tyczynski
5988d30da0 Merge pull request #10715 from justinsb/spelling_octects
Spelling fix (in code): octects -> octets
2015-07-23 09:00:39 +02:00
Wojciech Tyczynski
a407051075 Merge pull request #11064 from derekwaynecarr/add_cert_ip_back
Some users of vagrant were getting different ip addresses in cert
2015-07-23 08:18:57 +02:00
Chris Hiestand
db1a73317c change shell var MINION_SCOPES to user setable
Because bash arrays may not be environment variables
 (see: <https://stackoverflow.com/questions/5564418/exporting-an-array-in-bash-script>)
 we have to change the MINION_SCOPES array to a string
* prefers aliases instead of full URLs for scopes

tested under GKE, needs GCE testing

Close #10458
2015-07-22 14:34:03 -07:00
David Oppenheimer
dec9adfe2e Replace ``shell with ``sh 2015-07-19 21:38:53 -07:00
Philibert Dugas
069c84cb51 Fixed ubuntu upstart scripts for etcd 2015-07-19 19:11:12 -04:00
Tim Hockin
25cec6ebb5 Fix errant quad-tick in docs 2015-07-18 14:06:08 -07:00
Robert Bailey
728b337e9c Refactor the functions that generate auth for the kubelet and kubeproxy
and remove the insecure configuration now that GKE has plumbed through
certificates.
2015-07-17 16:13:01 -07:00
Dawn Chen
ebc36c0e5a timeout docker load: 30 second, and restart docker daemon to workaround docker-load-hang issue. 2015-07-17 15:16:23 -07:00
Jean-Francois Chevrette
91a05c0709 source cluster env.sh on kube-up/down/push 2015-07-17 08:31:16 -04:00
Abhi Shah
aeb6599f51 Merge pull request #11320 from dchen1107/monit
Stop monit kube-addon on nodes.
2015-07-16 16:31:54 -07:00
Jean-Francois Chevrette
1f332860c4 same change for minion provision script 2015-07-16 18:12:41 -04:00
Jean-Francois Chevrette
04d377eff8 properly make sure that eth1 is not managed by NetworkManager 2015-07-16 18:05:08 -04:00
Jean-Francois Chevrette
e9bfe17f58 restart network twice to workaround bug 2015-07-16 14:57:23 -04:00
Robert Bailey
5e02f70dd0 Bump the container vm version to the latest build. 2015-07-16 09:30:33 -07:00
Lénaïc Huard
3b4a31dc81 Fix libvirt-coreos cluster
KUBERNETES=libvirt-coreos cluster/kube-up.sh produced the following error:

cluster/../cluster/libvirt-coreos/../../cluster/common.sh: line 83: user_args[@]: unbound variable

This was coming from the fact that, as a libvirt-coreos cluster runs locally on local VMs,
there is no authentication mechanism. This led to have user_args of common.sh unset.

In the case of libvirt-coreos, it is in fact expected to have no authentication token.
2015-07-16 18:09:53 +02:00
Max Forbes
fcb4e5e204 Log Project (GKE) less and cleanup bash indentation 2015-07-15 15:49:28 -07:00
Dawn Chen
7e665230c7 Stop monit kube-addon on nodes. 2015-07-15 11:11:55 -07:00
Wojciech Tyczynski
628ceac305 Increase kubelet start timeout in Monit config 2015-07-15 13:28:07 +02:00
Max Forbes
4a45aff0ec (GKE) Stop 'gcloud preview' call from failing Jenkins jobs. 2015-07-14 15:00:14 -07:00
Max Forbes
8e2f2af6d9 Cleanup GKE bash logging 2015-07-14 14:44:34 -07:00
Justin Santa Barbara
355e922b5d AWS: Restore (erroneously) removed get_instance_private_ip
Fix #11201
2015-07-14 13:45:12 -04:00
Brendan Burns
ab4448a0d6 Update multi-node docker instructions:
* Update etcd and add a warning about Docker 1.7.0
   * Update kubernetes to 0.21.2, Flannel to 0.5.0
   * Remove --sync-nodes which is removed.
2015-07-13 21:28:07 -07:00
Jason Riddle
b1fcb33c56 Change suggestion to use make quick-release 2015-07-13 13:36:00 -04:00
Jason Riddle
312d54c014 Add KUBE_RELEASE_RUN_TESTS=n to suggestion
Without KUBE_RELEASE_RUN_TESTS=n, it can take quite a while to build all of the necessary binaries since the tests have to run.
2015-07-11 19:33:11 -04:00
Gabriel Weyer
5f26cac373 Stop prompting for storage account type
`--type` is a mandatory parameter when creating a storage account, I used the cheapest one (Locally Redundant Storage). More details about the different types of storage can be found [https://azure.microsoft.com/en-us/documentation/articles/storage-introduction/#replication-for-durability-and-high-availability](here)
2015-07-11 14:40:05 +10:00
Max Forbes
739cb2f526 Robustly cleanup MIG template on GCE teardown 2015-07-10 10:14:04 -07:00
Abhishek Shah
bc99a57915 Assigned emptyDir for etcd data dir in skydns pod 2015-07-10 09:27:42 -07:00
Rohit Jnagal
906cc743be Merge pull request #11004 from bprashanth/dns_sidecar
Use the exec-sidecar as a healthz probe for the syndns container
2015-07-10 09:24:43 -07:00
derekwaynecarr
4898b014ec Some users of vagrant were getting different ip addresses in cert 2015-07-10 12:01:47 -04:00
Marek Grabowski
0c58e8a3f3 Merge pull request #10393 from ZJU-SEL/updatek8s
Bump the ubuntu k8s version to 0.19.3
2015-07-10 07:35:32 +02:00
Victor Marmol
cabecc1271 Merge pull request #10611 from marekbiskup/addon-update-kill-children
Addon update kill children
2015-07-09 21:09:58 -07:00
wizard
f7779a8162 update kubedns on ubuntu 2015-07-10 09:57:00 +08:00
wizard
69b55b82f8 update k8s to 0.19.3 2015-07-10 09:57:00 +08:00
Victor Marmol
ee8d2857fc Merge pull request #9381 from justinsb/aws_support_jessie
AWS: Add support for Vivid Vervet & Debian Jessie
2015-07-09 15:20:37 -07:00
Prashanth Balasubramanian
412467fe27 Use the exec-sidecar as a healthz probe for the syndns container 2015-07-09 15:13:46 -07:00
Wojciech Tyczynski
502e8e90d6 Merge pull request #10930 from bcbroussard/kube-ui-v1.1
Update the web ui (kube-ui) pod to v1.1
2015-07-09 15:20:26 +02:00
Marek Biskup
aa608258a6 kill child processes of addon-update on stop 2015-07-09 13:10:54 +02:00
Wojciech Tyczynski
e80a193664 Merge pull request #9943 from mamikonyana/override_ubuntu_defaults
Do not override environment variable in ubuntu defaults
2015-07-09 09:21:26 +02:00
Victor Marmol
f1e66c718d Merge pull request #10590 from roberthbailey/kubelet-on-nodes
Install the kubectl binary on nodes in addition to the master.
2015-07-08 16:13:12 -07:00
Justin Santa Barbara
c78b71d399 AWS: Treat ubuntu as an alias for 'latest ubuntu', i.e. 'vivid' 2015-07-08 17:00:44 -04:00
Justin Santa Barbara
dfac73d31a AWS: Change default OS to Ubuntu Vivid Vervet
The background for this change is in #9675.

In short, Vivid Vervet gives us a supported/updated image,
that runs Docker with a working storage engine, but doesn't
require a reboot as part of node start.

Fixes #9675.
2015-07-08 17:00:44 -04:00
Justin Santa Barbara
89900fa19b AWS: Ubuntu Vivid, set cgroup_root to docker
Otherwise libcontainer generates systemd unit file names that start with "-",
which are not valid.
2015-07-08 17:00:43 -04:00
Justin Santa Barbara
bdb2196abe AWS: Initial support for Ubuntu Vivid Vervet 2015-07-08 17:00:43 -04:00
Victor Marmol
7dd0dc1786 Merge pull request #10752 from justinsb/aws_query_by_subnet_id
AWS: Query by subnet-id, if we have it
2015-07-08 13:57:33 -07:00
Victor Marmol
3dd3d6e889 Merge pull request #10751 from justinsb/aws_existing_subnet
AWS: Allow callers to specify VPC_ID and SUBNET_ID
2015-07-08 13:57:13 -07:00
Justin Santa Barbara
8e69495f7f AWS: Add jessie support to cluster script 2015-07-08 16:47:55 -04:00
Victor Marmol
dd37642369 Merge pull request #10488 from justinsb/salt_support_systemd
Salt: support systemd (don't assume Redhat <=> systemd)
2015-07-08 13:43:08 -07:00
Victor Marmol
3be3603ef3 Merge pull request #10877 from brendandburns/aws
Fix AWS Setup.
2015-07-08 11:33:32 -07:00
BC Broussard
1220d3cf01 Update kube-ui pod to v1.1 2015-07-08 09:54:38 -06:00
derekwaynecarr
e2ddd2dd7b Missing ca crt in vagrant controllers 2015-07-08 10:59:10 -04:00
Brendan Burns
6d08ade4ce Don't start Docker by default on AWS 2015-07-07 21:57:43 -07:00
Brendan Burns
2e282013a8 Generate a kubeconfig file for the kubelet. 2015-07-07 21:29:38 -07:00
Yu-Ju Hong
f7e1a00477 Merge pull request #10884 from dchen1107/cleanup
Disable liveness for dns due to #10659
2015-07-07 17:59:17 -07:00
Yu-Ju Hong
1cf9a71aa2 Merge pull request #10872 from nikhiljindal/latestHeapster
Use latest heapster image
2015-07-07 17:35:40 -07:00
Dawn Chen
c6a0fd1eaf Upgrade to v6 from v5 2015-07-07 16:29:27 -07:00
Dawn Chen
4f947ce8ed Disable liveness for dns due to #10659 2015-07-07 16:27:38 -07:00
James Kyle
4c96fa7565 Resolves #9773, vmware_fusion can't find component
The error message thrown when the KUBERNETES_PROVIDER is vagrant and the
vagrant plugin cannot be found is ambiguous. This does not change
functionality, just provides more feedback as to the source of the
error.
2015-07-07 15:31:49 -07:00
nikhiljindal
e17e3579f3 Use latest heapster image 2015-07-07 14:40:18 -07:00
Yu-Ju Hong
76ec1be611 Merge pull request #10817 from satnam6502/sys-namespace
Change config files to kube-system which were missed in the original PR
2015-07-07 10:46:35 -07:00
Yu-Ju Hong
0947b2715a Merge pull request #9949 from iterion/aws-production-instance-types
AWS: Note about instance types
2015-07-07 10:16:22 -07:00
Satnam Singh
96c4e587ad Change config files to kube-system which were missed in the original PR 2015-07-07 01:05:19 -07:00
Satnam Singh
691c07763c Remove use of v1beta3 from ES logging 2015-07-06 18:47:45 -07:00
Yu-Ju Hong
639a7dac50 Merge pull request #10790 from satnam6502/fixns
Wait for service accounts in the kube-system namesapce
2015-07-06 18:36:56 -07:00
Satnam Singh
90e105521c Wait for service accounts in the kube-system namesapce 2015-07-06 18:12:25 -07:00
Daniel Smith
cfc68e9055 Built & pushed kube-ui v1.1 2015-07-06 16:04:28 -07:00
Karl Isenberg
fdf9515777 Add liveness probe to kube-ui 2015-07-06 16:04:23 -07:00
Brendan Burns
988aa6fdf6 Move things into a 'kube-system' namespace. 2015-07-06 15:08:23 -07:00
Yu-Ju Hong
1e0a16392d Merge pull request #10780 from cjcullen/testfix
Hacky workaround for #9822
2015-07-06 15:00:35 -07:00
Yu-Ju Hong
4a5b80fcb2 Merge pull request #10771 from ArtfulCoder/kube2sky-usev1
rebuilt kube2sky to use v1 api. new image ver is 1.11
2015-07-06 15:00:21 -07:00
Dawn Chen
747f84d553 Set resource limit for kube-ui addon container. 2015-07-06 13:36:22 -07:00
Abhishek Shah
1edfc82d96 rebuilt kube2sky to use v1 api. new image ver is 1.11 2015-07-06 12:32:23 -07:00
Yu-Ju Hong
b58e7c8c2d Merge pull request #10655 from dchen1107/cadvisor
Set minimal shares for containers with no cpu specified
2015-07-06 11:38:54 -07:00
Tim Hockin
6c88401889 Merge pull request #10271 from erictune/how-to-write-a-gsg
Scratch Getting-started-guide
2015-07-06 11:00:44 -07:00
Eric Tune
682abd9dab Scratch Getting-started-guide 2015-07-06 10:38:20 -07:00
CJ Cullen
edd419790e Hacky workaround for #9822 2015-07-06 10:02:53 -07:00
Yu-Ju Hong
8ce6fe855b Merge pull request #10712 from justinsb/always_install_socat
Salt: install socat; needed for port-forward
2015-07-06 09:58:52 -07:00
Yu-Ju Hong
83fbcba97b Merge pull request #10698 from justinsb/aws_master_sans
AWS: Configure SSL certificate alternate-names
2015-07-06 09:57:44 -07:00
Yu-Ju Hong
acf848a597 Merge pull request #10552 from shauns/patch-1
Respect DNS_DOMAIN setting in AWS+CoreOS
2015-07-06 09:36:54 -07:00
Justin Santa Barbara
cc68f87a7b AWS: Query by subnet-id, if we have it
If we are matching an existing subnet-id, query using that subnet-id!
2015-07-06 10:14:15 -04:00
Justin Santa Barbara
2429c7edf8 AWS: Allow callers to specify VPC_ID and SUBNET_ID
This is for people that want to run in a shared VPC/Subnet; while this should
work, we don't actively want to support it yet.  So we don't block it,
but we don't document/encourage it either!
2015-07-06 10:10:34 -04:00
Prashanth B
bb6f2f7ad9 Merge pull request #10716 from justinsb/spelling
Misc (non-code) spelling fixes
2015-07-05 11:23:17 -07:00
Zach Loafman
a2250d1caf Merge pull request #10597 from a-robinson/fluentd
Run fluentd on the master to collect the core master logs
2015-07-04 21:12:47 -07:00
Justin Santa Barbara
fca7822800 Misc (non-code) spelling fixes 2015-07-04 10:39:37 -04:00
Justin Santa Barbara
1ece037555 Spelling fix (in code): octects -> octets 2015-07-04 10:37:57 -04:00
Alex Robinson
4bfbd5f553 Add limits to the fluentd buffer size. 2015-07-03 23:24:08 +00:00
Justin Santa Barbara
6504df77f1 Salt: install socat; needed for port-forward
port-forward needs socat on the node hosts; we technically
don't need it today on the master, but this seems the right
place to put it, and socat is a small dependency.
2015-07-03 19:12:44 -04:00
Justin Santa Barbara
25007421ba Salt: re-remove comment block
It had been removed in upstream, but had been kept by mistake here.
2015-07-03 12:43:36 -04:00
Justin Santa Barbara
600a0d6fe7 Salt: have kube-addons service depend on init file
For symmetry with systemd
2015-07-03 12:41:59 -04:00
Justin Santa Barbara
a5b3c73ac4 Salt: Add service block for kube-proxy for systemd
We have the workaround for Salt's problems here, but we should still express
our intent.
2015-07-03 10:26:21 -04:00
Justin Santa Barbara
60d822435b Salt: clean daemon_args on RedHat, not systemd
I don't think it actually makes a difference based on how we're using it,
but this is now more of a precise change.
2015-07-03 10:24:32 -04:00
Justin Santa Barbara
ad0293e3f3 Salt: Add more dependencies to systemd services
This may help Salt reload services correctly, although we still
need the script until Salt's bug with reloading services on systemd
is resolved.

Salt bug: https://github.com/saltstack/salt/issues/16778
2015-07-03 01:40:15 -04:00
Justin Santa Barbara
944fc1ed58 Set standard bash options in services helper script 2015-07-03 01:40:15 -04:00
Justin Santa Barbara
bcd92c7522 Salt: support systemd (don't assume Redhat <=> systemd)
Also work around problems with Salt & systemd services, in particular
that Salt doesn't issue a daemon-reload.
2015-07-03 01:40:15 -04:00
Justin Santa Barbara
c676c11189 AWS: Configure SSL certificate alternate-names
GCE does this in its per-provider scripts; this does the same for AWS and lets
other providers do the same; I believe kube2sky requires 10.0.0.1 as a SAN.
2015-07-03 01:18:07 -04:00
Karl Isenberg
0229cb01fc Move sourcing of provider-specific util.sh into kube-util.sh
- kube-util.sh defines default implementations
- provider util.sh overrides the default implementations as desired
- default kube-util functions now print to stderr to avoid affecting
  captured output
2015-07-02 12:50:18 -07:00
Dawn Chen
9ce11545c0 Explicitly configure master component containers and nginx with 200m each. 2015-07-02 10:46:39 -07:00
Arsen Mamikonyan
38c3bdfa45 Do not override environment variable in ubuntu defaults and ubuntu/build.sh 2015-07-02 13:10:54 +01:00
Zach Loafman
1d16be675c Merge pull request #10653 from dchen1107/resource_management
Set resource limit for addon containers
2015-07-01 19:35:28 -07:00
Dawn Chen
54531d9b55 Set memory limit (200mi) to fluentd static pod 2015-07-01 17:00:06 -07:00
Dawn Chen
6b61918b67 Set resource limit for both elasticsearch and kibana containers based on data collected by #10335 2015-07-01 16:01:09 -07:00
Zach Loafman
b60c8e567f Merge pull request #10077 from timstclair/ui-server
Move dashboard UI out of the apiserver to a separate pod
2015-07-01 15:56:33 -07:00
Zach Loafman
e5670c104d Merge pull request #10604 from nikhiljindal/v1
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
Zach Loafman
b27a8e1d90 Merge pull request #10606 from nikhiljindal/testsToV1
Update tests/examples to v1
2015-07-01 15:53:54 -07:00
Zach Loafman
e3e024da10 Merge pull request #10614 from justinsb/aws_ssh_fingeprint
AWS: Use the SSH key fingerprint, not the AWS fingerprint
2015-07-01 15:53:31 -07:00
Dawn Chen
ce520dd6e8 Set resource limit for skydns containers based on data collected by #10335 2015-07-01 14:47:29 -07:00
Dawn Chen
4f2d22263e Set resource limit for both heapster and influxdb container based on data collected
by #10335. Please noted that both influxdb and heapster could be oom-killed due to
memory leakage here.
2015-07-01 14:39:10 -07:00
nikhiljindal
274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Tim St. Clair
b6b2d6df42 Add kube-ui cluster addon for serving k8s dashboard UI.
Changes include:
- Add kube-ui binary for serving static dashboard UI
- Add kube-ui docker image, replication controller, and service
- Make the kube-ui a cluster-addon (enabled by default)
- Split the compiled pkg/ui/datafile.go into separate dashboard and swagger packages
- Update docs to reflect changes
2015-07-01 14:21:47 -07:00
Zach Loafman
30cc467159 Merge pull request #10634 from mikedanese/fix-ca-logs
fix heapster google configs so that heapster has a CA cert for googleapis
2015-07-01 14:14:06 -07:00
Alex Robinson
e5ea6ae854 Run fluentd on the master node by default.
This involves adding the logging-write scope to the master when running on GCE.
2015-07-01 20:07:52 +00:00
Alex Robinson
8855371763 Configure fluentd to collect additional log files, including master log files.
This also merges the output blocks together because there's no compelling
reason to have a separate output block for each input.
2015-07-01 20:07:47 +00:00
Marek Biskup
8df3a9cae8 namespaces in addon update 2015-07-01 21:31:52 +02:00
Mike Danese
6ecddd9290 fix heapster configs so that heapster has a CA cert for googleapis 2015-07-01 11:26:30 -07:00
Maru Newby
40632d3bf6 Vagrant: Allow env override of IP addresses
MASTER_IP and MINION_IP_BASE are hard-coded in vagrant's
config-default.sh, and the values correspond to virtualbox's default
subnet.  On hosts that have both virtualbox and another provider
installed, attempting to deploy kubernetes with the non-virtualbox
provider is likely to result in broken networking.  This change allows
the addresses to be overridden via the environment so that more
appropriate values can be used.
2015-07-01 10:20:12 -07:00
Zach Loafman
3094c1624b Merge pull request #10492 from derekwaynecarr/add_watch_service_file
Fix Vagrant kube-up - missed file watch on systemd stops kubelet starting on initial kube-up
2015-07-01 09:49:59 -07:00
Zach Loafman
bd12aefdf2 Merge pull request #10237 from marekbiskup/addon-update-do-not-retry-too-long
addon updater should not retry too many times - specs may be invalid
2015-07-01 08:52:02 -07:00
Zach Loafman
502103cdc6 Merge pull request #10453 from satnam6502/fix-es
Change port names to avoid validation failure
2015-07-01 08:30:28 -07:00
Marek Biskup
7873e252f0 addon updater should not retry too many times because specs may be invalid 2015-07-01 16:22:32 +02:00
derekwaynecarr
de78898170 Missing file watch on systemd stops kubelet starting on kube-up 2015-07-01 09:59:26 -04:00
Zach Loafman
b83236ee7a Merge pull request #10568 from derekwaynecarr/fix_vagrant_kube_proxy
Missed update to kube-proxy when removing nginx on vagrant
2015-07-01 06:42:00 -07:00
Zach Loafman
ffeb982064 Merge pull request #10528 from dchen1107/cleanup
Persistent influxdb data to directory on local host.
2015-07-01 06:41:24 -07:00
Justin Santa Barbara
2a8d46864b AWS: Use the SSH key fingerprint, not the AWS fingerprint
This is unfortunate, because it means we have two fingerprints,
although arguably the OpenSSH key fingerprint is much more common.
However, the OSX Mavericks version of ssh-keygen can't compute
the AWS fingerprint correctly (e.g. https://www.netmeister.org/blog/ssh2pkcs8.html)

So we work on OSX Mavericks, we use the more common OpenSSH fingerprint.
2015-07-01 04:10:48 -07:00
nikhiljindal
2e9e46dd08 Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
Dawn Chen
ff17623742 Persistent influxdb data to directory on local host. 2015-06-30 22:08:40 -07:00
Maru Newby
2da59a2f34 Install 'docker' package for Fedora 22
Fedora < 22 provides docker via the 'docker-io' package, but this
package was renamed to 'docker' as of Fedora 22.  Though the docker
package can be installed manually with 'dnf install docker-io' on F22,
Salt requires the explicit package name or deployment will fail.
2015-06-30 21:36:33 -07:00
Robert Bailey
fedddee157 Install the kubectl binary on nodes in addition to the master. 2015-06-30 16:52:17 -07:00
derekwaynecarr
2cc869b1c5 Missed update to kube-proxy when removing nginx on vagrant 2015-06-30 15:42:52 -04:00
Dawn Chen
e55cd709a1 Removed cluster/saltbase/salt/_states/container_bridge.py since it is useless now. 2015-06-30 11:00:41 -07:00
Satnam Singh
4e58e001da Change port names to avoid validation failure 2015-06-30 10:56:20 -07:00
Shaun Stanworth
74bb1b349a Respect DNS_DOMAIN setting in AWS+CoreOS
Without this change, CoreOS minion nodes are unable to perform short-name DNS lookups by default, as the default value for `DNS_DOMAIN` is `cluster.local`, which doesn't match the hard-coded value here.
2015-06-30 17:48:15 +01:00
Zach Loafman
f21b6b89d1 Fix issues mentioned in #10520 2015-06-30 06:51:10 -07:00
Daniel Smith
dcd91666b9 wait until a token shows up to start addons 2015-06-29 18:41:12 -07:00
Alex Robinson
af533b2b2a Merge pull request #10275 from ddysher/ubuntu-flannel
Ubuntu cluster: run flannel on master
2015-06-29 16:30:31 -07:00
Alex Robinson
ac917aa36a Merge pull request #10402 from justinsb/docker_pkg_require_download
Add explicit dependency of docker pkg on the deb download
2015-06-29 16:10:53 -07:00
Alex Robinson
799c0a09e0 Merge pull request #10369 from mikedanese/heapster-in-cluster-config
bump heapster addon version to use inClusterConfig
2015-06-29 10:56:50 -07:00
Justin Santa Barbara
e29e9f0033 Add explicit dependency of docker pkg on the deb download
Salt ordering continues to surprise me.  I saw them execute
out of order, though I don't know why.  Adding an explicit
dependency to prevent out-of-order execution.
2015-06-28 23:51:12 -04:00
Justin Santa Barbara
ea74bd13b8 Work around Salt 18089
Directly create /etc/sysctl.d/99-salt.conf
2015-06-28 23:50:00 -04:00
Robert Bailey
1c0b765df6 Merge pull request #10359 from justinsb/aws_fix_options
Fix AWS options doc
2015-06-26 23:16:51 -07:00
Robert Bailey
e6f14a21ce Merge pull request #10403 from justinsb/ebs-for-master-data-2
AWS: Use persistent disk on master
2015-06-26 21:52:10 -07:00
Robert Bailey
ad12c98e6d Merge pull request #10150 from thockin/kube2sky-with-token-fix
Make DNS not need its own token
2015-06-26 18:17:03 -07:00
Robert Bailey
017a43702a Merge pull request #10400 from justinsb/fix_10379
Don't make kubelet systemd service depend on Docker
2015-06-26 17:12:51 -07:00
Dawn Chen
1a4d3ef680 Revert "Set resource limit for both heapster and influxdb container based on" 2015-06-26 15:45:26 -07:00
Mike Danese
bfc80095d4 bump heapster addon version to use inClusterConfig 2015-06-26 15:43:32 -07:00
Robert Bailey
ffb846a284 Merge pull request #10375 from eparis/enable_node_monitoring
Remove unused enable_node_monitoring
2015-06-26 12:58:14 -07:00
Robert Bailey
91589143a3 Merge pull request #10370 from mikedanese/no-more-machines
remove --machines and related deprecated flags from code and docs
2015-06-26 10:54:01 -07:00
Robert Bailey
0048eae8eb Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Justin Santa Barbara
a3cb84fa56 AWS: Wait for disk to be attached in setup-master-pd.sh 2015-06-26 11:52:45 -04:00
Justin Santa Barbara
6e09cd3ffd AWS: Create/reuse master pd directly 2015-06-26 11:52:45 -04:00
Justin Santa Barbara
0a4f03f235 AWS: Mount ephemeral on /mnt/ephemeral
If we're going to have a persistent disk on /mnt/master-pd, it seems risky
sometimes to have /mnt be a mounted volume.

A new consistent approach: we mount volumes under /mnt/<name>.
2015-06-26 11:52:45 -04:00
Justin Santa Barbara
7059f379a4 AWS: Mount persistent disk as sdb on master 2015-06-26 11:52:44 -04:00
Adam Sunderland
66e0c5432f Use EBS for Master Data
Signed-off-by: Adam Sunderland <iterion@gmail.com>
2015-06-26 11:52:44 -04:00
Justin Santa Barbara
3ef028148d Fix AWS options doc
Fix formatting, and ZONE should have been KUBE_AWS_ZONE.
2015-06-26 11:16:44 -04:00
Justin Santa Barbara
54d3ac92ea Don't make kubelet systemd service depend on Docker
Fixes #10379
2015-06-26 11:03:09 -04:00
Mike Danese
1e130e0794 remove --machines from code and docs 2015-06-25 18:29:11 -07:00
Eric Paris
58df58f3d7 Remove unused enable_node_monitoring option
Back in 1a7f7245e7 we dropped the one
place this was used, but left all of the variable and definitions and
garbage around cluster/
2015-06-25 20:57:56 -04:00
Tim Hockin
6757a1ce94 Use the svc.cluster.local name for DNS health checks 2015-06-25 17:11:53 -07:00
Tim Hockin
07e75c1dec Use v1 API 2015-06-25 17:04:47 -07:00
Tim Hockin
1ce7f1b5be Stop using special tokens for DNS 2015-06-25 17:04:47 -07:00
Tim Hockin
2b4da35499 Make kube2sky fall back on service accounts
Service accounts are as yet unverified (no CA cert) but at least it will work.
2015-06-25 17:04:47 -07:00
Tim Hockin
88ce0ad8e9 Clean up Changelog
- sort newest-first
- add missing entry
- format consistently
2015-06-25 17:04:47 -07:00
Brendan Burns
74806a1047 Merge pull request #10296 from thockin/eol-registry-cache
EOL Google's registry caching mirror
2015-06-25 14:52:27 -07:00
Maxwell Forbes
bc1930927d Merge pull request #10347 from justinsb/vagrant_no_cidr_on_master
Salt: don't assume that master => cbr-cidr
2015-06-25 10:23:59 -07:00
Maxwell Forbes
655179dcfb Merge pull request #10264 from mikedanese/ca-token
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Steve Kuznetsov
d581d1f6c0 Fixed typo in gce-specific kube-up script 2015-06-25 12:51:34 -04:00
Justin Santa Barbara
a0ae1d90ba Salt: don't assume that master => cbr-cidr
In particular, this is required for vagrant
2015-06-25 09:17:00 -04:00
Brendan Burns
d2334d60c8 Merge pull request #10328 from dchen1107/cleanup
Add dependencies on docker and kubelet service when copying master co…
2015-06-24 21:32:35 -07:00
Dawn Chen
e7d217d941 Add dependencies on docker and kubelet service when copying master components manifests
to /etc/kubernetes/manifest
2015-06-24 21:15:08 -07:00
Maxwell Forbes
3afda5d566 Merge pull request #10312 from dchen1107/cleanup
Take 2: Fix the race between configuring cbr0 and restarting static pods
2015-06-24 17:59:50 -07:00
Mike Danese
56bde3342a add ca to token controller and all service accounts 2015-06-24 15:10:20 -07:00
Maxwell Forbes
244c2f7b90 Merge pull request #10236 from derekwaynecarr/remove_nginx
Remove nginx from vagrant configuration
2015-06-24 13:21:59 -07:00
Dawn Chen
6ddfa512de Revert "Revert "Fix the race between configuring cbr0 and restarting static pods""
This reverts commit fd0a95dd12.
2015-06-24 11:10:10 -07:00
Tim Hockin
280f99afd9 EOL our registry caching mirror
Docker's v1 registry has gotten slower and slower, and they have no
interest in fixing it.  Using a mirror forces v1 mode.  Measurements
show that v1 with our mirror is slower than v2 with docker's registry in
just about all metrics.
2015-06-24 09:56:59 -07:00
Piotr Szczesniak
fd0a95dd12 Revert "Fix the race between configuring cbr0 and restarting static pods" 2015-06-24 09:56:49 +02:00
Deyuan Deng
6f765708ad Ubuntu cluster: properly formatting shell scripts 2015-06-23 23:07:23 -04:00
Deyuan Deng
09a274a7a5 Ubuntu cluster: run flannel on master 2015-06-23 23:07:17 -04:00
Jeff Lowdermilk
50d50a3cb8 Merge pull request #10211 from dchen1107/cleanup
Fix the race between configuring cbr0 and restarting static pods
2015-06-23 17:09:01 -07:00
Dawn Chen
9dbe6fe4e4 Added more comments. 2015-06-23 16:28:41 -07:00
Jeff Lowdermilk
c1a7055701 Merge pull request #10260 from dchen1107/clean
Set resource limit for both heapster and influxdb container based on
2015-06-23 15:57:53 -07:00
Dawn Chen
e0186c3bd0 Set resource limit for both heapster and influxdb container based on
data collected by #5880
2015-06-23 14:28:51 -07:00
Dawn Chen
8d76d4ee57 Make master-addon service depend on both docker and kubelet service
in salt.
2015-06-23 12:11:20 -07:00
Dawn Chen
23200d303f Fix several issues on running syncPods until network is configured.
Also fixed unittests and compiling.
2015-06-23 12:11:19 -07:00
Jeff Lowdermilk
e2d496e45d Merge pull request #9737 from iterion/use-openssl-rsa
AWS: Use RSA to Generate Fingerprint
2015-06-23 10:14:27 -07:00
derekwaynecarr
db202d4904 Remove nginx from vagrant 2015-06-23 13:07:50 -04:00
Jeff Lowdermilk
a2ce3ea529 Merge pull request #10107 from roberthbailey/sans
Add more SANs to the master certificate.
2015-06-23 08:22:33 -07:00
Brendan Burns
192ffdfb25 Fix the container bridge so that it can create cbr0
Fix the kubelet so that it tries to sync status, even if Docker is down
2015-06-22 23:18:01 -07:00
Brendan Burns
a29ade2f33 Disable creation of cbr0, the kubelet does it now.
Conditionalize the docker bridge.
2015-06-22 23:15:29 -07:00
Satnam Singh
cb9f7d17f5 Add readiness probes to Elasticsearch and Kibana logging 2015-06-22 12:40:15 -07:00
Jeff Lowdermilk
85770295c2 Merge pull request #10004 from ArtfulCoder/kubelet_health
Augmented kubelet healthz with syncLoop check.
2015-06-22 10:53:05 -07:00
Zach Loafman
1559fa8b7e Merge pull request #10140 from brendandburns/rev-etcd
rev etcd to 2.0.12
2015-06-22 10:32:19 -07:00
Max Forbes
434f968715 GKE upgrade tests 2015-06-20 09:44:19 -07:00
Abhishek Shah
3556993179 Augmented kubelet healthz with syncLoop check.
Monit uses read-only port for health monitoring.
2015-06-19 18:14:01 -07:00
Brendan Burns
ec1e308ae2 rev etcd to 2.0.12 2015-06-19 15:57:32 -07:00
Vishnu Kannan
3800fe1884 Updating heapster to v0.14.3. 2015-06-19 13:30:50 -07:00
Robert Bailey
6ede5a90b1 Add more SANs to the master certificate. 2015-06-19 13:06:18 -07:00
Satnam Singh
f83d5356d7 Merge pull request #9987 from mbforbes/livingUpgrade
Node upgrade test
2015-06-19 10:02:52 -07:00
Satnam Singh
a45ddb69d2 Merge pull request #10073 from rajatchopra/vagrant_network
fix vagrant networking
2015-06-19 07:51:27 -07:00
Justin Santa Barbara
2a5ed2f086 AWS: Use auto-scaling group to run minions
This uses the dynamic CIDR work, and we set source-dest-check to false
when we configure the route (which kind-of makes sense)
2015-06-19 10:22:15 -04:00
Marek Biskup
dfb702a6e4 addon doc improved 2015-06-19 11:14:01 +02:00
Rajat Chopra
d0816be55d fix vagrant networking 2015-06-18 17:48:32 -07:00
Satnam Singh
9f32599bee Merge pull request #9720 from justinsb/aws_routes
Refactor Routes, and dynamically configure minion CIDRs on AWS
2015-06-18 17:16:29 -07:00
Satnam Singh
b8b8f4d659 Merge pull request #10053 from timstclair/gcloud-docker
s/gcloud preview docker/gcloud docker/
2015-06-18 16:12:20 -07:00
Max Forbes
2803fbe343 Node upgrade tests. 2015-06-18 15:59:51 -07:00
Justin Santa Barbara
a4e15cdf3e AWS: Configure minion routes dynamically
We need to implement the Routes interface, and then enable the functionality in the cluster scripts.
2015-06-18 14:59:37 -07:00
Satnam Singh
34fb2a9f2d Merge pull request #9859 from mwielgus/resources-check
Check for existing GCE resources in kube-up
2015-06-18 14:47:22 -07:00
Satnam Singh
087b6e32e3 Merge pull request #10005 from ZJU-SEL/Fix9237
Hot fix for ubuntu k8s
2015-06-18 14:23:07 -07:00
Satnam Singh
55f791ca15 Merge pull request #10050 from zmerlynn/checkbinaries
Validate binaries downloaded from GCS:
2015-06-18 14:14:56 -07:00
Satnam Singh
a016f7d4ef Merge pull request #10063 from jlowdermilk/gke-e2e
Fix a few e2e references to allow gke to test dogfood builds
2015-06-18 13:49:17 -07:00
Jeff Lowdermilk
e72431033a Fix a few e2e references to allow gke to test dogfood builds 2015-06-18 13:39:51 -07:00
Zach Loafman
d8da39ecd0 Validate binaries downloaded from GCS:
* Set SHA1 for Kubernetes server binary and Salt tar in kube-env.
* Check SHA1 in configure-vm.sh. If the env variable isn't available,
download the SHA1 from GCS and double check that.
* Fixes a bug in the devel path where we were actually uploading the
wrong sha1 to the bucket.

Fixes #10021
2015-06-18 13:37:05 -07:00
Brendan Burns
5021dbc1a0 Merge pull request #10046 from cjcullen/fwfix
Allow passing through an explicit PROXY_SSH_USER.
2015-06-18 13:13:19 -07:00
Tim St. Clair
f5830edbbc s/gcloud preview docker/gcloud docker/ 2015-06-18 12:27:08 -07:00
Satnam Singh
ce49c32d6a Add readiness probe to Elasticsearch and Kibana logging pods 2015-06-18 10:46:05 -07:00
CJ Cullen
abf1e768dc Pass through an explicit PROXY_SSH_USER.
Use user@user instead of user@hostname in case hostname is too long.
2015-06-18 10:35:02 -07:00
wizard
509c3f5b94 hot fix for ubuntu k8s 2015-06-18 14:34:10 +08:00
Saad Ali
b529557205 Merge pull request #9527 from Rob4001/master
Added vagrant-libvirt plugin to vagrant provider check in install script
2015-06-17 14:24:35 -07:00
Adam Sunderland
304d75caf9 Not about instance types 2015-06-17 11:32:22 -05:00
Jeff Lowdermilk
822fcacce4 Add missing source to ubuntu/util.sh 2015-06-17 09:21:38 -07:00
Marcin Wielgus
b33b881bc2 Add missing --project in GCE kube-down and check-resources 2015-06-17 15:11:40 +02:00
Marcin Wielgus
3a562f1619 Check for existing GCE resources in kube-up 2015-06-17 15:04:39 +02:00
Saad Ali
8a511a77cd Merge pull request #9668 from mbruzek/fix-make
Fixing an error I saw in testing, that make clean resolves.
2015-06-16 18:41:14 -07:00
Vishnu Kannan
b6e4480463 Updating heapster to v0.14.2 2015-06-16 17:15:24 -07:00
Brendan Burns
d18dcabca5 Merge pull request #9786 from ZJU-SEL/UpdateDockerK8s
Update docker k8s approach
2015-06-16 15:53:25 -07:00
Vishnu Kannan
c70014d399 Updating heapster service labels to make it compatible with kubectl cluster-info 2015-06-16 14:46:50 -07:00
Saad Ali
4d25121206 Merge pull request #9769 from brendandburns/secure
Revert the revert of https://github.com/GoogleCloudPlatform/kubernetes/pull/9761
2015-06-16 14:21:54 -07:00
Saad Ali
068000a8ba Merge pull request #9847 from mikedanese/apiserver-liveness-probe
add livenessProbe to kube-apiserver.manifest
2015-06-16 14:03:13 -07:00
Saad Ali
03af349173 Merge pull request #9758 from satnam6502/gcl-default
Make Google Cloud Logging the default for GCE
2015-06-16 13:47:56 -07:00
Saad Ali
fc30ab308b Merge pull request #9886 from vishh/heapster_v0.14.1
Updating heapster version to v0.14.1.
2015-06-16 13:14:07 -07:00
Vishnu Kannan
31f7ea10c6 Updating heapster version to v0.14.1.
Adding a standalone version of heapster which exposes stats via REST API.
2015-06-16 11:56:23 -07:00
Saad Ali
d31fd4035d Merge pull request #9227 from jlowdermilk/shell-cleanup
Remove the last provider-specific handling in kubectl.sh, ginkgo-e2e.sh
2015-06-16 11:55:47 -07:00
Saad Ali
41545d0a66 Merge pull request #9135 from jlowdermilk/fix-gce-kube-down
Fix route regexp for gce-kube-down
2015-06-16 11:54:45 -07:00
Jeff Lowdermilk
e02483e3fe Fix route regexp for gce-kube-down 2015-06-16 11:25:43 -07:00
Jeff Lowdermilk
47901b7edd Remove the last provider-specific handling in kubectl.sh, ginkgo-e2e.sh 2015-06-16 10:58:04 -07:00
Saad Ali
27704beae5 Merge pull request #9856 from justinsb/spelling_mistakes
Minor typos in cluster/addons/README.md
2015-06-16 10:55:41 -07:00
Saad Ali
5596e6f789 Merge pull request #9493 from marekbiskup/testAddonUpdate
e2e test for addon upgrade
2015-06-16 10:50:15 -07:00
Justin Santa Barbara
0d2f587cea Minor typos in cluster/addons/README.md 2015-06-16 09:18:23 -04:00
Mike Danese
491eb5e583 add livenessProbe to kube-apiserver.manifest 2015-06-15 23:22:56 -07:00
Fabio Yeon
bb659de2f1 Merge pull request #9832 from brendandburns/project
Add a missing ${PROJECT}
2015-06-15 19:35:32 -07:00
Fabio Yeon
9b3e9a509d Merge pull request #9616 from jeffbean/kube_addons
kube_addons - Adding variable with default for kubectl bin.
2015-06-15 19:31:42 -07:00
wizard
4e92f409a0 update docker k8s approach 2015-06-16 09:44:21 +08:00
Brendan Burns
dea86ed926 Add a missing ${PROJECT} 2015-06-15 16:59:08 -07:00
Fabio Yeon
19a7e87c06 Merge pull request #9813 from dchen1107/cleanup
Using bigger nodes for e2e test on gce.
2015-06-15 16:08:35 -07:00
Fabio Yeon
c4d040c720 Merge pull request #9745 from justinsb/aws_manage_route_table
AWS: Create our own route table & tag it for management
2015-06-15 15:18:39 -07:00
Dawn Chen
c78ac489aa Using bigger nodes for e2e test on gce. 2015-06-15 13:39:45 -07:00
Fabio Yeon
f033349bea Merge pull request #9746 from justinsb/aws_faster_tagging
AWS: delay less when creating tags
2015-06-15 13:34:44 -07:00
Fabio Yeon
8d2c7ff1d7 Merge pull request #9687 from satnam6502/fluentd-gcp
Adjust Fluentd source format for Docker files to be JSON for Cloud Lo…
2015-06-15 13:32:49 -07:00
Fabio Yeon
4fc1570dcc Merge pull request #9747 from justinsb/aws_dont_register_master_kubelet
AWS: Stop the master kubelet from registering as a node (like GCE does)
2015-06-15 13:30:54 -07:00
Satnam Singh
33311b46a2 Adjust Fluentd source format for Docker files to be JSON for Cloud Logging 2015-06-15 10:22:27 -07:00
Fabio Yeon
85cc14945e Merge pull request #9699 from a-robinson/heapster
Update heapster's combined googleinfluxdb version to 0.14.0.
2015-06-15 10:06:26 -07:00
Fabio Yeon
09af2bfd19 Merge pull request #9563 from BenTheElder/vagrant_certificates
Fix vagrant client authorization.
2015-06-15 09:57:32 -07:00
Fabio Yeon
b1465aee0b Merge pull request #9738 from quinton-hoole/2015-06-12-fix-e2e-projects
Add missing gcloud --project flags introduced by PR #9016
2015-06-15 09:53:36 -07:00
Marek Biskup
dcc4034d57 e2e test for addon update 2015-06-15 17:37:24 +02:00
Brendan Burns
2c59a3c4a4 Fix the scripts to default empty string if EXTRA_DOCKER_OPTS isn't set. 2015-06-12 21:47:30 -07:00
Brendan Burns
51b20b35e2 Revert "Revert "Optionalize (default false) --insecure-registry.""
This reverts commit 1645c9a9b8.
2015-06-12 21:00:16 -07:00
Dawn Chen
1645c9a9b8 Revert "Optionalize (default false) --insecure-registry." 2015-06-12 17:50:38 -07:00
Satnam Singh
7f24215761 Make Google Cloud Logging the default for GCE 2015-06-12 17:12:03 -07:00
Abhi Shah
a6bed65f06 Merge pull request #9685 from brendandburns/secure
Optionalize (default false) --insecure-registry.
2015-06-12 17:06:32 -07:00
Abhi Shah
4da902c72e Merge pull request #9579 from doublerr/rackspace/update_flannel
simplify flannel configuration on rackspace
2015-06-12 16:58:36 -07:00
Abhi Shah
42be6db6e9 Merge pull request #9744 from ixdy/gcs-staging-path
Allow adding a suffix to the devel staging path for server tars on GCS.
2015-06-12 16:54:12 -07:00
Abhi Shah
65dca78ede Merge pull request #9735 from iterion/correct-ssh-user
Update SSH User for AWS Utils
2015-06-12 16:45:10 -07:00
Justin Santa Barbara
16d6ba8a9d AWS: Stop the master kubelet from registering as a node (like GCE does) 2015-06-12 18:33:45 -04:00
Justin Santa Barbara
6839ae9a44 AWS: delay less when creating tags
This is important because tag creation isn't atomic, and we want to minimize
the window in which we can leave 'dangling' resources around.
2015-06-12 18:32:55 -04:00
Justin Santa Barbara
1f04284508 AWS: Create our own route table & tag it for management 2015-06-12 18:32:10 -04:00
Jeff Grafton
fcba3136d0 Allow adding a suffix to the devel staging path for server tars on GCS.
This is needed to allow multiple GCE e2e runs to occur using the same
project on Jenkins.
2015-06-12 15:18:47 -07:00
Abhi Shah
d56a911b4e Merge pull request #9726 from cjcullen/fwfix
Make GKE-CI test firewalls work on Jenkins
2015-06-12 14:02:39 -07:00
Abhi Shah
8b235210c6 Merge pull request #9595 from mikedanese/gce-upgrade-bug
fix unbound variable bug in cluster/common.sh
2015-06-12 13:57:05 -07:00
Abhi Shah
f345432b53 Merge pull request #9651 from brendandburns/rev-docker
Update Docker instructions.
2015-06-12 13:54:09 -07:00
Quinton Hoole
58885c7b48 Add missing gcloud --project flags introduced by PR 9016 2015-06-12 13:43:29 -07:00
Adam Sunderland
7760d079ae Update SSH User For Master SSH Check 2015-06-12 15:38:48 -05:00
CJ Cullen
6f30aa78a7 Make GKE-CI test firewalls work on Jenkins 2015-06-12 13:33:50 -07:00
Adam Sunderland
d82bfffe9d Use RSA to Generate Fingerprint 2015-06-12 15:29:37 -05:00
Abhi Shah
b3ab7d8db4 Merge pull request #9693 from zmerlynn/testing_container_vm
Update GCE/debian to container-vm-v20150611
2015-06-12 11:02:28 -07:00
Abhi Shah
c08f202fb9 Merge pull request #9670 from cjcullen/fwfix
Apply test firewalls to both the new gke- node tags and the old k8s- tags
2015-06-12 10:13:46 -07:00
Brendan Burns
455a787c69 Add a missing $PROJECT to the tear down. 2015-06-12 09:28:25 -07:00
CJ Cullen
4e57dbdc26 Make GKE test firewalls work with new short-hash node names. 2015-06-12 07:46:41 -07:00
Brendan Burns
dcb09e73a9 Aggressively delete a cluster template if it exists. 2015-06-11 21:31:31 -07:00
BenTheElder
4437312993 Fix vagrant client authorization. 2015-06-11 23:46:01 -04:00
Alex Robinson
8b1f2d2bf2 Update heapster's combined googleinfluxdb version to 0.14.0. 2015-06-12 01:32:50 +00:00
CJ Cullen
69f5765fa2 Apply test firewalls to both the new gke- node tags and the old k8s- tags 2015-06-11 18:07:10 -07:00
Quinton Hoole
60d3f91dea Specify project when checking for existance of instance group templates. 2015-06-11 16:40:21 -07:00
Brendan Burns
675d8378f2 Optionalize (default false) --insecure-registry. 2015-06-11 16:33:14 -07:00
Zach Loafman
c031708219 Update GCE/debian to container-vm-v20150611
Updates:
- Docker 1.6.2
- /sys/fs/cgroup/memory/memory.use_hierarchy=1
2015-06-11 16:10:08 -07:00
Abhi Shah
0e3633d404 Merge pull request #9615 from vishh/heapster_v0.14.0
Update to heapster v0.14.0
2015-06-11 15:14:34 -07:00
Abhi Shah
82aa8f9984 Merge pull request #9371 from justinsb/aws_support_wheezy
AWS: Support wheezy, for parity with GCE
2015-06-11 15:08:32 -07:00
Jeff Lowdermilk
2af7dd5b57 Fix #9506 2015-06-11 14:12:02 -07:00
Mike Danese
8b337b0b3e fix unbound variable bug 2015-06-11 14:09:07 -07:00
Abhi Shah
9df284b19e Merge pull request #9572 from EricMountain-1A/libvirt-coreos-fix-dockeroptsquote
Fixes quoting on systemd drop-in for DOCKER_OPTS.
2015-06-11 11:27:33 -07:00
Abhi Shah
064e7146e1 Merge pull request #9481 from justinsb/aws_fix_push
AWS: Include (idempotent) ensure-temp-dir in upload-server-tars
2015-06-11 11:24:18 -07:00
Abhi Shah
c5553af281 Merge pull request #9506 from cjcullen/resize
Make resize tests work on GKE
2015-06-11 11:05:07 -07:00
Abhi Shah
59a347d119 Merge pull request #9309 from saad-ali/issue9028
Enable InfluxDB/Grafana for GCE in addition to GCL. Disable GCM
2015-06-11 11:04:09 -07:00
Abhi Shah
30558d259d Merge pull request #9548 from brendandburns/docsfix3
Add instructions for validating the DNS server.
2015-06-11 10:53:45 -07:00
Justin Santa Barbara
4db5b6f465 AWS: Don't change the default OS
It may be that we should change the default, but that is a big move,
late in the day, and it warrants its own discussion.
2015-06-11 13:02:33 -04:00
Abhi Shah
6c7ee0b5ce Merge pull request #9639 from jlowdermilk/gke-provider
Allow gke provider to handle internal gcloud versions for testing.
2015-06-11 09:36:43 -07:00
Matt Bruzek
2576b56113 Fixing an error I saw in testing, that make clean resolves. 2015-06-11 10:14:06 -05:00
Marek Grabowski
ccb1b658b2 Merge pull request #9658 from fgrzadkowski/fix_failing_firewall
Wait longer for firewall creation during e2e cluster setup.
2015-06-11 15:40:35 +02:00
Filip Grzadkowski
f93895dd36 Wait longer for firewall creation during e2e cluster setup. 2015-06-11 15:38:35 +02:00
Brendan Burns
4b904c34a8 Update Docker instructions. 2015-06-10 21:40:06 -07:00
Vishnu Kannan
a38204a498 Update to heapster v0.14.0 2015-06-10 16:38:34 -07:00
Jeff Lowdermilk
ea6756210e Allow gke provider to handle internal gcloud versions for testing. 2015-06-10 16:23:32 -07:00
Brendan Burns
ebe43fd5ca Add instructions for validating the DNS server. 2015-06-10 14:56:41 -07:00
Abhi Shah
f4eb2f366f Merge pull request #9568 from marekbiskup/docker_log_rotate
rotate docker log
2015-06-10 14:50:07 -07:00
Jeffrey Bean
99f64a8a07 kube_addons - Adding variable with default for kubectl bin. Fixes #9599 2015-06-10 14:47:31 -07:00
Abhi Shah
53fa4e1366 Merge pull request #9383 from brendandburns/liveness
Add liveness checks to the controller-manager and scheduler.
2015-06-10 14:44:12 -07:00
Ryan Richard
0b26e4e301 simplify flannel configuration on rackspace 2015-06-10 16:07:23 -05:00
Deyuan Deng
396fabf2af Document why we use 'tr -d' instead of 'base64 w0' 2015-06-10 16:24:20 -04:00
Abhi Shah
c8591bd323 Merge pull request #9491 from ArtfulCoder/etcd_log
Etcd log mount
2015-06-10 13:17:10 -07:00
Abhi Shah
fdf2d6057f Merge pull request #9226 from erictune/makefile
Clarify where DNS resolution works.
2015-06-10 12:57:24 -07:00
Eric Tune
1c1272a3e4 Clarify where resolution works. 2015-06-10 12:55:49 -07:00
Eric Mountain
0fd26a5359 Fixes quoting on systemd drop-in for DOCKER_OPTS. 2015-06-10 13:51:54 +02:00
Marek Biskup
83f8cd148d rotate docker log 2015-06-10 12:19:13 +02:00
Mike Danese
1a6842e06e fix auth in gce/upgrade.sh 2015-06-09 22:33:34 -07:00
Justin Santa Barbara
8aae864784 AWS: Support wheezy, for parity with GCE 2015-06-09 23:45:41 -04:00
Brendan Burns
1d7e85b477 Pull out a deprecation message. 2015-06-09 18:19:56 -07:00
Robert Wilson
c3579f76d9 Added vagrant-libvirt plugin to vagrant provider check in install script 2015-06-10 00:00:11 +01:00
Brendan Burns
9e198a6ed9 Purge cluster/kubectl.sh from nearly all docs.
Mark cluster/kubectl.sh as deprecated.
2015-06-09 13:35:52 -07:00
krousey
6a979704b7 Merge pull request #9419 from roberthbailey/kube2sky-secure-gce
Distribute the cluster CA cert to cluster addon pods through the kubeconfig file
2015-06-09 13:28:16 -07:00
Brendan Burns
ff3f463e00 Add liveness checks to the controller-manager and scheduler. 2015-06-09 13:06:04 -07:00
krousey
fba6462c0b Merge pull request #9377 from justinsb/aws_persistent_mounts
AWS: add mounts to fstab
2015-06-09 12:57:43 -07:00
krousey
02c9d2810d Merge pull request #9446 from ArtfulCoder/etcd_busybox
Build etcd image from busybox
2015-06-09 12:56:11 -07:00
CJ Cullen
abc4e53648 Make resize tests work on GKE 2015-06-09 12:00:10 -07:00
krousey
82f922b61d Merge pull request #9378 from justinsb/aws_no_thin_on_wheezy
AWS: Disable thin LVM provisioning on wheezy
2015-06-09 10:01:04 -07:00
krousey
e19e4bcd12 Merge pull request #9365 from justinsb/fix_9246
AWS: Only log "Starting cluster using os distro..." in kube-up
2015-06-09 09:51:22 -07:00
krousey
37ed34261e Merge pull request #9364 from justinsb/fix_aws_local_not_in_function
AWS: Fix script issue where local used outside of function
2015-06-09 09:50:43 -07:00
Justin Santa Barbara
d92863523f AWS: Include (idempotent) ensure-temp-dir in upload-server-tars
This way we won't forget it.  Fixes kube-push, where I forgot it.
2015-06-09 11:10:15 -04:00
Robert Bailey
aeb0068547 Add 'kubernetes' (the service name) and the master name as SANs on the
master's certificate.
2015-06-08 20:17:45 -07:00
Robert Bailey
2feb658ed7 Distribute the cluster CA cert to cluster addon pods through
the kubeconfig file. Use the $KUBERNETES_MASTER_NAME from the
kube-env for skydns, because it can't use the service name.
2015-06-08 20:17:45 -07:00
Abhishek Shah
fe906677d4 Etcd log mount 2015-06-08 17:21:11 -07:00
krousey
e14d9038fe Merge pull request #9367 from justinsb/aws_ssh_check
AWS: Check for SSH connectivity & better logging on failure
2015-06-08 16:48:04 -07:00
Abhishek Shah
193e078808 Build etcd image from busybox 2015-06-08 16:47:37 -07:00
krousey
8a9e0e00bf Merge pull request #9128 from marekbiskup/addonUpgrade
Addon upgrade (partial implementation of #8107)
2015-06-08 15:15:27 -07:00
krousey
7ab3106dae Merge pull request #9369 from justinsb/aws_mount_all_ephemeral
AWS: Mount ephemeral devices, even if not specified in the AMI
2015-06-08 15:11:01 -07:00
Justin Santa Barbara
d955e532f9 AWS: Add mounts to fstab, to survive reboot 2015-06-08 18:07:22 -04:00
Justin Santa Barbara
f6440247ca AWS: Don't thin provision LVM volume on wheezy
Thin provisioning isn't supported (unless you backport from jessie).

Just use normal LVM volumes with aufs.
2015-06-08 18:06:24 -04:00
krousey
5aa0219ada Merge pull request #9292 from cjcullen/test_pull_8946
Add an ssh tunnel option to the /proxy endpoint
2015-06-08 14:30:12 -07:00
Justin Santa Barbara
1c229e5284 Removed extra blank line in aws util.sh 2015-06-08 16:59:03 -04:00
Justin Santa Barbara
2619b6198a AWS: Mount ephemeral devices, even if not specified in the AMI
We mount up to 4; this covers almost all instance types.
2015-06-08 16:59:03 -04:00
Marek Biskup
13ba177668 kube-addon-update.sh 2015-06-08 15:10:40 +02:00
Justin Santa Barbara
72496e7368 AWS: Check for SSH connectivity & better logging on failure 2015-06-06 14:27:41 -04:00
Justin Santa Barbara
a9e1e1033b AWS: Only log "Starting cluster using os distro..." in kube-up
Fixes #9246
2015-06-06 12:48:49 -04:00
Justin Santa Barbara
24de0b4598 AWS: Fix script issue where local used outside of function 2015-06-06 12:19:30 -04:00
Justin Santa Barbara
112a013567 AWS: Support different docker storage mechanism by setting DOCKER_STORAGE
For parity with GCE, we really want to support aufs.

But we previously supported btrfs, so we want to expose that.

Most of the work here is required for aufs, and we let advanced users choose
devicemapper/btrfs if they have a setup that works for those configurations.
2015-06-06 12:13:51 -04:00
saadali
a839f47d4a Disable GCM for GCE 2015-06-05 17:54:06 -07:00
CJ Cullen
04cd9b3c75 Make sshproxy use a hostmount on master PD (don't spam sshKeys on upgrade/reboot).
Add comment describing what SSHTunnelList.Close() does.
Simplify util.FileExists.
2015-06-05 15:03:03 -07:00
CJ Cullen
cb317604ab Some refactoring. Only selectively use ssh proxy.
Add NetworkName to gce.Config.
Add locking to uses of master.tunnels.
2015-06-05 14:55:16 -07:00
CJ Cullen
1ae8801387 Fix transport creation logic.
Refactor loadTunnels to allow one path for load, another for refresh.
Make SSHTunnelList.Close sleep for a minute before actually closing each tunnel.
2015-06-05 14:55:16 -07:00
CJ Cullen
de9a5f43bc Specify sshUser, sshKeyfile in kube-apiserver manifest.
Trim space on ssh key so GCE doesn't treat it as 2 lines.
A couple other minor fixes.
2015-06-05 14:55:15 -07:00
CJ Cullen
82afaaf31d Mount cloud-config files for cloudproviders in kube-apiserver & kube-controllermanager. 2015-06-05 14:54:20 -07:00
Justin Santa Barbara
48e8a8b0ec AWS: Set up security groups, to mirror GCE firewalling
Some slightly fussy code to enable load-balancers to talk to
instances, but otherwise relatively simple.
2015-06-05 16:10:08 -04:00
Justin Santa Barbara
33a3d884f2 AWS: Filter by Cluster tag, rationalize EC2 abstraction
Whenever we do a list we now filter on tags so we only see resources relating
to our cluster.

Also, rationalize all the DescribeX calls:
 * They all take a request object (so that we can pass filters)
 * They do paging if that is required (and return the underlying resources)
 * They wrap any error with a "error while listing X: %v" message
2015-06-05 16:09:01 -04:00
Quinton Hoole
4384b57a27 Merge pull request #9327 from ArtfulCoder/srv_doc
README.md updated to explain SRV Record support.
2015-06-05 12:56:20 -07:00
Abhishek Shah
bd36b0d315 README.md updated to explain SRV Record support. 2015-06-05 12:33:22 -07:00
Quinton Hoole
9ebeea1d83 Merge pull request #9303 from doublerr/rackspace/18.1
remove kube-register and update config-default
2015-06-05 11:58:05 -07:00
Quinton Hoole
21db71db1a Merge pull request #9073 from ArtfulCoder/srv_dns
SRV record support
2015-06-05 11:24:32 -07:00
Quinton Hoole
710df2b619 Merge pull request #9294 from justinsb/aws_ssh_key_fingerprint
AWS: Support multiple SSH keys (embed the hash in the name)
2015-06-05 09:37:31 -07:00
Abhishek Shah
7d0adbcb1c SRV record support 2015-06-05 09:31:07 -07:00
Ryan Richard
ab0a3a1f84 remove kube-register and update config-default
* use newer rackspace cloud flavor names
* update coreos (beta) image id
* use NUM_MINIONS instead of RAX_NUM_MINIONS
2015-06-05 10:01:01 -05:00
saadali
bc53533c83 Enable InfluxDB/Grafana for GCE in addition to GCM/GCL 2015-06-05 01:17:45 -07:00
Justin Santa Barbara
d8dc416b5b AWS: Support multiple SSH keys (embed the hash in the name)
This should eliminate a nasty problem where the script doesn't cope well if
your keys don't match.
2015-06-04 21:40:57 -04:00
Quinton Hoole
eef3283960 Merge pull request #9254 from justinsb/aws_sync_to_s3
AWS: Use s3 sync to optimize upload to s3 when nothing changed
2015-06-04 13:09:08 -07:00
Quinton Hoole
5ac1151c5d Merge pull request #9251 from satnam6502/fix-node-list
Fix node numbers for node list
2015-06-04 12:02:43 -07:00
Quinton Hoole
a39a6013cb Merge pull request #8469 from satnam6502/heapster
Add explicit version to name of monitoring RCs
2015-06-04 10:42:54 -07:00
derekwaynecarr
2168cee414 Upgrade to Fedora 21, Docker 1.6, clean-up SDN 2015-06-04 10:59:23 -04:00
Justin Santa Barbara
c92c63b3a9 AWS: Use s3 sync to optimize upload to s3 when nothing changed 2015-06-04 10:14:45 -04:00
Satnam Singh
a1c2641b53 Fix node numbers for node list 2015-06-04 12:09:58 +01:00
Daniel Smith
1690617ee6 remove ro service 2015-06-03 16:45:54 -07:00
Brian Grant
f8bf996000 Merge pull request #9211 from lavalamp/no-ro-nonbreaking
Nonbreaking pieces of #8155
2015-06-03 16:44:24 -07:00
Daniel Smith
40eb1599dd fix elasticsearch 2015-06-03 15:41:09 -07:00
Daniel Smith
5d6b8d7de6 doc updates 2015-06-03 15:41:09 -07:00
Brian Grant
984b779b05 Merge pull request #9192 from dchen1107/clean
Watch kubelet flag file, so restart kubelet upon changes.
2015-06-03 14:45:07 -07:00
Brian Grant
a72be4667f Merge pull request #9157 from iterion/aws-elb-policy
AWS: Update Master IAM Policy to Include ELB
2015-06-03 12:35:03 -07:00
Brian Grant
d37264edde Merge pull request #9158 from dchen1107/cleanup
stop monit kube-proxy on master node.
2015-06-03 12:13:17 -07:00
Adam Sunderland
2b4d37427e Update Master IAM Policy to Include ELB 2015-06-03 12:20:19 -05:00
Dawn Chen
1d94348023 Watch kubelet flag file, so restart kubelet upon changes. 2015-06-03 09:13:28 -07:00
Prashanth Balasubramanian
f7c0f1c1e3 Set min-request-timeout in test clusters 2015-06-03 08:46:28 -07:00
Brian Grant
d861631f08 Merge pull request #9142 from roberthbailey/kubelet-on-master
Prevent access to the /run and /exec endpoints on the master's kubelet
2015-06-02 22:55:06 -07:00
Brian Grant
36a4ece87a Merge pull request #9080 from thockin/dns-new-search-kubelet
Insert 'svc' into the DNS search paths
2015-06-02 22:54:07 -07:00
Brian Grant
3da686fea5 Merge pull request #8894 from cjcullen/kmaster2
Add an explicit variable to indicate whether an instance is master or not
2015-06-02 20:37:43 -07:00
Brian Grant
e77ded1e84 Merge pull request #8649 from cjcullen/servicefix
Add an advertise-address flag
2015-06-02 19:54:28 -07:00
Brian Grant
21147d784a Merge pull request #9074 from roberthbailey/unbound-var
Don't assume that CA_CERT_BASE64 will be set.
2015-06-02 18:52:49 -07:00
Dawn Chen
301bed535e stop monit kube-proxy on master node.
Fixed #8783
2015-06-02 17:48:24 -07:00
CJ Cullen
dcf5b16cea Add an explicit KUBERNETES_MASTER variable to the kube-env. 2015-06-02 17:17:02 -07:00
CJ Cullen
934c553c04 Clarify description/usage of --advertise-address, Master.PublicAddress 2015-06-02 15:23:32 -07:00
Robert Bailey
1dad552edc Prevent access to the /run and /exec endpoints on the master's kubelet
so that users can't run arbitrary code on the master.
2015-06-02 14:42:11 -07:00
Filip Grzadkowski
98115facfd Revert "Gracefully delete pods from the Kubelet" 2015-06-02 23:40:05 +02:00
CJ Cullen
085a48a70e Add an advertise-address flag. This allows the address that the apiserver binds
to (possibly 0.0.0.0) to be different than the address on which members of the cluster
can reach the apiserver (possibly not a local interface).
2015-06-02 14:33:15 -07:00
Brian Grant
aa2f0be626 Merge pull request #8718 from vishh/kube2sky
Avoid making connections to the apiserver insecure by default in kube2sky
2015-06-02 14:11:58 -07:00
Brian Grant
5e5fe225d8 Merge pull request #9102 from ZJU-SEL/updateK8sversion
bump the ubuntu k8s version to 0.18.0
2015-06-02 10:40:54 -07:00
Brian Grant
b7ae48eb1e Merge pull request #8641 from smarterclayton/gracefully_delete_pods
Gracefully delete pods from the Kubelet
2015-06-02 10:36:27 -07:00
Zach Loafman
6f1d60ed31 gke provider: Fix "gcloud .* describe" checks in util.sh
This basically prevents you from re-running e2es cross-project on the
GKE provider. (The current Jenkins jobs that have been moved to
different projects are working kind of accidentally.)
2015-06-02 07:03:32 -07:00
Filip Grzadkowski
caafd28245 Retry downloading binary tars in case of unpack failure 2015-06-02 14:59:15 +02:00
wizard
73b7128941 bump the k8s version to 0.18.0 2015-06-02 13:18:45 +08:00
Tim Hockin
be4b700ccb Document the supported DNS schema 2015-06-01 17:02:17 -07:00
Vishnu Kannan
404558f29c New release of kube2sky v1.8 2015-06-01 16:59:53 -07:00
Clayton Coleman
f12a68cd60 Apply fix for #8642 to GracefulDeletion 2015-06-01 19:24:02 -04:00
Eric Tune
8195f13b86 Merge pull request #9063 from piosz/cluster_upgrade
Refactored kube-push.sh script
2015-06-01 13:47:15 -07:00
Eric Tune
43951b04d2 Merge pull request #9016 from goltermann/kube-down-fix
GCE kube-down.sh error fixes
2015-06-01 13:46:54 -07:00
Eric Tune
a687d62b81 Merge pull request #9037 from rjnagal/monitoring
Fix cluster monitoring setup config.
2015-06-01 13:45:24 -07:00
Eric Tune
3c067b766a Merge pull request #8996 from manolitto/aws_cluster_monitoring_fix
aws: fix cluster monitoring (new option "influxdb" instead of "true")
2015-06-01 13:43:43 -07:00
Piotr Szczesniak
0142e4c9c2 Refactored kube-push.sh script
The script allows also to push binaries only to the master or specified node.
Added support for released tars.

Introduced new push methods and implemented them for GCE.
2015-06-01 21:21:00 +02:00
Robert Bailey
0c62b71f8a Don't assume that CA_CERT_BASE64 will be set. 2015-06-01 11:35:26 -07:00
Eric Tune
5b3e01d2fd Merge pull request #8653 from matschaffer/s3-creation-wait
Check that s3 bucket has been created
2015-06-01 10:29:03 -07:00
Eric Tune
be2e61d069 Merge pull request #8986 from ZJU-SEL/fix-util.sh
Add trap-add in util.sh
2015-06-01 10:27:49 -07:00
Eric Tune
c1d0a48075 Merge pull request #8912 from justinsb/volumes_kubelet_root_not_symlink
Ensure kubelet root is not a symlink
2015-06-01 09:24:32 -07:00
Eric Tune
84dfa9b1b8 Merge pull request #8958 from mbruzek/build-local
Use locally built kubernetes binaries in charms
2015-06-01 09:23:58 -07:00
Manfred Geiler
8c8f8feb62 aws: fix cluster monitoring ("none" instead of "false") 2015-06-01 09:12:41 +02:00
Rohit Jnagal
3659aef63a Fix cluster monitoring setup config.
Older options used to be true/false. Newer ones are none|influxdb|google.
2015-05-30 05:31:53 +00:00
Kris
f4e2c738f6 Delete deprecated API versions
pkg/service:

There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.

pkg/apiserver:

The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.

pkg/kubectl:

Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Justin Santa Barbara
c4a2631593 Mount logic breaks if /var/lib/kubelet is a symlink
Pass the correct kubelet root-dir on AWS
2015-05-29 20:13:09 -04:00
Matt Bruzek
e32c9e4f10 Merge branch 'master' of github.com:GoogleCloudPlatform/kubernetes into build-local
Conflicts:
	cluster/juju/bundles/local.yaml
2015-05-29 17:36:48 -05:00
goltermann
4c19734b71 Fix kube-down errors for GCE 2015-05-29 14:12:22 -07:00
Matt Bruzek
774f7e3738 Changed a comment for flake8 reasons. 2015-05-29 15:26:07 -05:00
Rohit Jnagal
6274d845b9 Merge pull request #8931 from dchen1107/clean
Fix the race when monit is used to monitor services which are also
2015-05-29 11:23:21 -07:00
Rohit Jnagal
50b9d6284a Merge pull request #8681 from vmarmol/system-container
Create a system container
2015-05-29 09:41:06 -07:00
Rohit Jnagal
ff51f0b2e1 Merge pull request #8696 from derekwaynecarr/force_namespace_creation
Force explicit namespace provision, update e2e for failures
2015-05-29 09:28:47 -07:00
Wojciech Tyczynski
4fc38849ea Retry downloading tars in case of unpack failure 2015-05-29 13:06:24 +02:00
Manfred Geiler
635b6bc097 aws: fix cluster monitoring (new option "influxdb" instead of "true") 2015-05-29 11:15:21 +02:00
Wojciech Tyczynski
44360e401b Increase timeout for verifying clusters 2015-05-29 09:44:14 +02:00
resouer
c86e626e35 Add trap-add in util.sh 2015-05-29 11:04:47 +08:00
Tim Hockin
677d0fdf87 Merge pull request #8782 from orangain/fix-kubectl-path-in-x86
kubectl's dir should be 386 not x86 in x86 enviroment
2015-05-28 16:59:25 -07:00
Tim Hockin
ac3cc3c518 Rename PORTAL_NET all over 2015-05-28 16:10:44 -07:00
Tim Hockin
3005471100 Add new apiserver flags for clusterIP (nee portal)
Leave old flags but marked as deprecated
2015-05-28 16:10:44 -07:00
Tim Hockin
4318ca5a8b Rename 'portal IP' to 'cluster IP' most everywhere
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
2c20c3664c Merge pull request #8902 from brendandburns/fix
Turn off certificate checking for Mavericks, as the curl is borked.
2015-05-28 15:32:50 -07:00
Tim Hockin
4ac239499b Merge pull request #8904 from justinsb/fix_8903
GCE kube-up; write the marker only after we have uploaded the file
2015-05-28 15:30:47 -07:00
Tim Hockin
ba07e5d472 Merge pull request #8920 from whitmo/bundle-version-update
Update kubernetes version to 0.17.1 in bundle
2015-05-28 15:30:14 -07:00
Matt Bruzek
f261702ef6 Adding kube-down logic to utils.sh to clean up. 2015-05-28 16:58:55 -05:00
Tim Hockin
ccafaaf8ef Merge pull request #8729 from justinsb/gce_up_csv
Pass arg lists to gcloud as comma-separated single arg
2015-05-28 14:58:43 -07:00
Tim Hockin
e88249e78e Merge pull request #8273 from krousey/cluser_skydns
Updating some SkyDNS templates to v1beta3
2015-05-28 14:58:03 -07:00
Dawn Chen
79a2a4f18d Fix the race when monit is used to monitor services which are also
started at boot time via init.d at boot time.
2015-05-28 11:58:33 -07:00
Matt Bruzek
a464d624e6 Chaning the bundle to use the new config value. 2015-05-28 13:40:25 -05:00
Matt Bruzek
d344eb6cf0 Making the alias a variable to be replaced by the code. 2015-05-28 13:39:11 -05:00
Matt Bruzek
b112606f54 Setting the alias variable on the template data. 2015-05-28 13:36:53 -05:00
Vishnu Kannan
0ae4defc9d Avoid making connections to the apiserver insecure by default in kube2sky. 2015-05-28 11:04:09 -07:00
derekwaynecarr
3e8b1d5e01 Update all salt providers to force explicit namespace creation; update e2e 2015-05-28 13:45:49 -04:00
Matt Bruzek
08733d9362 Adding the 'local' option to install binaries from local filesystem. 2015-05-28 11:16:14 -05:00
Matt Bruzek
e013541573 Changing the util.sh to build kubernetes binaries locally. 2015-05-28 11:08:09 -05:00
Kris Rousey
8678164357 Updating some SkyDNS templates to v1beta3 2015-05-28 08:32:33 -07:00
Whit Morriss
dd81cfd4b8 update to latest tag 2015-05-28 10:13:19 -05:00
Justin Santa Barbara
521cb0e85b Pass arg lists to gcloud as comma-separated single arg
This should get rid of the scary warning messages on GCE up.

Fixes #8117
2015-05-28 00:36:13 -04:00
Justin Santa Barbara
dc11a5434a GCE kube-up; write the marker only after we have uploaded the file
We can't write the marker before we upload the file, otherwise anything
that interrupts the upload will leave a corrupted upload that we believe
to be current.
2015-05-27 23:33:29 -04:00
Brendan Burns
e1c0e100b5 Turn off certificate checking for Mavericks, as the curl is borked. 2015-05-27 19:53:24 -07:00
Tim Hockin
16db5a9c69 Merge pull request #8621 from MCyprien/util-verify-prereqs
ubuntu cluster utils.sh verify-ssh-prereqs
2015-05-27 12:43:56 -07:00
Tim Hockin
b74786c1b6 Merge pull request #8865 from derekwaynecarr/fix_kube_push
Fix Vagrant node registration and kube-push
2015-05-27 12:42:13 -07:00
Tim Hockin
93a67b75a0 Merge pull request #8537 from a-robinson/ssd
Change the default master data disk on GCE to be a 20GB SSD
2015-05-27 09:39:19 -07:00
Eric Tune
b76dd0e585 Merge pull request #8722 from roberthbailey/dead-flags-salt
Remove deprecated nodecontroller flags from the salt configuration.
2015-05-27 08:22:26 -07:00
derekwaynecarr
2f1dd9228f Fix Vagrant node registration and kube-push 2015-05-27 10:50:57 -04:00
Wojciech Tyczynski
e25a34c8a1 Extend logging for cluster validation 2015-05-27 12:05:26 +02:00
Victor Marmol
c97dda068d Create a /system system container in Debian. 2015-05-26 20:52:09 -07:00
Saad Ali
fae1636eda Merge pull request #8586 from vmarmol/use-root-containers
Run Docker containers as top-level containers in Debian.
2015-05-26 18:44:36 -07:00
Saad Ali
2c92915f63 Merge pull request #8752 from ZJU-SEL/Fix#8373
Fix #8373 add kubectl for cluster validation
2015-05-26 18:29:07 -07:00
Saad Ali
bed9f826d3 Merge pull request #7435 from jsafrane/devel/volume-tests
V2: Add e2e tests for NFS and Gluster
2015-05-26 17:49:41 -07:00
Saad Ali
496be63c00 Merge pull request #8717 from saad-ali/gceUpgradeScriptNewParams
Modify GCE upgrade script to not require exact version number
2015-05-26 15:09:15 -07:00
Saad Ali
e25af35252 Merge pull request #8757 from invenfantasy/master
remove duplicate configuration
2015-05-26 14:54:44 -07:00
Saad Ali
abaa278b0e Merge pull request #8643 from vishh/headless
Adding support for generating A records for headless services.
2015-05-26 14:44:00 -07:00
CJ Cullen
28a8c13c19 Fix detect-minion-names for gke provider 2015-05-26 14:15:01 -07:00
Robert Bailey
e46b5641ae Remove deprecated flags from the salt configuration. 2015-05-26 12:36:09 -07:00
Filip Grzadkowski
e2c4a01b60 Merge pull request #8808 from fgrzadkowski/fix_warnings
Fix WARNING during kube-push.sh
2015-05-26 08:29:04 -07:00
Filip Grzadkowski
8fe771b4a3 Fix WARNING during kube-push.sh 2015-05-26 17:04:57 +02:00
gmarek
584496d2c4 Small fixes to get-kube.sh 2015-05-26 14:29:07 +02:00
Vishnu Kannan
d3c7edb78f New release of kube2sky (v1.7) 2015-05-25 19:43:57 -07:00
orangain
dec143600a kubectl's dir should be 386 not x86 in x86 enviroment
Before applying this patch, `cluster/kubectl.sh` failed to find
`kubectl` binary in x86 environment.

e.g. The latest release v0.17.1 contains following binaries:
https://github.com/GoogleCloudPlatform/kubernetes/releases/tag/v0.17.1

```
$ tree platforms/
platforms/
├── darwin
│   ├── 386
│   │   └── kubectl
│   └── amd64
│       └── kubectl
├── linux
│   ├── 386
│   │   └── kubectl
│   ├── amd64
│   │   └── kubectl
│   └── arm
│       └── kubectl
└── windows
    └── amd64
            └── kubectl.exe
```
2015-05-25 22:06:14 +09:00
Jan Safranek
20004e0c16 Add e2e tests for Gluster and NFS tests.
- add appropriate server containers into contrib/for-tests/volumes-tester
- the tests are off by default (they need kubelet --allow_privileged=True)
  - enable by 'go run hack/e2e.go ... --ginkgo.focus=Volume'
- add glusterfs tools to list of installed packages on each node
2015-05-25 12:02:41 +02:00
Filip Grzadkowski
5b03939b84 Fix WARNING when creating firewall during e2e tests 2015-05-25 09:46:24 +02:00
invenfantasy
9ff8f7ec7d remove duplicate configuration 2015-05-24 23:20:03 +08:00
wizard
ca0d82dd44 add kubectl fix#8373 2015-05-24 16:33:11 +08:00
Mat Schaffer
e7ae425385 Colorize errors for consistency with other checks 2015-05-23 16:12:24 +09:00
Vishnu Kannan
f0c20e17c5 Adding support for generating A records for headless services. 2015-05-22 23:00:24 -07:00
Justin Santa Barbara
ae80ed53cf Automatically open NodePort firewall rules for e2e tests 2015-05-22 22:39:40 -04:00
CJ Cullen
d6e0aedec1 Re-add the cluster_name flag that the ServiceController and RouteController need. 2015-05-22 16:31:22 -07:00
saadali
27c777d61d Modify GCE upgrade script to not require exact version number 2015-05-22 15:57:35 -07:00
Dawn Chen
c2831fb047 Merge pull request #8624 from chuckbutler/flannel-docker-namespace
Repoint flannel-docker service to ~kubernetes namespace
2015-05-22 14:33:58 -07:00
Victor Marmol
656be14e84 Run Docker containers as top-level containers in Debian.
Part of #8215
2015-05-22 13:27:25 -07:00
Dawn Chen
a823f6d1d5 Merge pull request #8558 from ZJU-SEL/updateEtcd
Update etcd version to 2.0.9 for ubuntu k8s
2015-05-22 12:35:53 -07:00
Dawn Chen
677a4aa1a7 Merge pull request #8164 from cjcullen/cloudprovider
Route creation reconciler loop.
2015-05-22 12:27:50 -07:00
Dawn Chen
626d25d50e Initial cpu limit for fluentd pods (file based). 2015-05-21 23:44:26 -07:00
Mat Schaffer
26736e494c Check that s3 bucket has been created
Fixes #8395
2015-05-22 14:12:36 +09:00
CJ Cullen
e6da5b9601 Make routecontroller_test less hacky.
Rename reconcilePodCIDRs to reconcileNodeCIDRs.
Add comments and TODOs about using controller framework.
2015-05-21 18:05:11 -07:00
Zach Loafman
3e4a94080d Merge pull request #7938 from mbforbes/rollingUpgrade
Rolling node upgrade
2015-05-21 14:48:40 -07:00
Charles Butler
7f38d62b65 Repeat fix for docker charm (but point @ store copy) 2015-05-21 14:46:29 -04:00
Charles Butler
f40820391a Repoint flannel-docker service to ~kubernetes namespace
This branch of the charm-store charm is tracking features targeted at
kubernetes based deployments, while the devel focus will continually be
in a state of experimentation and learning.

As all things awesome - deploy in lockstep from a source that has
extensive testing to ensure we aren't handing out experimental code that
hasn't been fully tested e2e w/ the kubernetes project.
2015-05-21 14:23:25 -04:00
Dawn Chen
017fb6a818 Merge pull request #8575 from yifan-gu/kube_refactor
Minor kubelet/rkt refactors
2015-05-21 09:37:31 -07:00
Dawn Chen
9a316dd409 Merge pull request #8501 from ArtfulCoder/kubelet_svc_subdomain
Support old and new style dns service names.
2015-05-21 09:22:03 -07:00
Dawn Chen
456262c43c Merge pull request #8475 from dchen1107/clean
Create default LimitRange object for cluster: 100m cpu.share per container
2015-05-21 09:14:20 -07:00
Dawn Chen
04c4d25065 Merge pull request #7905 from bakins/aws-coreos
AWS: use CoreOS for nodes
2015-05-21 09:05:56 -07:00
Marc Cyprien
36b2f2dd04 PR for [#8559](https://github.com/GoogleCloudPlatform/kubernetes/issues/8559) 2015-05-21 16:16:53 +02:00
wizard
a070bad50f update etcd version to 2.0.9 for ubuntu k8s 2015-05-21 12:51:39 +08:00
Abhishek Shah
dff3a7daaa skydns changes 2015-05-20 17:04:30 -07:00
CJ Cullen
0d12a15971 Route creation reconciler loop. 2015-05-20 14:21:30 -07:00
CJ Cullen
bf646abf8d Revert "Revert "Modify nodes to register directly with the master.""
This reverts commit c53786ab31.
2015-05-20 14:21:03 -07:00
Quinton Hoole
c53786ab31 Revert "Modify nodes to register directly with the master." 2015-05-20 13:47:51 -07:00
Yifan Gu
02eee4890b cluster/gce/coreos: Make rkt version configuable. 2015-05-20 12:08:32 -07:00
Satnam Singh
32842b4d22 Update Fluentd GCP image 2015-05-19 16:12:50 -07:00
Alex Robinson
24c532bef1 Change the default master data disk on GCE to be a 20GB SSD. 2015-05-19 15:49:18 -07:00
Eric Tune
f85e6bcf74 Merge pull request #8502 from whitmo/juju-petstore-action
Juju provider petstore action  & kubectl.sh fix
2015-05-19 12:20:23 -07:00
Yu-Ju Hong
8e5d78c687 Merge pull request #8485 from brendandburns/docker
More fixes for release 0.17.0
2015-05-19 12:06:00 -07:00
Max Forbes
3437ac691a Rolling node upgrade 2015-05-19 11:42:34 -07:00
Eric Tune
1f4172d23c Merge pull request #6949 from roberthbailey/node-register
Modify nodes to register directly with the master.
2015-05-19 11:29:43 -07:00
Yu-Ju Hong
1714579f8f Merge pull request #8497 from lvlv/master
Fix influxdb external url and its port
2015-05-19 10:28:06 -07:00
Dawn Chen
061155c1eb Create LimitRange object for cluster before addons service 2015-05-19 10:23:41 -07:00
Dawn Chen
55501a6314 Have default LimitRange created for cluster: 100m cpu.share per container 2015-05-19 10:23:40 -07:00
Eric Tune
dc81fe1f12 Merge pull request #7998 from doublerr/rackspace_fixes
Rackspace fixes
2015-05-19 09:59:54 -07:00
Robert Bailey
8e356f8439 Configure the cloud provider for the kubelet. 2015-05-19 09:55:07 -07:00
Robert Bailey
01467e0bb8 Modify nodes to register directly with the master.
- Delete nodes when they are no longer ready and don't exist in the
cloud provider.
 - Label each node with it's hostname.
 - Add flag to skip node registration.
 - Add a test for registering an existing node.
2015-05-19 09:55:07 -07:00
Whit Morriss
52112ad985 make ./kubectl.sh work with juju provider 2015-05-19 10:01:55 -05:00
Whit Morriss
5d19597ffa Add juju action to start petstore example
This is @chuckbutler's work, with some small fixes

`juju action do kubernetes-master/0 petstore` launches the example code
2015-05-19 09:47:08 -05:00
Lv Lv
e8fe157a7f Fix influxdb external url and its port 2015-05-19 20:35:19 +08:00
Brendan Burns
f51f8b3a86 More fixes for release 0.17.0 2015-05-18 20:47:03 -07:00
Satnam Singh
702bf625ce Add explicit version to name of monitoring RCs 2015-05-18 18:13:18 -07:00
Brendan Burns
cbef26b1dd Update docker instructions to 0.17.0 2015-05-18 16:51:48 -07:00
Tim Hockin
6b6b47a777 Merge pull request #8452 from satnam6502/skydns
Embed version number in kube-dns RC
2015-05-18 16:36:43 -07:00
Tim Hockin
931f448af1 Merge pull request #8456 from satnam6502/doc
Document process for updating version of kube-dns
2015-05-18 16:35:54 -07:00
Victor Marmol
7dde223c2a Merge pull request #8458 from satnam6502/elasticsearch
Give explicit version number to Elasticsearch logging RC
2015-05-18 16:27:08 -07:00
Satnam Singh
3337cea8bb Give explicit version number to Kibana RC 2015-05-18 16:04:13 -07:00
Victor Marmol
e83a4e3fd8 Merge pull request #8450 from satnam6502/kibana
Add version label to Kibana controller and service
2015-05-18 15:56:27 -07:00
Satnam Singh
83cd97a2e7 Give explicit version number to Elasticsearch logging RC 2015-05-18 15:53:01 -07:00
Satnam Singh
c7d5b4fa2f Document process for updating version of kube-dns 2015-05-18 15:41:08 -07:00
Satnam Singh
fbf6d36e1c Embed version number in kube-dns RC 2015-05-18 15:18:44 -07:00
Satnam Singh
4a0c6b3e0b Add version label to Kibana controller and service 2015-05-18 14:49:12 -07:00
Satnam Singh
c84fd94b11 Update Elasticsearch cluster level service to add version label 2015-05-18 14:43:58 -07:00
Victor Marmol
397b7d1bf2 Merge pull request #8427 from vishh/heapster_v0.12.1
Updating heapster to v0.12.1.
2015-05-18 14:01:20 -07:00
Vishnu Kannan
63a5e3895c Updating heapster to v0.12.1. This adds support for tokens and improves scalability
in large clusters.
2015-05-18 12:04:46 -07:00
Paul Weil
e565b20b37 fix gendocs 2015-05-18 13:32:55 -04:00
Victor Marmol
f9c9564561 Merge pull request #8047 from ZJU-SEL/0.15dns
Revert to v0.15.0 dns manifest temporarily in ubuntu deployment
2015-05-18 08:41:08 -07:00
Victor Marmol
d064e843ab Merge pull request #8287 from vishh/kube2sky
Adding unit tests for existing kube2sky logic
2015-05-18 08:40:19 -07:00
Victor Marmol
4ba22e713a Merge pull request #8296 from jlowdermilk/gen-analytics
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Victor Marmol
d0e7040b94 Merge pull request #8367 from thockin/kube2sky
Add docs on making a release
2015-05-18 08:37:28 -07:00
Vishnu Kannan
684122f2a7 Adding unit tests for existing kube2sky logic. 2015-05-17 19:13:50 -07:00
Justin Santa Barbara
87dfddb259 AWS: Set MASTER_RESERVED_IP in config-default.sh
Otherwise jenkins fails
2015-05-16 20:32:23 -04:00
Vish Kannan
d51e131726 Merge pull request #8354 from vishh/kube2sky_2
Revert kube2sky to use kubernetes-ro service
2015-05-15 21:23:15 -07:00
wizard
4a8406ee8e use v0.15.0 dns manifest 2015-05-16 10:11:42 +08:00
Jeff Lowdermilk
553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Tim Hockin
284f87040c Add docs on making a release 2015-05-15 17:51:01 -07:00
Vishnu Kannan
50522a207b Revert kube2sky to use kubernetes-ro service until the dns-token is updated
to not use dns names.
2015-05-15 16:44:20 -07:00
nikhiljindal
fa9f864782 Adding a script to update etcd objects 2015-05-15 16:20:35 -07:00
Daniel Smith
ce4b54ec70 Merge pull request #8209 from krousey/v1beta1_cluster
Removing some v1beta1 uses in cluster/
2015-05-15 14:56:41 -07:00
Kris Rousey
98c457c397 Updating /cluster to use v1beta 3 specs, and change a lot of polling to
healthz instead of api endpoints.
2015-05-15 14:17:55 -07:00
Satnam Singh
afedb2d24a Merge pull request #8322 from thockin/dns
Base the kube2sky container on busybox
2015-05-15 12:05:37 -07:00
Prashanth B
1f0b4c5e2a Merge pull request #8232 from zmerlynn/i8196
Ensure basic DNS functionality before doing real work in configure-vm.sh
2015-05-15 10:19:35 -07:00
Tim Hockin
850e0e682e Base the kube2sky container on busybox 2015-05-15 08:49:52 -07:00
Victor Marmol
d3c6fb0d6a Merge pull request #8275 from dchen1107/clean
Install monit_watcher as a cron job (1m) to check if monit is running,
2015-05-15 08:02:55 -07:00
Victor Marmol
c869f5d0cc Merge pull request #8282 from mbruzek/fixing-permissions
Fixing the permissions on python files.
2015-05-14 18:26:43 -07:00
CJ Cullen
213a1b5e71 Merge pull request #8290 from roberthbailey/unbound-var
Fix an unbound variable error when CA_CERT isn't set.
2015-05-14 15:51:55 -07:00
Robert Bailey
9edc359de7 Fix an unbound variable error when CA_CERT isn't set. 2015-05-14 15:42:16 -07:00
Robert Bailey
a236f04a5f Remove newlines output by base64 on linux. 2015-05-14 15:39:26 -07:00
Dawn Chen
e6c159eda2 Install monit_watcher as a cron job (1m) to check if monit is running,
and oom protect monit processes.
2015-05-14 15:19:11 -07:00
Matt Bruzek
985375e82b Changing hooks.py back to executable. 2015-05-14 16:51:55 -05:00
Robert Bailey
9d6c032929 Merge pull request #7888 from madis/associate_aws_elastic_ip_with_master
Associate master instance with AWS Elastic IP
2015-05-14 13:18:19 -07:00
Matt Bruzek
d8b9e2e184 Fixing the permissions on python files. 2015-05-14 15:02:22 -05:00
Robert Bailey
9ab41db7ea Static cert distribution for GCE.
To make cert validation work, no longer use the
fqdn for the master name on the node VMs.
2015-05-14 11:59:13 -07:00
Rohit Jnagal
e4c98a05ea Merge pull request #8182 from GoogleCloudPlatform/revert-7863-etcd_maxprocs
Revert "Set GOMAXPROCS for etcd"
2015-05-14 11:19:56 -07:00
Satnam Singh
e8f55e81e5 Add a TAG Makefile variable for the kube2sky image 2015-05-14 10:57:45 -07:00
Rohit Jnagal
bd0156c65a Merge pull request #8204 from jlowdermilk/gke-todos
Cleanup some todos for gke + rip out dead code
2015-05-14 10:30:24 -07:00
Tim Hockin
ae52c15f1c Merge pull request #8253 from thockin/dns-health
Fix spurious quote in DNS healthcheck
2015-05-14 10:08:09 -07:00
Victor Marmol
5e7a7b9206 Merge pull request #8241 from gmarek/remove_name
Remove unused ClusterName from NodeController
2015-05-14 09:49:34 -07:00
Tim Hockin
1b1010621f Fix spurious quote in DNS healthcheck 2015-05-14 09:39:02 -07:00
Victor Marmol
2b1b85468a Merge pull request #7330 from chrismoos/volume_format_script_updates
Add safe_format_and_mount to hyperkube image.
2015-05-14 09:17:20 -07:00
Victor Marmol
def22b51c8 Merge pull request #8046 from ZJU-SEL/add-ubuntu-test-build-release
add func test-build-release
2015-05-14 09:07:04 -07:00
gmarek
8a4717d3f5 Remove unused ClusterName from NodeController 2015-05-14 18:01:23 +02:00
Madis Nõmme
15643a2c72 Add 'auto' option for MASTER_RESERVED_IP. No ElasticIP allocation by default.
Default behaviour when setting up a cluster is using the Amazon-assigned public ip.
It will change between reboots. If MASTER_RESERVED_IP is set to 'auto', new Elastic
IP will be allocated & assigned to master. If MASTER_RESERVED_IP is set to an existing
Elastic IP, it will be used. When something fails, original Amazon-given IP will be used.
2015-05-14 08:33:07 +03:00
Ryan Richard
4e2f350bc9 rackspace: kube_bearer_token -> kubelet_token 2015-05-13 21:38:29 -05:00
Ryan Richard
1e8ee4d1f1 minor fixes to get a working cluster 2015-05-13 21:33:25 -05:00
Ryan Richard
16a448082f add functions to generate tokens 2015-05-13 21:33:25 -05:00
Ryan Richard
6968074c90 remove manifest config and bump rax coreos image 2015-05-13 21:33:25 -05:00
Ryan Richard
6ae14b3630 add initial support for flannel 2015-05-13 21:33:24 -05:00
Ryan Richard
b2aa089df0 fix download-release.sh
Download-release.sh was overwriting previous downloads
even if the temp URL had expired which resulted in the
release and binaries being overriden.
2015-05-13 21:33:24 -05:00
Ryan Richard
75dac16c34 leverage $public_ip4 for apiserver communication 2015-05-13 21:33:24 -05:00
Eric Tune
936f9cc95d WIP: Update Rackspace so node talks to apiserver
Kubernetes project has decided that it is better if kubelet
and kube-proxy use the apiserver REST interface to get and
set resources instead of accessing resource keys in etcd directly.
This is necessary to support kubelet reporting of events,
and also encapsulates the apiserver store details.

This means that the kubelet and kube-proxy need to know the
apiserver host(s) via a flag.

Since the Rackspace config already used etcd to advertise the
minions to the controller-manager, I used the same pattern to advertise
the apiserver(s) to the minions.

Setting --public_address_override=$private_ipv4 is intended to ensure that
the master serves its http interface on the right ethernet device, since I think
there are two on a droplet.

The new apiserver-advertiser.service puts the IPs of any apiservers in etcd.

The kubelet and kube-proxy now take an environment file which contains
the list of apiserver IPs, and that env var goes into a flag.  The
etcd_servers argument is removed -- the point is for these binaries
to not access etcd.

The new apiserver-finder.service watches for changes in etcd and
restarts kubelet and kube proxy when there are new apiservers.
2015-05-13 21:33:23 -05:00
Zach Loafman
06c22c699a Ensure basic DNS functionality before doing real work in configure-vm.sh
Fixes #8196. Maybe. If my theory is correct on how we got there. Also
changes the inference of master to be based on the master name, not
the node instance prefix. That way if we somehow have a bogus
hostname, the master will configure itself as a node, the whole
cluster fails, and it's a ton more obvious.
2015-05-13 19:12:53 -07:00
Dawn Chen
309a157665 Merge pull request #7984 from cjcullen/kubelet
Kubelet configure cbr0 instead of configure-vm.sh
2015-05-13 17:32:52 -07:00
Vish Kannan
f49757cba5 Merge pull request #8221 from ArtfulCoder/use_https
Use https to access apiserver from kube2sky
2015-05-13 17:21:41 -07:00
Abhishek Shah
71a10c2044 Use https 2015-05-13 17:03:29 -07:00
Robert Bailey
a61baf6a74 Merge pull request #8208 from saad-ali/fixTemplateUpDown2
Fix GCE kube-down incorrect MIG delete OpID
2015-05-13 15:28:52 -07:00
saadali
c118b6d603 Fix GCE kube-down incorrect MIG delete OpID 2015-05-13 15:06:43 -07:00
Vish Kannan
5b8e70181f Merge pull request #8199 from satnam6502/es
Revert to using emptyDir for Elasticsearch data
2015-05-13 14:47:03 -07:00
Jeff Lowdermilk
3f3760a14a Cleanup some todos for gke + rip out dead AuthConfig code 2015-05-13 13:54:02 -07:00
Brian Akins
fac4350fa6 Initial addition of CoreOS as minion for AWS cluster 2015-05-13 16:39:22 -04:00
Rohit Jnagal
a1ef8585da Merge pull request #8168 from brendandburns/docker
Update single node docker to 0.16.2
2015-05-13 13:25:27 -07:00
Quinton Hoole
d114945b90 Merge pull request #8181 from thockin/dns-health
Fix DNS health check
2015-05-13 13:08:37 -07:00
Satnam Singh
ca121ee98d Revert to using emptyDir for Elasticsearch data 2015-05-13 12:52:56 -07:00
Yu-Ju Hong
ad83197c63 Merge pull request #8187 from satnam6502/nosecret
Remove the use of secrets from node level logging agents
2015-05-13 11:12:08 -07:00
Jeff Lowdermilk
f8ebc4e21e Merge pull request #8104 from roberthbailey/kubelet-using-kubeconfig
Replace the auth config file with a kubeconfig file when starting the kubelet on GCE.
2015-05-13 11:09:27 -07:00
Derek Carr
9454d58547 Merge pull request #8127 from liggitt/service_account_admission
Add ServiceAccount admission plugin
2015-05-13 14:03:11 -04:00
Zach Loafman
abd1f89ba7 Merge pull request #8189 from dchen1107/clean
Monit watch kubelet and kube-proxy on master node too.
2015-05-13 10:57:41 -07:00
Dawn Chen
e32daf4229 Monit watch kubelet and kube-proxy on master node too. 2015-05-13 10:36:00 -07:00
Satnam Singh
53ec5e38c7 Remove the use of secrets from node level logging agents 2015-05-13 10:11:07 -07:00
Filip Grzadkowski
eecd7b8c0f Revert "Set GOMAXPROCS for etcd" 2015-05-13 17:53:04 +02:00
Tim Hockin
ab30484a4f Fix DNS health check 2015-05-13 08:51:06 -07:00
Zach Loafman
02f3a32196 Merge pull request #8131 from justinsb/aws_install_salt_gce_style
Install specific salt version on AWS, based on GCE
2015-05-13 06:55:32 -07:00
Brendan Burns
48d7604f4e Update single node docker to 0.16.2 2015-05-13 11:15:56 +01:00
Robert Bailey
c47b9178b4 Replace the auth config file with a kubeconfig file when
starting the kubelet on GCE.
2015-05-13 01:03:28 -07:00
Madis Nõmme
eb220f05a6 Properly get return value (considering errexit). Quote variables. 2015-05-13 10:45:51 +03:00
Madis Nõmme
d4d02a9028 Optionally associate master instance with AWS Elastic IP
When MASTER_RESERVED_IP is set to elastic IP from AWS, then aws/util.sh will
associate it with master instance and assign it to KUBE_MASTER_IP. If no MASTER_RESERVED_IP
is set, new elastic ip will be requested from amazon. This allows cluster certificates to
be generated for an IP that doesn't change between stopping & starting cluster instances.

The requested elastic ip is not released when kube-down.sh is run. I think it is good
because user could have created DNS records and it would be bad if the IP was removed.
He can reuse it next time through MASTER_RESERVED_IP when setting up cluster again.
2015-05-13 10:45:51 +03:00
CJ Cullen
31ea7d1295 Put cbr0-modifying stuff behind a flag. Address some other comments. 2015-05-12 23:00:28 -07:00
CJ Cullen
5e3d2b9138 Kubelet configure cbr0 instead of configure-vm.sh 2015-05-12 23:00:12 -07:00
Justin Santa Barbara
23b1a22203 AWS: Don't use policy-rc.d to prevent starting daemons until we're ready
It isn't required
2015-05-12 21:18:48 -04:00
Nikhil Jindal
c2fecff3d5 Merge pull request #8067 from piosz/kubectl
Added label kubernetes.io/name to cluster services
2015-05-12 17:09:22 -07:00
Quinton Hoole
de0d59be05 Merge pull request #8096 from saad-ali/fixTemplateUpDown
Make MIG deletion during GCE kube down blocking, so that subsequent template deletion doesn't fail.
2015-05-12 17:05:13 -07:00
saadali
932cdd954d Clean up GCE kube-down script by using set e 2015-05-12 16:58:22 -07:00
Nikhil Jindal
5e11830e13 Merge pull request #7988 from satnam6502/es-image
Make the Elasticsearch logging pods discover each other
2015-05-12 16:19:57 -07:00
Satnam Singh
7cff506c93 Make the Elasticsearch logging pods discover each other 2015-05-12 15:26:09 -07:00
Alex Robinson
a98d883134 Merge pull request #8121 from satnam6502/fluentd-gcp
Convert node level logging to Cloud Logging to use token-system-logging
2015-05-12 14:26:46 -07:00
Alex Robinson
96cb4360fa Merge pull request #8120 from satnam6502/fluentd-es
Convert nodel level logging to ES to use token-system-logging
2015-05-12 14:26:28 -07:00
Clayton Coleman
7d620c20b9 Merge pull request #8105 from thockin/dns-domain
Rename default DNS domain to cluster.local
2015-05-12 17:18:45 -04:00
Zach Loafman
0b0bace006 Merge pull request #8009 from mbforbes/refactorEnv
Refactor master vs node kube-env and salt auth
2015-05-12 13:37:54 -07:00
Justin Santa Barbara
ffb0e7f9b8 Install specific salt version on AWS, based on GCE
The latest salt version breaks the container_bridge.py _state function

We can lock to the same version as GCE.  This is not a full fix,
because we can't update to the latest salt without breaking GCE,
but this at least unbreaks and sync AWS with GCE.

This isn't a straight copy from GCE, because we still use
the salt master on AWS (for now)

Fixes #8114
2015-05-12 16:33:56 -04:00
Max Forbes
76c89db5a8 Master vs node salt auth refactor in configure-vm.sh 2015-05-12 13:26:11 -07:00
Max Forbes
0acf8f9a00 Refactor GCE kube-env for both OSes. 2015-05-12 13:26:10 -07:00
Jordan Liggitt
e5d47081a2 Add ServiceAccount admission plugin 2015-05-12 15:19:05 -04:00
Nikhil Jindal
d75bd8bf2a Merge pull request #7101 from liggitt/service_account
ServiceAccounts
2015-05-12 10:23:41 -07:00
Satnam Singh
ade18e4ff3 Conver node level logging to Cloud Logging to use token-system-logging 2015-05-12 10:17:45 -07:00
Satnam Singh
f9af0658fa Convert nodel level logging to ES to use token-system-logging 2015-05-12 10:07:49 -07:00
Tim Hockin
e83e49b076 rename default DNS domain to cluster.local 2015-05-11 23:00:43 -07:00
saadali
c5b1508774 Make MIG deletion during GCE kube down blocking, so that subseqent template deletion doesn't fail. 2015-05-11 18:51:59 -07:00
Alex Robinson
e2b7ef8d2c Merge pull request #8078 from satnam6502/fluentd-gcp
Convert Fluentd to Cloud Logging pod specs to YAML
2015-05-11 16:55:14 -07:00
Satnam Singh
e246685468 Convert Fluentd to Cloud Logging pod specs to YAML 2015-05-11 14:55:46 -07:00
Satnam Singh
2f5ba28a17 Switch Fluentd to ES manifest back to YAML 2015-05-11 14:37:41 -07:00
Jordan Liggitt
7e14a80f63 ServiceAccount admission plugin 2015-05-11 17:18:06 -04:00
Jordan Liggitt
db1f0dc906 JWT token generation/verification 2015-05-11 17:18:06 -04:00
Daniel Smith
caddcd8cd3 Merge pull request #7901 from vishh/kube2sky
Updated kube2sky to use the controller framework.
2015-05-11 13:49:20 -07:00
Robert Bailey
6c42cb154b Stop copying certs into /usr/share/nginx/ since nothing relies
on that location any longer.
2015-05-11 11:44:19 -07:00
Alex Robinson
8bec62e42c Merge pull request #7995 from satnam6502/es-logging
Upgrade to Kibana 4 for cluster logging
2015-05-11 10:40:41 -07:00
Piotr Szczesniak
12e44ff8a9 Added label kubernetes.io/name to cluster services
The label specifies service name which is displayed in kubectl cluster-info
2015-05-11 19:35:53 +02:00
Nikhil Jindal
72ac82eba9 Merge pull request #8005 from lavalamp/kubectlFix
Don't print debugging things on every run of kubectl.sh
2015-05-11 10:19:37 -07:00
Jeff Lowdermilk
6523d18130 Future proof GKE kubeconfig handling in e2e driver 2015-05-11 09:57:54 -07:00
Filip Grzadkowski
26d14300e9 Increase disk size for kubernetes master.
Signed-off-by: Filip Grzadkowski <filipg@google.com>
2015-05-11 15:35:38 +02:00
Piotr Szczesniak
02aa97d695 Added name to kube-dns service
Fixes #7922
2015-05-11 12:42:22 +02:00
He Simei
9e2ac1b8bd add func test-build-release
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-05-11 10:07:58 +08:00
Jeff Lowdermilk
78386e48ad fix #7921 2015-05-09 07:48:29 -07:00
Jeff Lowdermilk
051288c4ee Merge pull request #7921 from roberthbailey/gke-kubeconfig
Stop setting a GKE specific version of the kubeconfig file
2015-05-08 19:48:49 -07:00
Daniel Smith
ccecb115ed Don't print debugging things on every run of kubectl.sh 2015-05-08 15:55:28 -07:00
Satnam Singh
fcbe2229df Kibana by itself
Upgrade to Kibana 4 for cluster logging
2015-05-08 14:55:52 -07:00
Robert Bailey
9db0c68e3e For GKE, only use the special kubeconfig location if the file exists.
This will allow Jenkins to keep running after the next gcloud release
without needing to make immediate modifications to this file. We can
then remove the extra logic at our own convenience.
2015-05-08 14:53:49 -07:00
Justin Santa Barbara
3cf8d72d96 Copy some new properties from config-default => config.test
ENABLE_MINION_PUBLIC_IP was causing a failure because the variable wasn't declared.

ADMISSION_CONTROL should just be set the same for both test & default
2015-05-08 14:30:17 -07:00
Derek Carr
39de2ee5b8 Merge pull request #7982 from BenTheElder/vagrant_test_fixes
Call kube-down in test-teardown for vagrant.
2015-05-08 15:01:21 -04:00
BenTheElder
0b32bb1e4c Call kube-down in test-teardown
See https://github.com/GoogleCloudPlatform/kubernetes/issues/7978
2015-05-08 14:50:35 -04:00
Robert Bailey
a7bb598889 Merge pull request #7928 from manolitto/disable_minion_public_ip
AWS: make it possible to disable minion public ip assignment
2015-05-08 09:52:42 -07:00
Manfred Geiler
c5c62f7d57 fixed second missing $ and added curly brackets 2015-05-08 17:18:52 +02:00
Manfred Geiler
1119340260 fixed missing $ 2015-05-08 16:58:49 +02:00
Manfred Geiler
96d34c1106 AWS: added docs for KUBE_ENABLE_MINION_PUBLIC_IP option 2015-05-08 16:56:06 +02:00
Paul Morie
ad4b6dcb0d Ease building kubelet image 2015-05-08 01:21:25 -04:00
Fabio Yeon
89b3ffa5b7 Check node status as part of validate-cluster.sh. 2015-05-07 16:13:07 -07:00
Manfred Geiler
205ed2bf6e AWS: make it possible to disable minion public ip association 2015-05-08 00:09:47 +02:00
Vishnu Kannan
e521b3f1af Updated kube2sky to use the controller framework.
Refactored the code a bit to make it easy for future enhancements and
unit testing.
Tested the change manually on a kube node with and without kubeConfig based tokens.
2015-05-07 14:40:44 -07:00
Rohit Jnagal
36bb479c52 Merge pull request #5498 from ZJU-SEL/refactor-ubuntu
Ubuntu-distro: deprecate & merge ubuntu single node work to ubuntu cluster node stuff
2015-05-07 09:41:20 -07:00
Vish Kannan
e25210d367 Merge pull request #7822 from thockin/dns
DNS: expose 53/TCP
2015-05-07 09:34:52 -07:00
wizard
595345c6a6 Merge the old single-node and multi-node ubuntu deployment into one better approach and update the guidance 2015-05-07 21:01:29 +08:00
Wojciech Tyczynski
ca0f678b9a Merge pull request #7792 from pweil-/security-context-types
SecurityContext admission clean up
2015-05-07 10:43:43 +02:00
Wojciech Tyczynski
600b00f2b1 Merge pull request #7863 from fgrzadkowski/etcd_maxprocs
Set GOMAXPROCS for etcd
2015-05-07 10:09:29 +02:00
Tim Hockin
ec8ba4a62f Expose 53/TCP on DNS service 2015-05-07 00:40:39 -07:00
Tim Hockin
9eb1fb85bd Convert DNS service to v1beta3 2015-05-07 00:40:35 -07:00
Tim Hockin
58a18447fa Expose 53/TCP in DNS pod (not service yet) 2015-05-07 00:40:31 -07:00
Tim Hockin
dfe81b7974 Cleanups in DNS pod YAML. 2015-05-07 00:40:23 -07:00
Filip Grzadkowski
7e8bde53dd Set GOMAXPROCS for etcd 2015-05-07 08:11:39 +02:00
CJ Cullen
f0c26052eb Fix controller-manager manifest for providers that don't specify CLUSTER_IP_RANGE 2015-05-06 17:50:04 -07:00
Maxwell Forbes
7426b533df Merge pull request #7862 from cjcullen/cbr0
Remove restriction that cluster-cidr be a class-b
2015-05-06 15:46:57 -07:00
saadali
4569de7a46 Enable Google Cloud Monitoring and Google Cloud Logging instead of
Influxdb for Google Compute Engine deployments.
2015-05-06 15:23:40 -07:00
CJ Cullen
fbd125e4e2 Remove restriction that cluster-cidr be a class-b 2015-05-06 15:01:13 -07:00
Dawn Chen
07afcb2bce Merge pull request #7820 from zmerlynn/container-vm-v20150505
Update to container-vm-v20150505 (Also updates GCE to Docker 1.6)
2015-05-06 09:22:35 -07:00
Filipe Brandenburger
b7f9e2cea0 Merge pull request #7651 from zmerlynn/upload_hash_in_util
Also push .sha1 for devel builds
2015-05-06 09:07:39 -07:00
Victor Marmol
302de065f2 Merge pull request #7798 from pmorie/run-containerized
Add ability to dockerize kubelet in local cluster
2015-05-06 08:13:04 -07:00
CJ Cullen
a6b8b2ef59 Merge pull request #7764 from AntonioMeireles/skydns_etcd_deprecatedFlags
skydns: use the etcd-2.x native syntax, enable IANA attributed ports.
2015-05-06 07:31:20 -07:00
Paul Morie
fa1d065595 Add ability to dockerize kubelet in local cluster 2015-05-06 09:36:52 -04:00
Mark Lamourine
b7c1b7eed2 Added port 6443 to kube-proxy default IP address for api-server
added  api_servers_with_port variable and settings.

removed extra port string

split azure api_server host and port out
2015-05-06 12:43:24 +00:00
António Meireles
24a0e5618a skydns: use the etcd-2.x native syntax, enable IANA attributed ports.
per https://github.com/coreos/etcd/blob/master/Documentation/backward_compatibility.md
(there are no functional changes, we just stop using the legacy flags, for
consistency.)

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2015-05-06 10:07:34 +01:00
Jerzy Szczepkowski
58962100db Merge pull request #7827 from zmerlynn/safe_format_cleanup
Clean up safe_format_and_mount spam in the startup logs
2015-05-06 10:50:32 +02:00
Jerzy Szczepkowski
ce590ff961 Merge pull request #7797 from pmorie/kubelet-image
Create docker image for kubelet
2015-05-06 09:23:07 +02:00
Robert Bailey
357df12c02 Set allocate_node_cidrs to be blank by default. 2015-05-05 23:41:30 -07:00
Robert Bailey
06c2f4e3d5 Merge pull request #7799 from cjcullen/test_pull_5246
Fix sync problems in #5246
2015-05-05 22:31:10 -07:00
Zach Loafman
399f7dee43 Clean up safe_format_and_mount spam in the startup logs
Totally minor cleanup, but I'm tired of seeing it's spam in the
startup logs.
2015-05-05 21:23:57 -07:00
Zach Loafman
c78eabbfac Update to container-vm-v20150505 2015-05-05 17:15:54 -07:00
Paul Morie
7b22218f67 Create docker image for kubelet 2015-05-05 20:14:26 -04:00
Jerzy Szczepkowski
e967ffd522 Added flag to set cluster class B network address for pods, add flag to disable allocation CIDRs for Pods. Fixed synchornization bug in NodeController registerNodes(). 2015-05-05 16:10:43 -07:00
Tomek Kulczynski
290c7b94ef Make nodecontroller configure nodes' pod IP ranges 2015-05-05 16:10:42 -07:00
Zach Loafman
875e83a741 Revert "Revert "Security context - types, kubelet, admission"" 2015-05-05 16:02:13 -07:00
Zach Loafman
f48904fd5e Revert "Security context - types, kubelet, admission" 2015-05-05 15:20:39 -07:00
Paul Weil
5acdf5e70b remove trailing comma. Add sc admission controller to ansible and systemd 2015-05-05 16:34:38 -04:00
Paul Weil
982bf19c20 security context initial implementation - squash 2015-05-05 13:46:13 -04:00
Alex Robinson
9ea76dc004 Add a liveness probe to the DNS container. 2015-05-05 17:41:08 +00:00
Alex Robinson
07adb84c23 Update the DNS replication controller to be v1beta3. 2015-05-05 17:41:08 +00:00
Brendan Burns
1b17a32d87 Merge pull request #7755 from viklas/master
FIX: Issue #7750 - Hyperkube docker image needs certificates to connect to cloud-providers
2015-05-05 09:46:41 -07:00
Jeff Lowdermilk
87cdc3f032 Merge pull request #7672 from eparis/boilerplate-python
Check license boilerplate for python files
2015-05-05 09:23:36 -07:00
CJ Cullen
1ec0fb2e3d Make changes suggested in #7675 2015-05-04 21:58:13 -07:00
Chris Moos
1b814ffd2c Add safe_format_and_mount to hyperkube image.
* Add volume format script into hyperkube image.
* Fix issue with format script on non-redhat platforms.
2015-05-04 21:25:39 -07:00
Luke Benson
bba2f9184f FIX: Issue #7750 - Hyperkube needs certificates
Adds ‘ca-certificates’ package to dockerfile for building base
hyperkube image. This resolves controller-manager issue connecting to
cloud provider (experienced with AWS) when running services through
kyperkube.Tested with AWS and kube 0.16.1 binaries.
2015-05-05 11:26:13 +10:00
Zach Loafman
0c107e4c44 Also push .sha1 for devel builds
And adds a .sha1 cache file to indicate what file was already pushed
to GCS, and how to force it if not, removing a few seconds off a
kube-up/push if you're just cycling.

With this and #7602, all TAR_URLS will have a .sha1 as well.
2015-05-04 17:45:34 -07:00
Victor Marmol
d159f4cb2e Merge pull request #7740 from zmerlynn/docker_fallback
Update non-GCE Salt distros to 1.6.0, fallback to ContainerVM Docker version on GCE
2015-05-04 17:03:13 -07:00
Zach Loafman
2b3e52c230 Use built-in ContainerVM Docker version rather than installing lxc-docker 2015-05-04 16:33:00 -07:00
Robert Bailey
9718d667a7 Merge pull request #7744 from zmerlynn/allow_builtin_salt
Skip SaltStack install if it's already installed
2015-05-04 16:32:56 -07:00
Zach Loafman
dd7f3f7df7 Skip SaltStack install if it's already installed
Next ContainerVM image will have SaltStack in it. Also be a little
less persnickety if it's found running. This isn't the case, but we
don't have to be aggressive.
2015-05-04 16:12:53 -07:00
Eric Paris
f416289a85 update all python with boilerplate 2015-05-04 18:37:47 -04:00
Robert Bailey
c6d4c24f37 Merge pull request #7736 from justinsb/aws_fix_known_tokens_file
AWS: Fix variable naming that meant not all tokens were written
2015-05-04 14:34:11 -07:00
Justin Santa Barbara
96f0a39172 AWS: Fix variable naming that meant not all tokens were written
To resolve the inconsistency, chose to go closer to GCE
2015-05-04 17:28:24 -04:00
Nikhil Jindal
2ae13693ab Merge pull request #7675 from cjcullen/cbr0
Fix kube2sky flakes. Fix tools.GetEtcdVersion to work with etcd > 2.0.7
2015-05-04 14:23:29 -07:00
Robert Bailey
e3ff2dc02d Merge pull request #7678 from justinsb/aws_api_on_443
AWS: Change apiserver to listen on 443 directly, not through nginx
2015-05-04 13:52:57 -07:00
CJ Cullen
a21713a771 Fix kube2sky flakes. Fix tools.GetEtcdVersion to work with etcd > 2.0.7 2015-05-04 13:01:35 -07:00
Daniel Smith
fbe3ec7513 Merge pull request #7316 from ArtfulCoder/master_components_logs
logs for master components
2015-05-04 11:20:03 -07:00
Yu-Ju Hong
5270ce6d28 Merge pull request #7671 from vmarmol/fix-metadata
Make rkt-install a oneshot.
2015-05-04 10:50:36 -07:00
Yu-Ju Hong
c3ba88296b Merge pull request #7665 from vmarmol/cluster-rkt
Provide container_runtime flag to Kubelet in CoreOS.
2015-05-04 10:06:58 -07:00
BenTheElder
7ea1ccd7a3 Set vagrant test cluster default NUM_MINIONS=2 2015-05-04 04:19:20 -04:00
Justin Santa Barbara
57f7b658bb AWS: Change apiserver to listen on 443 directly, not through nginx
Mirrors changes in GCE.  I think the same changes will be needed for vagrant.
2015-05-02 16:59:04 -04:00
Victor Marmol
9253249b19 Make rkt-install a oneshot.
This will make our dependencies wait for us before they execute.
2015-05-01 17:44:44 -07:00
Victor Marmol
727016dc30 Provide container_runtime flag to Kubelet in CoreOS. 2015-05-01 17:02:33 -07:00
Eric Paris
6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Vish Kannan
3cc53127de Merge pull request #7626 from crossorigin/heapster-0.11.0
bump heapster to v0.11.0 and grafana to v0.7.0
2015-05-01 14:24:25 -07:00
Robert Bailey
14c2fb11e1 Don't exit abruptly if there aren't yet any minions right after
the cluster is created.
2015-05-01 13:51:59 -07:00
Ido Shamun
e86316bc4d revert back INFLUXDB_EXTERNAL_URL to api v1beta1 2015-05-01 21:13:04 +03:00
Ido Shamun
37040fb0e3 bump heapster to v0.11.0 and grafana to v0.7.0 2015-05-01 19:42:30 +03:00
Eric Tune
dc137a47eb Merge pull request #7209 from you-n-g/master
change the current dir to the config dir
2015-05-01 08:29:49 -07:00
Eric Tune
dddf414cf5 Merge pull request #7195 from mbruzek/add-charms
Add the Juju charms to Kubernetes
2015-04-30 16:26:58 -07:00
Alex Robinson
8d24f73bab Merge pull request #7579 from satnam6502/fluentd-es-image
Improve comment in Fluentd to ES logging config file
2015-04-30 13:45:03 -07:00
Alex Robinson
f30ed069c0 Merge pull request #7588 from satnam6502/fluentd-gcp-image
Trim Fleuntd tag for Cloud Logging
2015-04-30 13:44:39 -07:00
Satnam Singh
95007d7217 Improve comment in Fluentd to ES logging config file 2015-04-30 13:42:30 -07:00
Satnam Singh
941a457851 Trim Fleuntd tag for Cloud Logging 2015-04-30 13:39:35 -07:00
Victor Marmol
dad73fa94a Merge pull request #7569 from bakins/kubernetes-master-name
GCE CoreOS cluster - set master name based on variable
2015-04-30 12:59:41 -07:00
Alex Robinson
58ede77a58 Merge pull request #7539 from satnam6502/master
Trim cluster log tags to pod name and container name
2015-04-30 10:29:41 -07:00
Zach Loafman
6a0fab3d34 Fix the fix for GKE kube-down
Fixes issue in #7565
2015-04-30 10:23:21 -07:00
Brian Akins
b311a12d90 Use the variable as this changes based on environment. 2015-04-30 12:40:09 -04:00
Jeff Lowdermilk
996168dced fix kube-down for provider gke 2015-04-30 09:22:17 -07:00
Matt Bruzek
74c00d431e Removing unused scripts from km and kubernetes. 2015-04-30 09:27:51 +02:00
Young
f181e98ebd change the current dir to the config dir
Otherwise the script can't run in other dirs.
2015-04-30 14:38:56 +08:00
Satnam Singh
e65f0aafd5 Trim cluster log tags to pod name and container name 2015-04-29 18:24:13 -07:00
Quinton Hoole
a2fe8a9e6c Merge pull request #7527 from cjcullen/dns
Bump kube2sky to 1.2. Point it at https endpoint (3rd try).
2015-04-29 18:00:14 -07:00
CJ Cullen
44cffec157 Bump kube2sky to 1.2. Point it at https endpoint (3rd try). 2015-04-29 14:58:56 -07:00
Yifan Gu
9ba1839f52 cluster/gce/coreos: Add metadata-service in node.yaml 2015-04-29 14:58:26 -07:00
Abhishek Shah
96439b5a52 logs for master components 2015-04-29 09:51:09 -07:00
Victor Marmol
fc34277d8e Merge pull request #7445 from dchen1107/rkt-support
Bring up a kuberenetes cluster using coreos image as worker nodes
2015-04-28 18:04:42 -07:00
Zach Loafman
89195b0a14 Merge pull request #7461 from cjcullen/dns
Revert kube2sky from 1.2 back to 1.1 until we figure out why it's flaky.
2015-04-28 17:23:55 -07:00
Satnam Singh
dc31c58443 Upgrade Elasticsearch to 1.5.2 for cluster logging 2015-04-28 16:20:03 -07:00
Dawn Chen
876f8beec9 Remove unused node-name attribute 2015-04-28 16:13:26 -07:00
Dawn Chen
13a0b033e2 Bring up a cluster using coreos image for worker nodes. 2015-04-28 16:13:26 -07:00
Dawn Chen
5fa11322f8 Factory out debian e.g. ContainerVM image specific support to its own
helper utility library.
2015-04-28 16:07:57 -07:00
Fabio Yeon
0a8d8c1579 Merge pull request #7460 from roberthbailey/validate-cluster
Make validate cluster more reliable
2015-04-28 15:57:43 -07:00
Dawn Chen
8963347b9e Introduce MASTER_IMAGE, MINION_IMAGE and OS_DISTRIBUTION to config-default
for enable coreos and rocket support
2015-04-28 15:31:09 -07:00
CJ Cullen
2b50ee53e0 Revert the change that bumped kube2sky from 1.1->1.2 until we figure out why it's flaky. 2015-04-28 14:57:44 -07:00
Robert Bailey
a7e62d17ff Make validate cluster more reliable (it should retry checking the
server if a subshell returns a non-zero exit status).
2015-04-28 14:57:14 -07:00
Robert Bailey
8206aa9eac Salt configuration to add basic auth to GCE. 2015-04-28 14:07:54 -07:00
Alex Robinson
566f0d4724 Fix GCE logging scope name. 2015-04-28 13:44:30 -07:00
Alex Robinson
3e841510de Merge pull request #7393 from satnam6502/fluentd-gcp-image
New Fluentd to Cloud Logging Dockerfile with args
2015-04-28 11:01:14 -07:00
Alex Robinson
5b5525dca5 Merge pull request #7324 from vishh/log_scope
Enable logging.write scope for minions.
2015-04-28 11:00:10 -07:00
Vishnu Kannan
9c66305f8c Enable logging.write scope by default for nodes. This is required for storing events in
Google Cloud Logging via heapster.
2015-04-28 10:55:06 -07:00
Satnam Singh
20a0905d61 New Fluentd to Cloud Logging Dockerfile with args 2015-04-28 10:30:32 -07:00
Victor Marmol
094e5545d2 Merge pull request #7310 from rjnagal/node
Fix the binary path reported by get-kube script.
2015-04-28 08:24:37 -07:00
Derek Carr
824d830747 Merge pull request #7427 from jsafrane/devel/fix-vagrant2
Fixed name of kube-proxy path in deployment scripts.
2015-04-28 10:24:52 -04:00
Wojciech Tyczynski
92a0b385c7 Merge pull request #7274 from satnam6502/v1beta3
Convert node level logging agents to v1beta3
2015-04-28 10:32:37 +02:00
Jan Safranek
6e810492fb Fixed name of kube-proxy path in deployment scripts. 2015-04-28 10:10:37 +02:00
Satnam Singh
4a0cc7905d Convert node level logging agents to v1beta3 2015-04-27 17:21:42 -07:00
Alex Robinson
743945f3aa Merge pull request #7384 from a-robinson/opts
Remove unused env variable from the fluentd dockerfiles
2015-04-27 17:18:17 -07:00
CJ Cullen
39c5bf363b Merge pull request #7303 from erictune/kube_env3
kube-proxy uses token to access port 443 of apiserver
2015-04-27 14:33:53 -07:00
derekwaynecarr
81e9395533 Fix vagrant regression due to #7326 2015-04-27 17:18:30 -04:00
Alex Robinson
ada9242155 Remove unused env variable from the fluentd dockerfiles and make their apt-get
arguments consistent.
2015-04-27 20:47:38 +00:00
Brendan Burns
a02823c0db Merge pull request #7344 from roberthbailey/google-storage-ssl
Fetch resources from storage.googleapis.com over SSL.
2015-04-27 12:24:46 -07:00
Brendan Burns
637cd57a25 Merge pull request #6606 from gust1n/aws-existing-vpc
AWS: Improving getting existing VPC and subnet
2015-04-27 11:11:25 -07:00
Zach Loafman
b8de4960ac Merge pull request #7367 from erictune/cleanupkubadmintoken
Remove apparently dead code from Azure scripts.
2015-04-27 10:13:40 -07:00
Zach Loafman
5ccfc0a225 Merge pull request #6006 from justinsb/aws_multiple_clusters
First step to supporting multiple k8s clusters
2015-04-27 10:11:03 -07:00
Eric Tune
9b31a76651 Remove apparently dead code from Azure scripts. 2015-04-27 10:08:50 -07:00
Eric Tune
9044177bb6 Generate a token for kube-proxy.
Tested on GCE.
Includes untested modifications for AWS and Vagrant.
No changes for any other distros.
Probably will work on other up-to-date providers
but beware.  Symptom would be that service proxying
stops working.

 1. Generates a token kube-proxy in AWS, GCE, and Vagrant setup scripts.
 1. Distributes the token via salt-overlay, and salt to /var/lib/kube-proxy/kubeconfig
 1. Changes kube-proxy args:
   - use the --kubeconfig argument
   - changes --master argument from http://MASTER:7080 to https://MASTER
     - http -> https
     - explicit port 7080 -> implied 443

Possible ways this might break other distros:

Mitigation: there is an default empty kubeconfig file.
If the distro does not populate the salt-overlay, then
it should get the empty, which parses to an empty
object, which, combined with the --master argument,
should still work.

Mitigation:
  - azure: Special case to use 7080 in
  - rackspace: way out of date, so don't care.
  - vsphere: way out of date, so don't care.
  - other distros: not using salt.
2015-04-27 08:59:57 -07:00
Zach Loafman
df1cfae368 Merge pull request #7326 from roberthbailey/client-cert-auth
Pass the CA root cert into the apiserver
2015-04-27 07:48:59 -07:00
Robert Bailey
a9f8f17299 Fetch the kibana tar.gz over SSL. 2015-04-26 21:57:49 -07:00
Robert Bailey
225da3f88f Fetch resources from storage.googleapis.com over SSL. 2015-04-26 21:51:37 -07:00
Robert Bailey
846ffcff83 Pass the CA root cert into the apiserver so that the apiserver will
perform client cert checks for authorization. Only enable on GCE where
the apiserver is terminating SSL connections from end users.
2015-04-24 22:01:56 -07:00
saadali
acbd3d78f1 Specify host/container ports for InfluxDB, so that the UI is accessible. 2015-04-24 16:22:50 -07:00
Rohit Jnagal
d60c86a3a7 Fix the binary path reported by get-kube script. 2015-04-24 21:31:21 +00:00
Brian Grant
60d7bad147 Merge pull request #7128 from nikhiljindal/fixbeta1tests
Removing more references to v1beta1 from pkg/
2015-04-24 11:07:53 -07:00
Satnam Singh
b6bee06c20 Merge pull request #7269 from zmerlynn/lose_one_sanity
Remove buggy GCE post turn-up cluster validation code (rely on validate-cluster.sh)
2015-04-24 10:56:20 -07:00
Brendan Burns
49977e6a47 Revert "Update docker examples to 0.15.0" 2015-04-24 10:05:27 -07:00
Dawn Chen
2128d4e251 Merge pull request #7261 from erictune/kube_env
Pass KUBELET_TOKEN in kube-env metadata.
2015-04-24 10:03:34 -07:00
Nikhil Jindal
84cb48be11 Merge pull request #7246 from satnam6502/es
Convert Elasticsearch logging to v1beta3 and de-salt
2015-04-24 09:21:41 -07:00
nikhiljindal
dcc368c781 Removing more references to v1beta1 from pkg/ 2015-04-24 00:45:17 -07:00
CJ Cullen
80af1c9e40 kube2sky using kubeconfig secret: take 2. Point system secrets at https://kubernetes. Override in clients that can't use DNS. 2015-04-23 18:13:16 -07:00
David Oppenheimer
dda010b572 Merge pull request #7240 from satnam6502/v1beta3
Update Kibana RC and service to v1beta3
2015-04-23 17:09:27 -07:00
Zach Loafman
ad829dead7 Remove buggy GCE post turn-up cluster validation code (rely on validate-cluster.sh)
Fixes #7266
2015-04-23 16:28:44 -07:00
Eric Tune
e8a83b23d1 Pass KUBELET_TOKEN in kube-env metadata.
ensure-kube-token is not needed anymore because
the token passed in kube-env.

In the up case it is set, in the push case it is an empty string
but not used.

Allow unset KUBELET_TOKEN (for push case).

Fix comment.
2015-04-23 15:21:27 -07:00
Satnam Singh
c9b9e7651e Convert Elasticsearch logging to v1beta and de-salt 2015-04-23 13:06:15 -07:00
Satnam Singh
0abc34245a Update Kibana RC and service to v1beta3 2015-04-23 12:19:17 -07:00
Derek Carr
fade245a44 Merge pull request #7220 from jsafrane/devel/fix-vagrant
V2: Fix vagrant setup broken by commit 7475efbcfb.
2015-04-23 14:49:31 -04:00
Dawn Chen
f9156c281a Merge pull request #7123 from satnam6502/logging
Propagate pod and container name for log files
2015-04-23 10:13:08 -07:00
Joakim Gustin
645d6d1f26 Use existing subnet when launching AWS cluster in existing VPC 2015-04-23 11:01:17 +02:00
Jan Safranek
1c8f888477 Fix vagrant setup broken by commit 7475efbcfb.
- 'local' can be used only inside bash functions
- s/KNOWN_TOKENS_FILE/known_tokens_file
2015-04-23 11:00:10 +02:00
Wojciech Tyczynski
cf824ae5e0 Merge pull request #7164 from fgrzadkowski/fix_wait_minion
Wait for minion to start even if gcloud command fails.
2015-04-23 08:21:19 +02:00
Justin Santa Barbara
9253ae6dca AWS: Fix some bash style problems: variable quoting & locals 2015-04-22 18:30:09 -07:00
Fabio Yeon
0a0bd88db6 Revert "Change kube2sky to use token-system-dns secret, point at https endpoint ..." 2015-04-22 17:56:34 -07:00
Satnam Singh
e4e830badc Update Kibana pod to speak to Elasticsearchusing v1beta3 2015-04-22 17:37:47 -07:00
Fabio Yeon
3ed2dcae68 Merge pull request #7197 from roberthbailey/fix-restart-apiserver
Fix the restart-apiserver command for GCE/GKE.
2015-04-22 15:52:14 -07:00
Robert Bailey
6951bb0bd5 Fix the restart-apiserver command for GCE/GKE. 2015-04-22 15:21:13 -07:00
Satnam Singh
2444c1f943 Propagate pod and container name for log files 2015-04-22 15:08:51 -07:00
Matt Bruzek
ee2d43ac35 Changing the copyright to the Google. 2015-04-22 16:41:03 -05:00
Matt Bruzek
dce5f28a63 Changing the copyright to the Google. 2015-04-22 16:40:16 -05:00
Dawn Chen
87e0d5da08 Merge pull request #7186 from ArtfulCoder/no_log_pod_on_master
removed elasticsearch and fluentd-gcp pods from master
2015-04-22 14:40:07 -07:00
Matt Bruzek
cdc671a86f Setting the default release number to v0.15.0 2015-04-22 16:39:36 -05:00
Robert Bailey
4346c6ecae Swallow the output from the test ssh connections so that it
doesn't interfere with string comparison.
2015-04-22 14:19:15 -07:00
CJ Cullen
924015dc94 Merge pull request #7182 from justinsb/aws_fix_hostname
AWS: Set hostname_override for minions, back to fully-qualified name
2015-04-22 14:13:53 -07:00
Zach Loafman
26aeb6c370 Merge pull request #6618 from roberthbailey/no-nginx
Salt reconfiguration to get rid of nginx on GCE
2015-04-22 13:59:12 -07:00
Matt Bruzek
60f678be32 Merge branch 'master' of github.com:GoogleCloudPlatform/kubernetes into add-charms 2015-04-22 15:07:49 -05:00
Matt Bruzek
b69792535d Updating guestbook with the v1beta3 json files. 2015-04-22 15:05:46 -05:00
Abhishek Shah
8cf11fd608 removed elasticsearch and fluentd-gcp pods from master 2015-04-22 12:54:57 -07:00
Brendan Burns
ee34d4942b Merge pull request #6576 from jeffmendoza/azure-loop
Azure: Wait for salt completion on cluster initialization
2015-04-22 12:51:40 -07:00
Matt Bruzek
b4766bb380 Removing unneeded status check before juju deployer 2015-04-22 14:45:50 -05:00
Robert Bailey
35a18e35c3 Merge pull request #7154 from cjcullen/readonly
Change kube2sky to use token-system-dns secret, point at https endpoint ...
2015-04-22 12:41:53 -07:00
Justin Santa Barbara
4120849cc4 AWS: Set hostname_override for minions, back to fully-qualified name
This is a stop-gap fix; we'd really like to use EC2 instance ids, but that is
blocked by #7092 or changing that health-check to not assume that the node name
is resolvable.

This stop-gap essentially reverts #7072 for AWS
2015-04-22 11:28:53 -07:00
Robert Bailey
dc45f7f9e6 Remove nginx and replace basic auth with bearer token auth for GCE.
- Configure the apiserver to listen securely on 443 instead of 6443.
 - Configure the kubelet to connect to 443 instead of 6443.
 - Update documentation to refer to bearer tokens instead of basic auth.
2015-04-22 11:11:20 -07:00
Robert Bailey
4ca8fbbec6 Merge pull request #7147 from fabioy/validate.fix
Fix validate-cluster.sh to work on Mac.
2015-04-22 11:06:46 -07:00
Zach Loafman
86468cd29d Revert "Added kube-proxy token." 2015-04-22 10:55:08 -07:00
Matt Bruzek
450f1f0215 Using readlink instead of realpath. 2015-04-22 12:53:30 -05:00
Zach Loafman
0e3e502d52 Fix unbound variable after #7146 2015-04-22 10:19:53 -07:00
Zach Loafman
42e1710ccf Fix build after #7146 2015-04-22 10:11:19 -07:00
Zach Loafman
c9988db0ee Merge pull request #7146 from brendandburns/get-k8s
Extend the get-cluster.sh script to use sudo if necessary.
2015-04-22 09:58:07 -07:00
Brendan Burns
42121d1809 Extend the get-cluster.sh script to use sudo if necessary. 2015-04-22 09:52:44 -07:00
Matt Bruzek
dbca4bf5dd Using python to parse the json output from Juju. 2015-04-22 11:36:37 -05:00
Matt Bruzek
5deef09178 Exporting master and minion variables and calling detect methods in kube-up. 2015-04-22 11:35:49 -05:00
Zach Loafman
b98f93bb4b Merge pull request #7112 from erictune/kubeconfig-secrets
Extend PR#5470 for AWS and Vagrant
2015-04-22 09:25:53 -07:00
Zach Loafman
854c20c5e2 Merge pull request #7113 from erictune/kube-proxy-token
Added kube-proxy token.
2015-04-22 09:16:04 -07:00
Matt Bruzek
35301bbcfd Merge branch 'add-charms' of github.com:mbruzek/kubernetes into add-charms
Resolved conflicts in:
	cluster/juju/util.sh
2015-04-22 10:36:42 -05:00
Matt Bruzek
af15d6d614 Removed the need for an extra python file. i
- Formatted for consistency
- Used different variables for juju directory
2015-04-22 10:31:26 -05:00
Matt Bruzek
3342bb42e0 Removed extra c in path to distro files. 2015-04-22 10:29:55 -05:00
Matt Bruzek
5f59e167fd Editing the local bundle to use github. 2015-04-22 10:29:07 -05:00
Whit Morriss
0ab77ae8be line formatting 2015-04-22 09:40:47 -05:00
Whit Morriss
a57a64781a scripting tweaks
- use absolute path for kube_root (fixes JUJU_REPOSITORY directory creation issue) - shortcircuit status polling (for rerunning kubeup)
 - more granular polling iterations
2015-04-22 09:40:47 -05:00
Whit Morriss
cc81044230 use git copy of docker charms for debugging 2015-04-22 09:40:47 -05:00
Filip Grzadkowski
780db9d794 Wait for minion to start even if gcloud command fails. 2015-04-22 16:37:22 +02:00
CJ Cullen
e982ac5b55 Change kube2sky to use token-system-dns secret, point at https endpoint (instead of kubernetes-ro service). 2015-04-21 23:10:12 -07:00
fabioy
acb64e66e8 Fix validate-cluster.sh to work on Mac. 2015-04-21 17:51:35 -07:00
Brendan Burns
78dabbdb7f Fix the ssh-to-node to actually fail on failures. 2015-04-21 15:27:38 -07:00
Brendan Burns
71e6b05825 Fix kube-apiserver restart. 2015-04-21 15:11:00 -07:00
Matt Bruzek
9ca54b3cb6 Merge branch 'master' of github.com:GoogleCloudPlatform/kubernetes into add-charms 2015-04-21 16:55:00 -05:00
Matt Bruzek
9d21292646 Changing bundle to v0.15.0 and docker git head. 2015-04-21 16:50:47 -05:00
Matt Bruzek
60e0a77a0c Removing cadvisor and normalizing python quotes. 2015-04-21 16:46:21 -05:00
Robert Bailey
0035781c50 Merge pull request #7137 from brendandburns/fix
Fix kube-apiserver restart.
2015-04-21 14:33:54 -07:00
Brendan Burns
9d715226d6 Fix kube-apiserver restart. 2015-04-21 13:59:26 -07:00
Robert Bailey
8745ebce15 Revert "Rollback "validate-cluster.sh" to previous version." 2015-04-21 13:30:16 -07:00
Robert Bailey
b9904f63d4 Merge pull request #7124 from fabioy/revert-validate.fix
Rollback "validate-cluster.sh" to previous version.
2015-04-21 12:29:54 -07:00
Robert Bailey
a50e02bb3b Merge pull request #7078 from jlowdermilk/gke-kubectl
Use standalone kubectl for gke, remove special case for vagrant
2015-04-21 12:11:45 -07:00
Fabio Yeon
12db42e4f0 Rollback "validate-cluster.sh" to previous version. 2015-04-21 12:09:34 -07:00
Jeff Lowdermilk
70a576e25a Use standalone kubectl for gke, remove special case for vagrant
also fix hack/local-up-cluster.sh kubeconfig instructions
2015-04-21 11:01:45 -07:00
Eric Tune
b944049fe9 Merge pull request #6916 from ArtfulCoder/controller-in-a-pod
kube-controller-manager in a pod.
2015-04-21 09:58:29 -07:00
Eric Tune
2ca8a9d15d Added kube-proxy token.
Generates the new token on AWS, GCE, Vagrant.
Renames instance metadata from "kube-token" to "kubelet-token".
(Is this okay for GKE?)

Having separate tokens for kubelet and kube-proxy permits
using principle of least privilege, makes it easy to
rate limit the clients separately, allows annotation
of apiserver logs with the client identity at a finer grain
than just source-ip.
2015-04-21 09:21:31 -07:00
Matt Bruzek
c1a56187b8 Removing debug statements from the python code. 2015-04-21 11:02:47 -05:00
Matt Bruzek
85e0e9d6c7 Adding a slash to continue the line. 2015-04-21 11:02:02 -05:00
Eric Tune
7475efbcfb Extend PR#5470 for AWS and Vagrant 2015-04-21 08:22:31 -07:00
Justin Santa Barbara
29592356f7 Rename salt minion_ip to hostname_override
Prep work for making AWS node identifier -> instance id
2015-04-21 06:24:49 -07:00
Derek Carr
b5d9afd093 Merge pull request #7099 from derekwaynecarr/fix_vagrant
Fix vagrant regression from 6691
2015-04-21 00:45:30 -04:00
derekwaynecarr
3fc627e416 Fix vagrant regression from 6691 2015-04-21 00:44:44 -04:00
Justin Santa Barbara
45b658ea7c AWS: don't try to create undefined config_dir 2015-04-20 19:14:16 -07:00
Brian Grant
9dcf3e0a33 Merge pull request #7082 from fabioy/api-cs.fix
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 18:10:36 -07:00
CJ Cullen
1be193098a Merge pull request #7072 from dchen1107/cleanup
Remove fqdn dependency for node name
2015-04-20 18:00:21 -07:00
Fabio Yeon
81ef0198f4 Fixed "componentstatuses" API object JSON descriptions. 2015-04-20 17:28:13 -07:00
Vish Kannan
db7a56529f Merge pull request #7077 from brendandburns/hyperkube
Update docker examples to 0.15.0
2015-04-20 19:48:49 -04:00
CJ Cullen
ae3a0fe661 Merge pull request #7055 from erictune/kubeconfig-secrets
Create system secrets in kubeconfig format
2015-04-20 16:42:35 -07:00
Abhishek Shah
f513aad380 kube-controller-manager in a pod. 2015-04-20 16:06:37 -07:00
Brendan Burns
8c947de4e2 Update docker examples to 0.15.0 2015-04-20 15:40:08 -07:00
Matt Bruzek
f201379938 Merge pull request #1 from whitmo/new-cadvisor-port
Change cadvisor port and point kubelet to find it
2015-04-20 17:17:18 -05:00
Whit Morriss
7b3534e012 move cadvisor port to 4193 to avoid collision with kubelet 2015-04-20 17:07:19 -05:00
Eric Tune
c3203cba6d Create system secrets in kubeconfig format
Was previously kubernetes_auth format.

Added defaults file which uses salt to fill in an env var
with the master's IP.

More thought needs to be given soon to how to make this
connection use a cert for the master, and how to support
multiple masters, and whether to use the DNS record
instead of an IP address.  But this PR unblocks some other
more urgent things, so doing it this way.
2015-04-20 15:02:45 -07:00
Matt Bruzek
a5da3708d2 Removing old docs, setting latest false on docker 2015-04-20 17:00:41 -05:00
Matt Bruzek
7802db4862 Added protetecion if the arguments are not there. 2015-04-20 16:57:42 -05:00
Matt Bruzek
3dd62a5c65 Log the JSON output from BASH 2015-04-20 16:55:08 -05:00
Kenjiro Nakayama
2e702b0c61 Replace hostname -f with uname -n 2015-04-20 14:16:21 -07:00
Robert Bailey
82190a58b1 Merge pull request #7026 from justinsb/aws_use_ssl_for_salt
AWS: master should download salt using SSL
2015-04-20 11:58:47 -07:00
Jeff Lowdermilk
196b3d066d Merge pull request #6919 from zmerlynn/sharded-e2e
Add hack/parallel-e2e.sh to run hack/e2e.go on multiple clusters
2015-04-20 11:34:18 -07:00
Brendan Burns
7f75c982ce Merge pull request #6691 from jlowdermilk/gen-kubeconfig
Generate kubeconfig for all providers in cluster/ that use auth
2015-04-20 11:28:36 -07:00
Brendan Burns
e079e23e47 Merge pull request #6597 from fabioy/kubectl-validate
Add "kubectl validate" command to do a cluster health check.
2015-04-20 11:21:06 -07:00
Zach Loafman
68c9191cfc Allow CLUSTER_IP_RANGE/MINION_IP_RANGE to be overridden by KUBE_GCE_CLUSTER_CLASS_B 2015-04-20 11:17:21 -07:00
Jeff Lowdermilk
3787fc5eca set KUBECONFIG in common.sh, default to new location
and preserve value in ginkgo e2e test driver
2015-04-20 11:07:35 -07:00
Lénaïc Huard
08f17bfa70 Make libvirt-coreos cluster use create-kubeconfig 2015-04-20 11:07:35 -07:00
Jeff Lowdermilk
4f6dc99075 Generate kubeconfig for all providers in cluster/ that use auth 2015-04-20 11:07:35 -07:00
Brendan Burns
ba95c8a176 Merge pull request #7014 from a-robinson/dirname
Move the logging-related directories to where I think they belong
2015-04-20 10:50:09 -07:00
Eric Tune
424ae1d67a Fix kube-addon retrying. 2015-04-20 07:38:39 -07:00
Justin Santa Barbara
7d3fe2154e AWS: master should download salt using SSL
The minion already does, but the master was using plain http.
2015-04-18 12:38:52 -07:00
Alex Robinson
059a8c92bd Move the logging-related directories to where I think they belong.
1. Move fluentd-gcp to be a core cluster addon, rather than a contrib.
2. Get rid of the synthetic logger under contrib, since the exact same
synthetic logger was also included in the logging-demo.
3. Move the logging-demo to examples, since it's effectively an example.

We should also consider adding on a GCP section to the logging-demo
example :)
2015-04-17 23:59:50 +00:00
Robert Bailey
eb1ea26995 Merge pull request #7012 from jlowdermilk/export-kubeconfig
export KUBECONFIG so callers of common.sh functions can use it
2015-04-17 16:37:10 -07:00
Jeff Lowdermilk
1c265f3784 export KUBECONFIG so callers of common.sh functions can use it 2015-04-17 16:22:07 -07:00
Brian Grant
2775b9e0de Merge pull request #6998 from zmerlynn/make_reboot_work
Make reboots work on GCE/GKE
2015-04-17 16:10:32 -07:00
Matt Bruzek
57683ce0ec Adding deployer to the dependency list. 2015-04-17 17:25:23 -05:00
Matt Bruzek
89043414f6 Changed the kube-up logic to use local bundles and charms.
Implemented a feature of kube-down
Corrected a bug on bootstrap of Juju environment.
2015-04-17 17:23:53 -05:00
Matt Bruzek
8f038a82a4 Adding a python file to parse the IP addresses. 2015-04-17 17:22:48 -05:00
Matt Bruzek
af8f31a0cd Adding the Juju charms to the cluster directory. 2015-04-17 17:21:37 -05:00
Matt Bruzek
4ff2e53fee Adding the initial Juju bundle to the cluster 2015-04-17 17:20:07 -05:00
Brian Grant
4b377e2ef6 Merge pull request #6977 from justinsb/move_var_lib_kubelet
AWS: Move /var/lib/kubelet to /mnt
2015-04-17 12:43:01 -07:00
Zach Loafman
bcb63642b8 Make reboots work on GCE/GKE
* Fixes an issue where salt-minion would actually come up after reboot
(upstart is horrible obnoxious)
* Caches .deb downloads
* Handles PD remount on reboot correctly
* Notes a future optimization

Fixes #5666
2015-04-17 12:12:00 -07:00
Fabio Yeon
c6ef2ddf8a Fix "validate-cluster.sh" to use "kubectl get componentstatus". 2015-04-17 11:59:53 -07:00
Zach Loafman
aca8452a21 Merge pull request #6994 from cjcullen/staticip
Reserve Master IP before creating Master VM
2015-04-17 11:48:48 -07:00
Derek Carr
40d0e559a6 Merge pull request #6983 from posita/vagrant-provider-support-2741
READY FOR REVIEW - Fix #2741. Add support for alternate Vagrant providers: ...
2015-04-17 14:42:19 -04:00
Robert Bailey
972cf60d2b Merge pull request #6957 from ArtfulCoder/no_monit
remove unused file
2015-04-17 11:40:36 -07:00
CJ Cullen
6a3c809833 Reserve Master IP before creating Master VM. 2015-04-17 11:36:00 -07:00
Zach Loafman
05d8e96cd4 Push the configure-vm.sh script when we push metadata
This is needed when we upgrade (and useful when you're trying to
change the startup script for reboots).

Along the way: allow add-instance-metadata[-from-file] to take a
variable number of KVs.
2015-04-17 11:27:48 -07:00
Matt Bogosian
e8672e2242 Fix #2741. Add support for alternate Vagrant providers: VMWare Fusion, VMWare Workstation, and Parallels. 2015-04-17 11:26:29 -07:00
Jeff Lowdermilk
2a8291a67e Retry Move KUBECONFIG to common.sh, change default to new location 2015-04-17 10:33:12 -07:00
Justin Santa Barbara
b2bce12b6c AWS: Move /var/lib/kubelet to /mnt
The backing for empty-dir volumes otherwise consumes all our disk space
2015-04-17 06:46:08 -07:00
Zach Loafman
94ae93a46b Merge pull request #6955 from ArtfulCoder/stop_spin_loop
Docker Image install script - Sleep before each iteration of while loop
2015-04-17 04:56:34 -07:00
Robert Bailey
723f2941e8 Revert "Move KUBECONFIG into common.sh, change default to new location" 2015-04-16 22:17:11 -07:00
Abhishek Shah
b08102d358 remove unused file 2015-04-16 21:51:51 -07:00
Abhishek Shah
647d5948a1 Docker Image install script - Sleep before each iteration of while loop 2015-04-16 21:46:35 -07:00
Jeff Lowdermilk
5ce9b07cbe Move KUBECONFIG declaration into common.sh, change default to new location 2015-04-16 19:23:35 -07:00
Daniel Smith
288effa7c1 Merge pull request #6933 from bgrant0607/docfix
Update docs. Add design principles.
2015-04-16 16:55:10 -07:00
Brian Grant
f1cea092df Update docs. Add design principles. Fixes #6133. Fixes #4182.
# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

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

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

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

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

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

Make a copy for each of the original scripts, and modify the copies. These copies will be used as working scripts afterwards.

Improve ubuntu-cluster setup scripts
2015-04-13 15:10:14 +08:00
Gareth Rushgrove
d836762a68 Fix typo and incorrect service name in sample ubuntu default scripts 2015-04-12 14:41:03 +02:00
Robert Bailey
d577db9987 Merge pull request #6721 from brendandburns/hyperkube
Update to 0.14.2 in the docker k8s instructions.
2015-04-10 23:45:36 -07:00
Dawn Chen
7f2f165797 Revert "kube-apiserver in a pod." 2015-04-10 22:54:52 -07:00
Brendan Burns
6217ae0242 Update to 0.14.2 in the docker k8s instructions. 2015-04-10 22:02:55 -07:00
litian54
36ef786228 Fix Rendering SLS 'base:nginx' failed if 'cloud' is not defined in minion grains 2015-04-10 18:27:22 -07:00
Dawn Chen
23c9b1a04b Merge pull request #6709 from ArtfulCoder/apiserver-in-a-pod
kube-apiserver in a pod.
2015-04-10 16:34:24 -07:00
Victor Marmol
52d73951db Merge pull request #6710 from rjnagal/node
Fix heapster config to talk to the right kubelet port.
2015-04-10 16:12:42 -07:00
Rohit Jnagal
013653bd58 Fix heapster config to talk to the right kubelet port.
The config was updated for v1bet1, but the tests are using v1beta3.
2015-04-10 22:58:38 +00:00
Abhishek Shah
2f70395396 kube-apiserver in a pod. 2015-04-10 15:46:49 -07:00
Justin Santa Barbara
034412aff1 Support multiple k8s clusters 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
a366f9ee88 Create the /usr/share/google dir in salt 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
b9fd56050a Add safe_format_and_mount script to aws
Apache licensed :-)
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
49543aca61 Update IAM permissions for minion, to allow EBS 2015-04-10 13:25:42 -07:00
Derek Carr
d2b6920a32 Merge pull request #6496 from ArtfulCoder/docker_image_install
Load docker images of kubernetes components after docker is installed.
2015-04-10 16:19:10 -04:00
Daniel Smith
c6d4bb373e Merge pull request #6631 from jiangyaoguo/remove-duplicate-localhost-setting
Remove duplicate localhost setting
2015-04-09 10:43:00 -07:00
Maxwell Forbes
7eb7387d97 Merge pull request #6403 from zmerlynn/salt_docs
Update the existing salt.md, add the start of a Salt README tree
2015-04-09 10:34:25 -07:00
Daniel Smith
c8ad77205c Merge pull request #6615 from brendandburns/hash
We have had user reports that look like hash conflicts.  Expand the hash to 10 digits.
2015-04-09 10:23:53 -07:00
Jeff Lowdermilk
ca6f1a1bc7 Merge pull request #6476 from deads2k/deads-fix-kubeconfig-serialization
fix kubeconfig serialization
2015-04-09 09:41:26 -07:00
yaoguo
e597b41d93 Remove duplicate localhost setting 2015-04-10 00:10:47 +08:00
Abhishek Shah
4996ccbf2d Load docker images of kubernetes components after docker is installed. 2015-04-09 09:06:42 -07:00
Brendan Burns
5df4d927b9 We have had user reports that look like hash conflicts. Expand the has to 10 digits. 2015-04-08 21:51:50 -07:00
nikhiljindal
fe60be3179 Moving v1beta1 kubectl examples to v1beta3 2015-04-08 13:08:13 -07:00
Vish Kannan
ffffbb7edf Merge pull request #6505 from brendandburns/hyperkube
Docker multi-node
2015-04-08 11:08:39 -07:00
Jeff Mendoza
98db9081a6 Azure: Wait for salt completion on cluster initlization
Fix for #3177. Add a loop at the end of cluster initlization to
wait for salt completion. This may never complete if there was a
cluster deployment error.
2015-04-08 09:05:07 -07:00
Brendan Burns
b3c46b5c66 Add a Docker multi-node setup. 2015-04-07 21:22:33 -07:00
Dawn Chen
8ede54c511 Upgrade kubernetes to gcr.io/google_containers/etcd:2.0.9 2015-04-07 16:26:11 -07:00
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
Zach Loafman
68ccb97907 Remove the --machines SaltStack configuration on GCE
Per https://github.com/GoogleCloudPlatform/kubernetes/issues/6072#issuecomment-87074456, this is no longer necessary.
We now no longer need a static node list. Woo!
2015-03-27 14:44:19 -07:00
Brendan Burns
6fd376a04f Fix the scripts to optionally skip prompts and also return successfully no matter what. 2015-03-27 13:53:26 -07:00
Brendan Burns
1aa2b97792 Revert "Revert "Update gce starting guide to use get.k8s.io""
This reverts commit b369f2b48f.
2015-03-27 13:46:28 -07:00
Justin Santa Barbara
194143e61b Use the correct region for the S3 bucket
We may not have created the bucket!
2015-03-27 12:58:47 -07:00
Brendan Burns
308049e789 Merge pull request #6060 from ZJU-SEL/hotfix
[ubuntu-cluster] fix a serious bug when node both act as master and minion
2015-03-27 09:53:14 -07:00
Jeff Lowdermilk
bec982774b Merge pull request #6038 from satnam6502/fluentd-es-image
Create a gcr.io image for Flunentd to Elasticsearch node level logging
2015-03-27 09:05:00 -07:00
Justin Santa Barbara
7179f5f004 Change AWS_ZONE to ZONE, for compatibility with e2e tests 2015-03-27 08:53:45 -07:00
Abhishek Shah
d84ff79cfd Added a catchall to set api server ip address in kubelet cmd params 2015-03-27 08:44:52 -07:00
Piotr Szczesniak
dfd3ef174d Merge pull request #6030 from jlowdermilk/use-gcr
Pull cluster addon images from gcr.io
2015-03-27 10:05:24 +01:00
Piotr Szczesniak
c516aba8e8 Merge pull request #6043 from ArtfulCoder/kubelet_salt
Modified salt config to get master ip address correctly
2015-03-27 10:03:05 +01:00
wizard
88dca56438 fix bug in single ubuntu node configuration 2015-03-27 15:13:43 +08:00
Abhishek Shah
f35a352782 Modified salt config to get master ip address correctly 2015-03-26 21:17:06 -07:00
Satnam Singh
19e621c951 Create a gcr.io image for Flunentd to Elasticsearch node level logging 2015-03-26 21:07:15 -07:00
Jeff Lowdermilk
2b71857816 Pull cluster addon images from gcr.io 2015-03-26 19:59:27 -07:00
Zach Loafman
b369f2b48f Revert "Update gce starting guide to use get.k8s.io" 2015-03-26 19:36:25 -07:00
Zach Loafman
d29a4feac0 Merge pull request #6019 from brendandburns/docs
Update gce starting guide to use get.k8s.io
2015-03-26 16:38:40 -07:00
Brendan Burns
61b624457d Update gce starting guide to use get.k8s.io
Also auto install gcloud if it's not present.
2015-03-26 16:08:56 -07:00
Brendan Burns
f089a054c2 Use stable.txt instead of latest.txt and add a script to set that file. 2015-03-26 15:16:59 -07:00
Justin Santa Barbara
583892da2d Fix AWS region vs zone
We were specifying a region, but naming it as a zone in util.sh

The zone matters just as much as the region, e.g. for EBS volumes.

We also change the config to require a Zone, not a Region.
But we fallback to get the information from the metadata service.
2015-03-26 15:11:05 -07:00
Max Forbes
ddb0a70481 Fix tiny salt logging line. 2015-03-26 14:37:51 -07:00
Zach Loafman
e5914915b8 Merge pull request #6003 from justinsb/aws_wait_for_instance
Wait for master to be started on AWS
2015-03-26 14:06:25 -07:00
Zach Loafman
aa417ca2db Merge pull request #6007 from justinsb/aws_wait_delete_elb
Wait for ELBs to be deleted
2015-03-26 13:55:52 -07:00
Eric Tune
16de216899 Merge pull request #6012 from brendandburns/docs
Fix the date command to work on OS X
2015-03-26 13:52:19 -07:00
Justin Santa Barbara
f256d3b77a Wait for ELBs to be deleted 2015-03-26 13:50:35 -07:00
Brendan Burns
eea09ddfbb Fix the date command to work on OS X 2015-03-26 13:48:59 -07:00
Charles Butler
a68de6237b Rewrote shell script headers with accepted kubernetes boilerplate
because of failing build notifications on #5414
2015-03-26 16:35:24 -04:00
Justin Santa Barbara
53bdbec64e Launch minions in parallel 2015-03-26 10:58:18 -07:00
Eric Tune
5698c32fd1 Merge pull request #5899 from jainvipin/master
master_ip needs updating even for minion to be discovered by master
2015-03-26 10:53:48 -07:00
Justin Santa Barbara
9556318c58 Wait for master instance running before adding route 2015-03-26 10:23:25 -07:00
Abhishek Shah
d1015e785f Add salt configuration to remove cadvisor.manifest from master. cadvisor is now part of kubelet 2015-03-26 10:15:30 -07:00
Robert Bailey
268b617b84 Add local babysitting for the kube-proxy. 2015-03-25 23:24:24 -07:00
Saad Ali
f3ebe30605 Merge pull request #5940 from justinsb/fix_bash_style
Fix bash style issues in AWS script
2015-03-25 14:40:42 -07:00
Justin Santa Barbara
06704bb94f Security group should be scoped to our vpc
Note that security group names only need to be unique with a VPC as well,
which is handy here.
2015-03-25 12:53:12 -07:00
Justin Santa Barbara
ac12665f48 Quote AWS_SSH_KEY 2015-03-25 12:41:02 -07:00
Justin Santa Barbara
80ba56a371 Fix variable dollar-char errors 2015-03-25 12:36:52 -07:00
Justin Santa Barbara
505488269c Use double-square brackets in if tests 2015-03-25 12:36:20 -07:00
Alex Robinson
c22d4c6b3f Merge pull request #5916 from justinsb/aws_cleanup_loadbalancers
Remove load balancers as part of kube-down.sh
2015-03-25 10:32:14 -07:00
Justin Santa Barbara
68935e0798 Remove load balancers as part of kube-down.sh 2015-03-25 05:36:47 -07:00
Brendan Burns
cf72cf098a Disable validation on AWS where it doesn't work.
Also add an advanced route for the master which I forgot previously.
2015-03-24 21:08:04 -07:00
Vipin Jain
787c80bd9f master_ip needs updating even for minion to be discovered by master 2015-03-24 21:07:59 -07:00
Victor Marmol
3ccd798d8d Merge pull request #5892 from brendandburns/aws
Configure docker and kubelet on AWS master.
2015-03-24 18:00:58 -07:00
Brendan Burns
8bac135f85 Configure docker and kubelet on AWS master. 2015-03-24 17:19:06 -07:00
Zach Loafman
ed567736ea Retry apt operations to death
Nodes are probably broken if update or install fails. Don't proceed
if we can't get past these. Also, instead of ignoring the error off
dpkg, use --force depends, which changes the errors to be kinder
warnings for anyone looking through the logs.
2015-03-24 16:11:40 -07:00
Derek Carr
dabd4984b7 Merge pull request #5856 from marshauf/master
Use VBoxManage instead of virtualbox in cluster/vagrant/util.sh
2015-03-24 16:16:12 -04:00
Clayton Coleman
97560c409f Merge pull request #5554 from derekwaynecarr/namespace_controller
Namespace Controller to support Namespace Termination
2015-03-24 12:59:00 -04:00
Marcel Hauf
cf36fdc7f9 Use VBoxManage instead of virtualbox in cluster/vagrant/util.sh verify-prereqs function. The executable virtualbox does not exist. 2015-03-24 17:42:22 +01:00
Robert Bailey
b152d8e884 Merge pull request #5822 from justinsb/aws_idempotent_kube_down
More idempotent kube-down for AWS, and delete multiple security groups
2015-03-24 07:58:03 -07:00
derekwaynecarr
ee53dfc741 Turn on namespace lifecycle plug-in 2015-03-24 10:36:06 -04:00
Saad Ali
b01f1f9baf Merge pull request #5683 from justinsb/aws_ephemeral_disks
Format ephemeral disks with btrfs, put Docker storage on there
2015-03-24 07:36:01 -07:00
Zach Loafman
8065fb5c47 Merge pull request #5801 from satnam6502/etcd
Upgrade etcd to v2.0.5 on the master
2015-03-23 16:13:11 -07:00
Robert Bailey
737af02fc8 Merge pull request #5749 from fabioy/gke-guestbook.fix
Fix guestbook.sh to make it work on GKE.
2015-03-23 14:31:34 -07:00
Satnam Singh
69f867dafb Upgrade etcd to v2.0.5 on the master 2015-03-23 13:52:04 -07:00
Justin Santa Barbara
2a042fc423 More idempotent kube-down for AWS, and delete multiple security groups
There may be multiple security groups if we were using ELB, and
we have to delete them all apart from the default one, which EC2
prevents us from deleting.

Also use the same looping logic to clean up from partial up/downs.
2015-03-23 13:00:34 -07:00
Robert Bailey
a7bc9edb96 Specify bash when installing kubernetes via get.k8s.io.
Fixes #5689.
2015-03-21 22:50:29 -07:00
Fabio Yeon
5b77149461 Fix guestbook.sh to make it work on GKE. 2015-03-20 18:27:31 -07:00
Maxwell Forbes
38d703f24d Merge pull request #5726 from roberthbailey/gce-boot-disk
Bump the default boot disk size for GCE from 10GB to 100GB
2015-03-20 17:19:07 -07:00
Maxwell Forbes
b07c46285d Merge pull request #5728 from fabioy/gke-kubeup.fix
Fix GKE kube-up code by adding project flag to network creation.
2015-03-20 16:23:09 -07:00
Dawn Chen
7a6490f572 Merge pull request #5729 from thockin/plural_endpoints_30_restart
Rename Service.ContainerPort to TargetPort in v1b3
2015-03-20 14:37:46 -07:00
Fabio Yeon
17be2d2047 Fix GKE kube-up code by adding project flag to network creation. Plus a
few more log outputs to help debugging.
2015-03-20 14:04:32 -07:00
Tim Hockin
4375376e9c Rename Service.ContainerPort to TargetPort in v1b3
Fix all callers and examples.  Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
Robert Bailey
c3189657b6 Bump the default boot disk size for GCE from 10GB to 100GB so that there is
more space to store containers and image layers.
2015-03-20 13:06:35 -07:00
Abhishek Gupta
b0c23c1046 Headless Services: Adding option to specify None for PortalIP 2015-03-20 12:10:03 -07:00
Zach Loafman
7f02e110f4 Merge pull request #5594 from lhuard1A/libvirt-coreos_kube-push
libvirt-coreos: Make kube-push able to push non-release kubernetes binaries
2015-03-20 10:20:02 -07:00
Satnam Singh
8fe47aa2b9 Merge pull request #5694 from zmerlynn/kill-logging
Both @satnam6502 and E2E tests confirm: This code is no longer needed
2015-03-20 08:32:01 -07:00
Zach Loafman
407d1fec45 Both @satnam6502 and E2E tests confirm: This code is no longer needed
Deletion is wonderful. The only weird thing was where to put the
message about the proxy URLs. Satnam suggested kubectl clusterinfo,
which seemed like a good option to put at the end of cluster turn-up.
2015-03-19 22:23:11 -07:00
Justin Santa Barbara
60a07e972b Raise the file ulimit for kube-proxy for init.d systems 2015-03-19 19:36:13 -04:00
Justin Santa Barbara
6fec242f89 Format ephemeral disks with btrfs, put Docker storage on there
Docker's default storage has severe bugs with older (stable) kernels.

Use btrfs to bypass those issues.
2015-03-19 19:23:29 -04:00
Jeff Grafton
d845d49dc6 Merge pull request #5437 from lhuard1A/libvirt-coreos_kubeconfig
Make libvirt-coreos generate a .kubeconfig file and have e2e tests use it
2015-03-19 10:18:03 -07:00
Vish Kannan
407af7b883 Merge pull request #5656 from lhuard1A/libvirt-coreos_etcd-HA
libvirt-coreos: make kube-apiserver connect to all the etcd nodes of the cluster
2015-03-19 09:59:08 -07:00
Lénaïc Huard
f9d718675a libvirt-coreos: make kube-apiserver connect to all the etcd nodes of the cluster 2015-03-19 17:13:41 +01:00
Subin M
bd52a0cb80 update v1beta3 yaml files 2015-03-19 20:31:10 +05:30
Zach Loafman
57cd8165b0 Ensure salt-minion never starts by setting invoke-rc.d policy using
the /usr/sbin/policy-rc.d script and returning 101, per
https://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt,
but only for the window while we're installing Salt.

This is a much more fool-proof method than what I was attempting
before. I hunted for how to do this before and clearly failed at my
Google-fu.

Fixes #5621
2015-03-18 16:15:24 -07:00
Derek Carr
ac3b1b255f Merge pull request #5557 from jayunit100/vagrant-fix-1
Fix vagrant so that ssh commands work OOTB
2015-03-18 15:04:51 -04:00
jayunit100
9b67949085 Fix vagrant so that ssh commands work OOTB, (squashed) move verify to vagrant/util.sh, remove run_provider_test, cleanup. 2015-03-18 15:02:12 -04:00
Alex Robinson
2537665ecc Merge pull request #5381 from justinsb/aws_s3_in_us_east
Create S3 bucket in known region (default to us-east-1)
2015-03-18 09:34:59 -07:00
Lénaïc Huard
8fb8e20f2c Make kube-push able to push local binaries built by make
and not only releases built by `make release`.

The behavior is conditionned by the KUBE_PUSH environment variable.
2015-03-18 15:31:11 +01:00
Vish Kannan
b6e7f470cb Merge pull request #5576 from vmarmol/auth
Add monitoring scope to default GCE config.
2015-03-17 17:22:52 -07:00
Victor Marmol
8e2dc04da8 Add monitoring scope to default GCE config.
This will allow Heapster to run GCM-based monitoring on the nodes.
2015-03-17 17:02:10 -07:00
Dawn Chen
dce75998d0 Upgrade to container-vm-20150315 2015-03-17 16:10:39 -07:00
Nikhil Jindal
89f18f6fe1 Merge pull request #5493 from sdminonne/issue_341_step_2
Another step to introduce  fields.Selector
2015-03-17 15:16:18 -07:00
Victor Marmol
3e84c2612b Merge pull request #5568 from zmerlynn/publish_latest
Modify get.k8s.io script to use latest published build
2015-03-17 15:13:23 -07:00
Salvatore Dario Minonne
31ddefc347 Finalize fields.Selector 2015-03-17 22:55:43 +01:00
Zach Loafman
13600a65f8 Modify get.k8s.io script to use latest published build
After #5563, all official builds will update latest.txt. Use it.
2015-03-17 14:36:12 -07:00
Satnam Singh
985d5c1f95 Add a prefix to the POS file for Fluentd to Elasticsearch 2015-03-17 13:13:03 -07:00
Satnam Singh
0212e68e91 Adjust POS file for Fluentd to Cloud Logging 2015-03-17 11:44:04 -07:00
Timothy St. Clair
140330fca8 Fix to address issue #5461 kube-proxy too many files open
https://github.com/GoogleCloudPlatform/kubernetes/issues/5461
2015-03-17 10:13:25 -05:00
Lénaïc Huard
efe345f8b6 Make libvirt-coreos generate a .kubeconfig file and have e2e tests use it 2015-03-17 11:10:18 +01:00
Satnam Singh
d395efa463 Make Fluentd to Cloud Logging collector read from head 2015-03-16 16:19:07 -07:00
Charles Butler
5acce1b245 Implement the feedback from filbranden
- Changed check_for_ppa to be parameterized
- Added bash strictmode
- refactored the package_status method to consume variables and be a bit
  nicer to future re-use of the method.
- Cut out extra echo -n statements in favor of tr -d or native awk
- Refactored branching logic paths to leverage double brackets
- normalized local variable annotation
- Updated globals to be all CAPS
- remainder of filbrandens feedback in validate-cluster.sh
2015-03-16 18:35:33 -04:00
Alex Robinson
0b67c9e94c Merge pull request #5379 from justinsb/aws_iam_roles
Configure separate IAM roles for master & minion, create roles in docs
2015-03-16 14:37:18 -07:00
Justin Santa Barbara
8b535ff17a Fix copy-and-paste error in log message 2015-03-16 14:30:24 -07:00
Victor Marmol
3d9bdee5d9 Update get-kube to fetch 0.11.0 (latest stable). 2015-03-16 11:34:54 -07:00
Justin Santa Barbara
9361b76977 Configure separate IAM roles for master & minion, create roles automatically 2015-03-16 10:37:25 -07:00
Alex Robinson
0c84309059 Merge pull request #5485 from vishh/heapster_release
Updating heapster version to v0.9.
2015-03-16 09:39:33 -07:00
Jeff Lowdermilk
221f226396 Merge pull request #5245 from erictune/ubuntu-fix
Ubuntu-distro: Kubelet and kube-proxy talk to apiserver not etcd.
2015-03-16 09:23:27 -07:00
Justin Santa Barbara
2413d25d29 Create S3 bucket in us-east-1, unless set by AWS_S3_REGION
Buckets are globally named, so we want a single bucket for all our regions.
2015-03-16 08:37:06 -07:00
Derek Carr
440c720805 Merge pull request #5330 from zmerlynn/try_addons_again
Retry object creation with --validate in kube-addons
2015-03-16 10:43:39 -04:00
Vishnu Kannan
e89dd7e235 Updating heapster version to v0.9.
Updated the e2e test to work with the new version.
2015-03-14 19:00:18 +00:00
Victor Marmol
1a7f7245e7 Remove cAdvisor manifest from cluster startup.
cAdvisor is now integrated into the Kubelet and runs inside of it.
2015-03-13 16:06:42 -07:00
Zach Loafman
f2de7b4dcc Add --can-ip-forward to master instance
Another piece missing in
https://github.com/GoogleCloudPlatform/kubernetes/pull/5390. The
master should have --can-ip-forward if you're routing to it.
2015-03-13 15:17:07 -07:00
Alex Robinson
f6441a6d2f Merge pull request #5376 from justinsb/aws_customize_s3_bucket
Allow the S3 bucket name to be specified via AWS_S3_BUCKET
2015-03-13 13:51:37 -07:00
Justin Santa Barbara
e3e6c8377f Allow the S3 bucket name to be specified via AWS_S3_BUCKET 2015-03-13 16:44:26 -04:00
Filipe Brandenburger
0948cb745f Merge pull request #5454 from jlowdermilk/get-password
Make get-password robust against invalid kubeconfig entries
2015-03-13 13:40:55 -07:00
Jeff Lowdermilk
8fef6fb343 Make get-password robust against invalid kubeconfig entries 2015-03-13 13:26:47 -07:00
Brendan Burns
966e8301a0 Add kubelet to the master. 2015-03-13 12:09:24 -07:00
Jeff Lowdermilk
9b55e1f176 Delete master route on kube-down 2015-03-13 11:00:19 -07:00
Vish Kannan
967f8df386 Merge pull request #5436 from lhuard1A/ssh-to-node_libvirt-coreos
Implement ssh-to-node, restart-kube-proxy and restart-apiserver functions in libvirt-coreos.
2015-03-13 09:42:04 -07:00
Lénaïc Huard
8cd105a42c Implement ssh-to-node and restart-* functions in libvirt-coreos
in order to make the service.sh e2e test pass.
2015-03-13 15:48:35 +01:00
Satnam Singh
dfb9f2aa17 Revert "Revert "Actually update binaries during kube-push"" 2015-03-12 18:04:36 -07:00
Satnam Singh
bb2c3037e0 Revert "Actually update binaries during kube-push" 2015-03-12 17:09:50 -07:00
Satnam Singh
c3951d7cf6 Merge pull request #5415 from zmerlynn/fix_binary_push
Actually update binaries during kube-push
2015-03-12 16:51:28 -07:00
Zach Loafman
b02188b7d8 Actually update binaries during kube-push
This was a dumb mistake during a re-factor of configure-vm. I tested
this early, re-factored the tail of this file, spot checked kube-push
and failed to test kube-push properly. My bad.

Fixes #5361. Fixes #5408.
2015-03-12 16:44:32 -07:00
Charles Butler
ea0978f4f2 Adds JUJU to the Kubernetes Provider listing
This feature adds Juju provisioning to the kube-up script. It currently
parses out the pre-requisits on debian/ubuntu based systems and installs
them if they are missing.

From there we followed the integration path that was found in the
libvirt-coreos path, implementing the methods found in the boilerplate
and calling juju service calls. There are a few "arbitrary sleeps" in
the code to allow the cloud provider to settle and properly deploy.
These are work-around cases from the script executing faster than juju
was able to communicate from the state server to subsequent nodes. I
left comments inline at these points.

To exercise this:

    export KUBERNETES_PROVIDER=juju
    cluster/kube-up.sh

It will spin up a ref arch with 1 Kubernetes Master, 2 minions, and run
the cluster validation checks against the deployment. Bridging the gap
between the juju specific bits and the upstream recommended guides for
getting started with Juju.

To note, if you do not have a "current environment" set in Juju, it will
spin up the quickstart integration wizard in interactive mode, allowing
you to configure juju, and add the proper provider/use it. Otherwise it
assumes you're in the provider you wish to use, and will deploy there.
2015-03-12 19:34:03 -04:00
Eric Tune
2255e6f757 Fix ubuntu-cluster to use apiserver not etcd. 2015-03-12 15:10:08 -07:00
Brendan Burns
5d9fe6212c Add MASTER_IP_RANGE to e2e. 2015-03-12 14:22:03 -07:00
Zach Loafman
9fc5262c14 Infer KUBERNETES_MASTER from hostname rather than requiring it to be explicit
This allows GKE to have the same YAML on both the master and nodes
2015-03-12 11:51:21 -07:00
Satnam Singh
4420e0452e Merge pull request #5391 from justinsb/aws_options_doc
Initial WIP on documenting options for AWS clusters
2015-03-12 11:42:19 -07:00
Satnam Singh
e16bcceceb Merge pull request #5390 from brendandburns/shell_sucks
Configure docker on the master like we do on workers.
2015-03-12 11:42:03 -07:00
Justin Santa Barbara
84314d3206 Initial WIP on documenting options for AWS clusters
Very incomplete, but a start.
2015-03-12 13:54:37 -04:00
Brendan Burns
17ff8fb421 Configure docker on the master like we do on workers. 2015-03-12 10:37:30 -07:00
Alex Robinson
55ed70f723 Merge pull request #5382 from justinsb/aws_image_by_region
Choose AWS image by region
2015-03-12 10:31:00 -07:00
Alex Robinson
bc655681fe Merge pull request #5352 from zmerlynn/conditional_disk
Don't always run mount-master-pd
2015-03-12 10:19:04 -07:00
Alex Robinson
4ad0ec365e Merge pull request #5378 from justinsb/aws_instance_type
Allow the AWS instance type to be specified via MASTER_SIZE, MINION_SIZE
2015-03-12 09:55:06 -07:00
Alex Robinson
9344934637 Merge pull request #5377 from justinsb/aws_s3_not_world_readable
Don't make the s3 bucket world-readable (just the files)
2015-03-12 09:52:38 -07:00
roberthbailey
d3b0c86624 Merge pull request #5380 from justinsb/clarify_aws_comment
Clarify comment
2015-03-12 17:43:43 +01:00
Justin Santa Barbara
70b448b5d0 Choose AWS image by region
Also update to the latest LTS image (fewer security updates needed)
2015-03-12 12:05:45 -04:00
Justin Santa Barbara
0330cf616a Don't make the s3 bucket world-readable (just the files) 2015-03-12 11:52:56 -04:00
Justin Santa Barbara
f71e0eeb22 Allow the AWS instance type to be specified via MASTER_SIZE, MINION_SIZE 2015-03-12 11:52:06 -04:00
Justin Santa Barbara
41ed9e4fef Clarify comment 2015-03-12 11:50:12 -04:00
Victor Marmol
c03b080328 Merge pull request #5332 from vishh/heapster_e2e
Adding a ginkgo version of monitoring e2e test
2015-03-12 08:37:45 -07:00
Rafał Sokołowski
871c5ddd65 Merge pull request #5368 from justinsb/allow_copy_paste_config
Don't print a full-stop after the conf filename, it make copy&paste hard
2015-03-12 16:24:51 +01:00
Justin Santa Barbara
c43e8b192f Don't print a full-stop after the conf filename, it make copy&paste hard 2015-03-12 11:07:44 -04:00
Piotr Szczesniak
db5fc4ff90 Added label name to kube-dns service
It will be displayed in kubectl clusterinfo command.
2015-03-12 13:15:35 +01:00
Zach Loafman
d4f06cea9f Don't always run mount-master-pd 2015-03-11 19:58:44 -07:00
Victor Marmol
23c9c405fb Merge pull request #5347 from vishh/cleanup_firewall
Remove firewall rules for monitoring. Enable monitoring in other cluster providers
2015-03-11 18:31:04 -07:00
Saad Ali
7629b616a7 Merge pull request #5348 from dchen1107/docker
Check docker unixsocket periodically through monit. If failed, restart d...
2015-03-11 17:42:58 -07:00
Dawn Chen
fe9e0ca5ce Check docker unixsocket periodically through monit. If failed, restart docker. 2015-03-11 17:20:03 -07:00
Vishnu Kannan
e7aca5c337 Enable heapster based cluster monitoring by default on other cluster providers, expect for GKE. 2015-03-11 23:34:04 +00:00
Vishnu Kannan
663bdb91c9 Remove monitoring firewall setup methods. Heapster anf Grafana are now accessible via the API server proxy. 2015-03-11 23:20:45 +00:00
Vishnu Kannan
425dd7e3ee Adding a heapster ginkgo e2e test. 2015-03-11 21:47:47 +00:00
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
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
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