Commit Graph

3511 Commits

Author SHA1 Message Date
Karl Isenberg
a8e4c72ad5 Update mesos/docker cluster mesos version to 0.24 2015-10-09 10:07:55 -07:00
Matt Bruzek
ed64773c9c Fixing the errors with verify-boilerplate. 2015-10-09 11:13:28 -05:00
Matt Bruzek
0d577b8e03 Update the code to be in sync and pass CI tests. 2015-10-09 09:54:52 -05:00
Dr. Stefan Schimanski
11e592879a Use mesos-slave-dind docker image with overlay-over-overlay smoketest 2015-10-09 13:30:52 +01:00
Mike Danese
fa60bbe8e6 add flag to kubelet to ignore the cidr passed down by the apiserver on the master 2015-10-08 21:21:19 -07:00
k8s-merge-robot
9305a98ffc Merge pull request #15205 from a-robinson/purge
Auto commit by PR queue bot
2015-10-08 20:40:26 -07:00
k8s-merge-robot
0655c9d8ad Merge pull request #15209 from ixdy/gce-cluster-init-timeout
Auto commit by PR queue bot
2015-10-08 19:17:13 -07:00
Vishnu kannan
64218c5edb Update grafana to v2.1.1. Default dashboards in Grafana will be setup
automatically.
2015-10-08 17:01:16 -07:00
k8s-merge-robot
0c089dcf11 Merge pull request #15265 from andyzheng0831/trusty
Auto commit by PR queue bot
2015-10-08 14:51:10 -07:00
k8s-merge-robot
27ff98c8f3 Merge pull request #15288 from roberthbailey/hyperkube-config
Auto commit by PR queue bot
2015-10-08 14:20:54 -07:00
Tim Hockin
0b50b7e00f Add a README for private registry
It's not perfect but it is better than no docs.
2015-10-08 12:33:43 -07:00
k8s-merge-robot
074da2e05d Merge pull request #15208 from mikedanese/v3-bump
Auto commit by PR queue bot
2015-10-08 11:22:15 -07:00
Abhishek Shah
d92d4124dd changed localhost to 127.0.0.1 for dns healthcheck 2015-10-08 09:34:07 -07:00
Justin Santa Barbara
33d0541a00 AWS: Add configuration for ENABLE_EXPERIMENTAL
We need this for some tests; not all the options are fully plumbed in,
but should enable experimental/v1alpha1, as needed for jobs tests.

In particular, ENABLE_NODE_AUTOSCALER is not yet actually implemented.
2015-10-08 10:15:10 -04:00
k8s-merge-robot
30ad675fa1 Merge pull request #15287 from ZJU-SEL/fix-ubuntu-upstart-script
Auto commit by PR queue bot
2015-10-08 06:03:23 -07:00
Piotr Szczesniak
952a058357 Merge pull request #15153 from wojtek-t/common_resync_period
Extend resyncPeriods in controllers in production.
2015-10-08 14:07:04 +02:00
Kevin
74b3250eeb enable admission-control in kube-apiserver config 2015-10-08 19:34:41 +08:00
Marek Grabowski
674e8212f6 Merge pull request #15292 from gmarek/fix-jenkins
Run 1000 node Kubemark experiments on Jenkins
2015-10-08 12:15:29 +02:00
gmarek
a16350853e Run 1000 node Kubemark experiments on Jenkins 2015-10-08 12:09:14 +02:00
Piotr Szczesniak
7bbb7a2d9f Merge pull request #15219 from wojtek-t/change_default_to_test
Unify default and test configuration in GCE
2015-10-08 11:12:23 +02:00
Wojciech Tyczynski
df79026b79 Extend resyncPeriods in controllers in production. 2015-10-08 09:10:09 +02:00
Robert Bailey
1c212b88e7 Stop using the deprecated --portal-net flag in the docker
single/multi-node examples.
2015-10-07 23:07:08 -07:00
He Simei
3e9905bb07 fix incorrect upstart script for ubuntu 2015-10-08 13:57:22 +08:00
He Simei
c41eda7309 kube-down gracefully 2015-10-08 13:30:37 +08:00
He Simei
51f1570710 upgrade flannel to 0.5.3 2015-10-08 13:28:58 +08:00
Quinton Hoole
1b7f8f540e Bring up a 4000 node kubemark cluster in Jenkins.
This is a bit of a hack of the existing scripts, but the quickest way to get this cluster up.
Will restructure e2e.sh to do this in a more sane way in a separate PR.
2015-10-07 16:46:32 -07:00
Andy Zheng
3a5f3f0615 Enable privileged containers in Trusty nodes
This change also removes an outdated TODO comment.
2015-10-07 15:10:14 -07:00
Janet Kuo
4b8f91fd0e Merge pull request #15190 from dchen1107/fix
unset Kubelet flag for manifest_url for master node.
2015-10-07 14:48:35 -07:00
Dawn Chen
c29296f9a8 Set manifest-url-header when enable_manifest_url is set 2015-10-07 13:27:03 -07:00
Jeff Grafton
0e29d81904 Print error messages to stderr 2015-10-07 11:19:32 -07:00
Wojciech Tyczynski
d16995b24b Unify default and test configuration in GCE 2015-10-07 12:47:28 +02:00
Filip Grzadkowski
c1345ce2d9 Merge pull request #15068 from wojtek-t/fix_default_limits
Tweak limits for system pods in manifest files.
2015-10-07 09:41:28 +02:00
Jeff Grafton
efd3968335 Add a timeout for GCE cluster initialization 2015-10-06 19:39:55 -07:00
Mike Danese
2b22b252f3 bump kube-ui to v3 2015-10-06 18:34:03 -07:00
Alex Robinson
55278545a4 Also delete firewall rules and static IP addresses from stranded GCE LBs 2015-10-06 18:28:06 -07:00
Alex Robinson
9f80b87843 Fix hard-coded project IDs and region in script for deleting stranded LBs 2015-10-06 18:24:41 -07:00
Jeff Grafton
004c3bc7ad Add script to use gcloud to print GCP resources used. 2015-10-06 17:38:34 -07:00
Dawn Chen
37720e8899 unset Kubelet flag for manifest_url for master node. 2015-10-06 17:33:29 -07:00
Matt Moore
eeb4eeb17c Move pause and fluentd-elasticsearch to GCR v2.
This scopes down the initially ambitious PR:
https://github.com/kubernetes/kubernetes/pull/14960 to replace just
`pause` and `fluentd-elasticsearch` to come through `beta.gcr.io`.

The v2 versions have been pushed under new tags, `pause:2.0` and
`fluentd-elastisearch:1.12`.

NOTE: `beta.gcr.io` will still serve images using v1 until they are repushed with v2.  Pulls through `gcr.io` will still work after pushing through `beta.gcr.io`, but will be served over v1 (via compat logic).
2015-10-06 16:39:07 -07:00
k8s-merge-robot
57a08b5563 Merge pull request #15148 from piosz/registry-addon
Auto commit by PR queue bot
2015-10-06 14:43:45 -07:00
Abhi Shah
aa9957e754 Merge pull request #15035 from ArtfulCoder/admissionChange
Removed DenyEscalatingExec from the list of default admission control…
2015-10-06 14:25:12 -07:00
Janet Kuo
f4bbb32bd9 Merge pull request #15024 from mikedanese/expcontroller
enable all experimental controllers in controller-manager with one flag
2015-10-06 14:20:11 -07:00
Abhishek Shah
a1b6dbe870 Removed DenyEscalatingExec from the list of default admission controllers. 2015-10-06 13:35:32 -07:00
Piotr Szczesniak
ee815a87d9 Disabled cluster registry addon by default 2015-10-06 10:53:29 +02:00
Alex Robinson
1efee0b49e Merge pull request #8255 from iterion/default_dhcp_option_set
AWS: Create DHCP Option Set on kube-up
2015-10-05 16:29:48 -07:00
Alex Robinson
32b9d8aad0 Merge pull request #14823 from wojtek-t/move_events_to_separate_etcd
Move events to a separate etcd instance
2015-10-05 16:28:04 -07:00
Mike Danese
833be48d61 enable all experimental flags with one controller 2015-10-05 14:54:19 -07:00
Alex Robinson
0b6bcab091 Merge pull request #15049 from Juniper/opencontrail-provisioning
Add opencontrail networking provisioning support in kubernetes via salt based provisioning
2015-10-05 14:40:11 -07:00
Adam Sunderland
1c77179652 Adding DHCP Option Setup
Fix Spacing
2015-10-05 14:13:40 -05:00
Alex Robinson
0aa5c16f38 Merge pull request #14646 from mesosphere/sttts-fix-kubeproxy-test
Fix e2e tests for providers without SSH to the nodes
2015-10-05 11:56:09 -07:00
Alex Robinson
8b68089ac4 Merge pull request #15071 from justinsb/aws_include_distro_when_not_recognized
AWS: Log the distro when we don't recognize it
2015-10-05 11:19:38 -07:00
Justin Santa Barbara
d898834037 AWS: Log the distro when we don't recognize it
Similar to #15070, we should log the distro if we're going to tell the
user we can't match it (so the user can see if they have typoed it, and
so it will hopefully be included to us in error reports)
2015-10-05 09:25:59 -04:00
Justin Santa Barbara
f763c59743 AWS: Increase the timeout for S3 bucket creation
The current timeout of 5 seconds is needlessly short, given that we
fail kube-up if the (eventually consistent?) bucket creation takes
longer.

Raise it to 120 seconds.

Possibly related to issue #14278
2015-10-05 09:17:12 -04:00
Wojciech Tyczynski
2a74d1d6ca Tweak limits in manifest files. 2015-10-05 14:45:43 +02:00
Wojciech Tyczynski
0f1cbe37a4 Events in separate etcd 2015-10-05 10:54:24 +02:00
Piotr Szczesniak
94080973b1 Bumbed Heapster to v0.18.2 and changed its config
The new version fixes problem with missing metrics.
The new config decreases load on GCM/InfluxDB.

Increased stats resolution from default 5s to 30s.
Decreased sink frequency from 2m to 1m.
2015-10-05 09:51:01 +02:00
thaerlo
6e6c5375d2 Changed config-default.sh: deleting the DenyEscalatingExec option from ADMISSION_CONTROL, so kube-apiserver can start correctly.
Changed util.sh: provision-* functions so every flannel interface is created after starting the etcd service and reconfDocker.sh with the "i" option is launched after every flannel interface is up and running.
2015-10-04 22:03:54 -04:00
Dr. Stefan Schimanski
b041d4ec11 Enlarge port range for mesos/docker e2e tests 2015-10-04 10:58:18 +02:00
Ananth Suryanarayana
d50d7763da Add opencontrail networking provisioning support in kubernetes salt based provisioning
OpenContrail is an open-source based networking software which provides virtualization support for the cloud.

This change-set adds ability to install and provision opencontrail software for networking in kubernetes based cloud environment.

There are basically 3 components

o kube-network-manager -- plugin between contrail components and kubernets components
o provision_master.sh -- OpenContrail software installer and provisioner in master node
o provision_minion.sh -- OpenContrail software installer and provisioner in minion node(s)

These are driven via salt configuration files

One can provision opencontrail by just setting "export NETWORK_PROVIDER=opencontrail"
Optionally, OPENCONTRAIL_TAG, and OPENCONTRAIL_KUBERNETES_TAG can be used to
specify opencontrail and contrail-kubernetes software versions to install and provision.

Public-IP Subnet provided by contrail can be configured via OPENCONTRAIL_PUBLIC_SUBNET
environment variable

At this moment, plan is to add support for aws, gce and vagrant based platforms

For more information on contrail-kubernetes, please visit https://github.com/juniper/contrail-kubernetes For more information on opencontrail, please visit http://www.opencontrail.org
2015-10-03 08:03:02 -07:00
k8s-merge-robot
02f878cf5b Merge pull request #14553 from mesosphere/sttts-fix-daemonsets-on-mesos
Auto commit by PR queue bot
2015-10-02 19:16:08 -07:00
k8s-merge-robot
e29eab2a75 Merge pull request #14804 from brendandburns/fix3
Auto commit by PR queue bot
2015-10-02 17:09:38 -07:00
Abhishek Shah
2d3a688ab7 reduce cpu requirement for etcd, after 2 etcd pods are being run 2015-10-02 10:31:04 -07:00
gmarek
b283fdde12 Avoid overriding kubemark config variables by kubemark/util.sh script 2015-10-02 12:45:16 +02:00
gmarek
bc76b1616f Add SSL to communication in Kubemark 2015-10-02 10:39:24 +02:00
Brendan Burns
b9293a093b Merge pull request #14478 from ZJU-SEL/upgrade-ubuntu-1.0.6
Fix unknown admission control failure for ubuntu deployment
2015-10-01 15:22:49 -07:00
gmarek
9a74980da2 Make kubemark work on Jenkins 2015-10-01 15:26:39 +02:00
Dr. Stefan Schimanski
df91307265 Enable experimental api in mesos/docker cluster
This is necessary to pass the conformance tests which include the daemonset
e2e test.
2015-10-01 06:50:07 +02:00
He Simei
d593c42e42 deprecate unknown admission control 2015-10-01 12:45:36 +08:00
He Simei
be14f720c4 upgrade k8s to 1.0.6 for ubuntu 2015-10-01 12:45:36 +08:00
k8s-merge-robot
ff5c0f95c1 Merge pull request #14663 from vishh/grafana
Auto commit by PR queue bot
2015-09-30 21:30:50 -07:00
Brendan Burns
1b7e52edb4 Merge pull request #14507 from derekwaynecarr/enable_experiemental_apis
Enable experimental API in vagrant setups
2015-09-30 17:12:57 -07:00
Brendan Burns
5545630641 Merge pull request #13185 from xsamurai/master
Changed SSH_USER to core instead ubuntu, also applied fixes from #11975
2015-09-30 11:29:46 -07:00
Brendan Burns
2a6c7a1e79 Merge pull request #14715 from zhengguoyong/capital
set capital in some glog files
2015-09-30 11:28:05 -07:00
Brendan Burns
9cf5cc6641 Add a utility to clean up stranded load balancers. 2015-09-30 11:16:03 -07:00
Mike Danese
ed23abe181 Merge pull request #14690 from mikedanese/fix-2
trim mig template name if it's over the gce validated length limit
2015-09-30 10:52:43 -07:00
Marek Grabowski
ce0b8a3083 Merge pull request #14821 from gmarek/small-fix
Make kubemark docker image a bit smaller
2015-09-30 13:30:11 +02:00
gmarek
d2bf875ce5 Make kubemark docker image a bit smaller 2015-09-30 13:14:02 +02:00
eulerzgy
bf603f698d change minion to node for rackspace 2015-09-30 16:17:25 +08:00
Wojciech Tyczynski
96ec9bcc24 Merge pull request #14766 from brendandburns/perf
Add a second etcd instance for use with events.
2015-09-30 09:51:55 +02:00
eulerzgy
71b96422f4 set capital in some files 2015-09-30 14:46:20 +08:00
Abhi Shah
29c3c23aa0 Merge pull request #14625 from ArtfulCoder/dnstest
adjust read timeout for skydns. default is too high. (changed 4 seconds-> 2seconds)
2015-09-29 22:04:09 -07:00
Tim Hockin
6eb7d8cf1b Merge pull request #13759 from upmc-enterprises/pod_dns
Allow pods to have dns
2015-09-29 21:21:33 -07:00
Brendan Burns
afb54a20c5 Merge pull request #14689 from mikedanese/fix-1
sanitize + in KUBE_VERSION during gce upgrade
2015-09-29 19:54:39 -07:00
Brendan Burns
892a56bcf4 Merge pull request #14479 from linzichang/update-flags
Update apiserver flags in libvirt-coreos
2015-09-29 19:30:36 -07:00
Brendan Burns
a4581c7cd5 Add a second etcd instance for use with events. 2015-09-29 13:13:59 -07:00
Mike Danese
05355145b9 trim mig template name if it's over the gce validated length limit 2015-09-29 11:52:35 -07:00
gmarek
7cfb3479e0 Small fixes to Kubemark scripts 2015-09-29 10:24:46 +02:00
k8s-merge-robot
3742958995 Merge pull request #14225 from ZJU-SEL/kube-down-gracefully
Auto commit by PR queue bot
2015-09-28 21:34:34 -07:00
Mike Danese
5b58a6cb34 sanitize + in KUBE_VERSION during gce upgrade 2015-09-28 17:35:34 -07:00
Vishnu kannan
76d7cbc9cf 1. Make grafana accessible via api-server proxy
2. Add a persistent storage for grafana.
3. Do not enable LoadBalancer by default for Grafana service. This breaks in many deployments.
2015-09-28 17:17:07 -07:00
Abhishek Shah
5d2f3e6683 adjust read timeout for skydns. default is too high (2 seconds.) 2015-09-28 14:07:25 -07:00
Marek Grabowski
f8a9943d90 Merge pull request #14651 from mwielgus/cluster_request
Add cpu/mem reservation metrics for autoscaler in kube-up
2015-09-28 17:40:05 +02:00
Zichang Lin
d4e2acf7ad Update apiserver flags in libvirt-coreos 2015-09-28 20:35:59 +08:00
Marcin Wielgus
659c18110a Add cpu/mem reservation metrics to autoscaler kube-up 2015-09-28 14:12:18 +02:00
gmarek
dd3bd73948 Initial Kubemark commit 2015-09-28 11:39:05 +02:00
Jian Huang
f80120d5ef Fix the issue of generate BASIC_AUTH_FILE file. 2015-09-28 12:02:18 +08:00
Steve Sloka
717660aa35 Allow pods to have dns 2015-09-25 17:22:38 -04:00
Brian Grant
3cbd5f01a0 Merge pull request #13044 from roberthbailey/kubelet-healthcheck
Healthcheck the kubelet on the secure port rather than the read-only port.
2015-09-25 11:11:51 -07:00
derekwaynecarr
804b50d73c Enable experimental API in vagrant setups 2015-09-25 11:16:57 -04:00
Marcin Wielgus
039acb8c1d Merge pull request #14463 from nikhiljindal/DeploymentOnGCE
Allow enabling deployment controller on GCE and GKE
2015-09-25 13:47:36 +02:00
Brian Grant
1b8727ada1 Merge pull request #13072 from mikaelh/master
Elastic IP need to be assigned after the instance is in running state
2015-09-24 17:39:26 -07:00
Brian Grant
3778c00330 Merge pull request #14442 from mesosphere/smoke-tests
Add script to run minimal e2e tests to validate cluster deployment
2015-09-24 17:00:01 -07:00
Brian Grant
dc9a094e1f Merge pull request #14251 from zhengguoyong/del-whitespace2
delete the front whitespace of the annotation
2015-09-24 16:52:42 -07:00
Brian Grant
e7fa5d4df8 Merge pull request #12646 from Huawei-PaaS/ubuntu_verify_cluster_timeout
remove duplicated cluster verify logic in ubuntu deployments scripts.
2015-09-24 16:44:45 -07:00
Chao Xu
ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune
ff1156d4c1 Merge pull request #13930 from ArtfulCoder/privileged
allow privileged pods
2015-09-24 13:42:31 -07:00
nikhiljindal
ed5d24ed52 Allow enabling deployment controller on GCE and GKE 2015-09-24 11:37:16 -07:00
Jerzy Szczepkowski
c8238c079a E2E tests for horizontal pod autoscaler.
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
Eric Tune
57c5a5e439 Merge pull request #14333 from roberthbailey/gke-e2e-firewall-names
Use the cluster name instead of the minion tag as the prefix for the firewall rules created in gke e2e tests
2015-09-23 16:40:41 -07:00
Eric Tune
de9ffd32e8 Merge pull request #14377 from derekwaynecarr/improve_vagrant_node_stability
Vagrant salt-minion should have low oom_score_adj and restart policy
2015-09-23 16:31:10 -07:00
Eric Tune
305a7d3f94 Merge pull request #14410 from lhuard1A/remove_etcd_discovery
[libvirt-coreos cluster] Get rid of the etcd discovery mechanism in favor of static configuration
2015-09-23 16:26:38 -07:00
Karl Isenberg
f429d690c1 Add script to run minimal e2e tests to validate cluster deployment 2015-09-23 12:23:07 -07:00
eulerzgy
6e92c9393a change minion to node 2015-09-23 17:49:22 +08:00
Lénaïc Huard
8b99dd6fb1 Get rid of the etcd discovery mechanism in favor of static configuration
In order to make the etcd instances of the VMs join into a single cluster,
we used to use the discovery mechanism.
This made the cluster bootstrap dependent on an external etcd cluster instance.

74601ea replaced the dependency on discovery.etcd.io by a local etcd cluster.

This change completely gets rid of the dynamic discovery mechanism in favor
of the static configuration method.

This should be both safe and light since it completely removes the need of having
an external etcd cluster running somewhere (either discovery.etcd.io, or locally).
2015-09-23 11:34:55 +02:00
Abhishek Shah
09465c9a2a allow privileged pods 2015-09-22 13:44:08 -07:00
derekwaynecarr
c1b2f62299 Vagrant salt-minion should have low oom_score_adj and restart policy 2015-09-22 16:02:30 -04:00
Lénaïc Huard
6fad7d3520 Revert "Add local etcd discovery support for libvirt-coreos"
This reverts commit 74601eabbe.
2015-09-22 18:30:39 +02:00
Dr. Stefan Schimanski
ec69cb22bd Fix escaping in mesos-slave command line 2015-09-22 15:02:21 +02:00
Robert Bailey
69c987228b Use the cluster name instead of the minion tag as the prefix for
the firewall rules created in e2e tests. This allows the teardown
code to run without needing to inspect the managed instance group
for the cluster (which may no longer exist) and should make e2e
teardown much more resilient.
2015-09-21 20:21:26 -07:00
Vishnu kannan
989aaef94f Upgraded heapster to v0.18.1, influxDB to v0.8.9, and Grafana to v2.0. 2015-09-21 15:42:24 -07:00
eulerzgy
f6ce2eb4be delete the front whitespace of the annotation 2015-09-21 19:14:26 +08:00
Piotr Szczesniak
9a1ec3dfb5 Added GCM support for Initial Resources plugin 2015-09-21 09:01:54 +02:00
He Simei
c4bc4e26be kube-down gracefully when api-server is no longer accessible 2015-09-19 18:36:03 +08:00
k8s-merge-robot
83192aac45 Merge pull request #13964 from liguangbo/fix_make_ca_cert_proxy
Auto commit by PR queue bot
2015-09-19 00:15:54 -07:00
Nikhil Jindal
8754eea749 Merge pull request #14160 from zhengguoyong/minions
change minions to nodes
2015-09-18 17:37:33 -07:00
k8s-merge-robot
cad5f03311 Merge pull request #14185 from tmrts/formatting
Auto commit by PR queue bot
2015-09-18 15:16:00 -07:00
Tamer Tas
cb5f921df1 Add newline to the end of bash scripts 2015-09-18 19:35:05 +03:00
eulerzgy
9d14d1115f change minions to nodes 2015-09-19 00:01:49 +08:00
k8s-merge-robot
1a46238bf2 Merge pull request #13962 from ZJU-SEL/enhance-deploy-ubuntu
Auto commit by PR queue bot
2015-09-18 08:40:30 -07:00
liguangbo
c907bac6c8 Fix easy-rsa download time out in ubuntu deployment script 2015-09-18 17:37:04 +08:00
Dr. Stefan Schimanski
df997e2bb9 Add support for NUM_MINION to mesos/docker cluster 2015-09-18 11:34:27 +02:00
He Simei
b1907f5b1e export KUBE_VERSION 2015-09-18 14:14:20 +08:00
k8s-merge-robot
ef33c2faa4 Merge pull request #13659 from linzichang/fix-ip-conflict
Auto commit by PR queue bot
2015-09-17 16:03:39 -07:00
k8s-merge-robot
48275aa944 Merge pull request #14004 from mbruzek/enable-ssl-squash
Auto commit by PR queue bot
2015-09-17 16:00:09 -07:00
Alex Mohr
e8b53628a5 Merge pull request #12671 from mikeln/master
Much smaller hyperkube image creation
2015-09-17 14:24:19 -07:00
Matt Bruzek
7a387a87a1 Changes necessary to enable ssl for the Juju charms
Squashed commit of the following:

commit dedaccffdc1d797b5f23e0004280c2fcc0ecffa9
Merge: 24c3585 f03a267
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Tue Sep 15 17:07:42 2015 -0500

    Merge branch 'master' of github.com:kubernetes/kubernetes into enable-ssl

commit 24c358566cc0963fb86dc057db15739f031ba6f6
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Tue Sep 15 16:44:58 2015 -0500

    Fixing problems with verify-boilerplate.

commit a64443352c64498255ac98fc0da1a7d8d5934485
Merge: f152794 ee3f662
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Tue Sep 15 15:43:08 2015 -0500

    Merge branch 'enable-ssl' of github.com:mbruzek/kubernetes into enable-ssl

    Conflicts:
    	cluster/juju/util.sh

commit f152794502c017ae7d3cff0351d8bf44b7311883
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 14:12:21 2015 -0500

    Fixes for problems found in testing.

commit 94effa4827d5f30c60621e9133c4526c187e40b4
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 12:34:37 2015 -0500

    Making updates for changes in master branch.

commit a81795b44e57d54b8b4ae486ca6ea8164ac8fc6b
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:39:36 2015 -0500

    pep8 fix

commit 53a862caea02c4b35f8cd19b1549fda29e040f12
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:37:31 2015 -0500

    Adding diagnostic log messages and reloading nginx.

commit 96411a924fb05e2e58534cce94d9a1e51d7db9af
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:19:31 2015 -0500

    Making the check user logic cleaner.

commit a0243b34cdda2f865e559bd4812c5a78ab6f6f05
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:18:04 2015 -0500

    Open port 6443 for ssl enablement.

commit e8423614763aa6d650089c735c3dc1893bf73993
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:16:54 2015 -0500

    Generating certificates and adding config options.

commit 6570a818e252f2cb156a577094ba987dec834fe1
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:14:56 2015 -0500

    Removing the http configuration adding https config.

commit e624bd79f8840b71b141a111bca7c6091b677575
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:13:04 2015 -0500

    Changed the distribution nginx config slightly.

commit c497911170268ee75bed53afeb5fa32ff44c82af
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:57:17 2015 -0500

    Adding the crt and key to the apiserver flags.

commit 6c1e76c5de31eb4d0f800065ce4bc96a82801846
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:56:15 2015 -0500

    Adding the cert and key configuration parameters.

commit 55da910d473efa0be0af5efccf2336612525986e
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:49:46 2015 -0500

    Adding a requirements file to install path.py with pip -r

commit 27a39686af89e134268be50ce5e4fc36cffdf2b3
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Fri Aug 21 16:34:56 2015 -0500

    Making the install hook idempotent.

commit ee3f66287ba045592f932c3a41aeb8e0167a9235
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 14:12:21 2015 -0500

    Fixes for problems found in testing.

commit 3dfdbb0e21d79da66617f7a29e6dd8d977528057
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 12:34:37 2015 -0500

    Making updates for changes in master branch.

commit df9c297fe27c63713fc0d7dbd461b2d47133614c
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:39:36 2015 -0500

    pep8 fix

commit 645b25d9cc84555ca7af5c75e3f0b1300aaa9f48
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:37:31 2015 -0500

    Adding diagnostic log messages and reloading nginx.

commit 57654320bd73dc4dd52d6d56021d40a97c6ed893
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:37:02 2015 -0500

    Removing xtrace.

commit a0e8cd98353e7cd411786bc8836fe99a77cde3ba
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:19:31 2015 -0500

    Making the check user logic cleaner.

commit 6c6eb7ff02d6dbf66d3175b715e957b00a861525
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:18:04 2015 -0500

    Open port 6443 for ssl enablement.

commit 29f18cc95ff96de1a48f72af2cff2e37420a43c7
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:16:54 2015 -0500

    Generating certificates and adding config options.

commit c9bdaa499552980153ff263a1ab9b4fa73a0536a
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:14:56 2015 -0500

    Removing the http configuration adding https config.

commit ec33e66a159a4b44207353b16741c7fad2e4ee0d
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:13:04 2015 -0500

    Changed the distribution nginx config slightly.

commit 96dc16879c0dd230569ceb928f9f7bf92ff8ab3f
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:57:17 2015 -0500

    Adding the crt and key to the apiserver flags.

commit 308799502c0a22f214408395f5efa4821d075374
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:56:15 2015 -0500

    Adding the cert and key configuration parameters.

commit 7f407a4356de8703ff2f237432084f35910d8abd
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:49:46 2015 -0500

    Adding a requirements file to install path.py with pip -r

commit f800ae1152076758d4db203fdbecf6d945c0e892
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Fri Aug 21 16:34:56 2015 -0500

    Making the install hook idempotent.

Resolving verification problems.
2015-09-17 15:23:02 -05:00
k8s-merge-robot
37c4e2eba3 Merge pull request #13808 from derekwaynecarr/add_cockpit
Auto commit by PR queue bot
2015-09-17 08:36:34 -07:00
k8s-merge-robot
e18c9639b5 Merge pull request #13908 from mesosphere/speedup-mesos-docker-build
Auto commit by PR queue bot
2015-09-17 02:36:43 -07:00
k8s-merge-robot
e3ecb748b9 Merge pull request #14005 from technosophos/master
Auto commit by PR queue bot
2015-09-17 01:08:08 -07:00
k8s-merge-robot
445fde3dc5 Merge pull request #13447 from pweil-/pid-mode
Auto commit by PR queue bot
2015-09-16 23:34:35 -07:00
Alex Mohr
943d7160d5 Merge pull request #14033 from gosharplite/patch-8
nslookup in different namespace
2015-09-16 14:31:22 -07:00
Robert Bailey
da94ed7957 Healthcheck the kubelet on the secure port rather than the read-only port. 2015-09-16 12:15:29 -07:00
k8s-merge-robot
3dcb75c599 Merge pull request #13986 from derekwaynecarr/move_to_flannel
Auto commit by PR queue bot
2015-09-16 09:36:09 -07:00
k8s-merge-robot
14ccba8924 Merge pull request #13886 from a-robinson/logtags
Auto commit by PR queue bot
2015-09-16 05:51:32 -07:00
k8s-merge-robot
8385c148ba Merge pull request #13936 from andyzheng0831/trusty
Auto commit by PR queue bot
2015-09-16 05:29:18 -07:00
Tony Hsu
bab127e094 nslookup in different namespace
Since skydns is created in namespace 'kube-system' and kubernetes service is created in namespace 'default', if busybox is created in namespace 'kube-system' then nslookup will work with 'kubernetes.default'.
2015-09-16 17:44:02 +08:00
k8s-merge-robot
d5b33614c3 Merge pull request #14001 from kubernetes/revert-13866-test-grace-period
Auto commit by PR queue bot
2015-09-15 20:21:45 -07:00
derekwaynecarr
b59441f8c4 Add Fedora Cockpit to vagrant setup to administer/introspect kubernetes 2015-09-15 21:28:41 -04:00
Jeff Lowdermilk
a1294e6401 Merge pull request #13762 from runningwild/PR
More fixes to rkt support
2015-09-15 17:34:06 -07:00
Alex Robinson
8040f75594 Update fluentd-gcp to use a new google-fluentd build with my recent
changes to fluent-plugin-google-cloud to attach Kubernetes metadata to
logs.

Along with this, separate logs from containers in the cluster out from
logs from the daemons running on the node by instantiating two instances
of the output plugin, one which uses the new metadata (for containers)
and one which doesn't (for things like docker and the kubelet).
2015-09-15 23:14:43 +00:00
Matt Butcher
ac51f7e586 Allow DOCKER_OPTS to be overriden for Vagrant 2015-09-15 16:21:55 -06:00
Andy Zheng
7427387938 Add trusty node health monitoring
Upstart monitors the process of docker, kubelet, and kube-proxy.
This change adds an upstart job running as daemon to conduct
non-PID health monitoring.
2015-09-15 15:09:45 -07:00
Marek Grabowski
cda68cbeb5 Revert "Lower the grace period for Pod eviction for e2e clusters" 2015-09-15 17:55:37 -04:00
derekwaynecarr
360e7620d3 Move vagrant to flannel 2015-09-15 15:42:38 -04:00
Paul Weil
ed80c2b940 pid mode 2015-09-15 13:51:44 -04:00
He Simei
873eb3292f enhance deployment for ubuntu 2015-09-15 17:17:27 +08:00
k8s-merge-robot
c9dd648a88 Merge pull request #13900 from ZJU-SEL/kube-push-with-local-binary
Auto commit by PR queue bot
2015-09-14 11:34:10 -07:00
Dr. Stefan Schimanski
d1f558757c Only km is needed in mesos-docker km container 2015-09-14 09:56:23 +02:00
He Simei
ebeaf70658 support kube-up using local binaries for ubuntu 2015-09-14 10:49:55 +08:00
k8s-merge-robot
c8f9219272 Merge pull request #13866 from gmarek/test-grace-period
Auto commit by PR queue bot
2015-09-12 23:15:38 -07:00
darron froese
d0e1781d2b Update open file limit for etcd
etcd was constantly restarting with too many open files until I gave it more room on Ubuntu 14.04

https://gist.github.com/darron/2aadb8f30f3dd6f580bf

This is a more sensible default - but it may not be enough depending on how many minion nodes there are.
2015-09-12 15:44:47 -06:00
Mike Danese
f27582a0b0 Merge pull request #13733 from ZJU-SEL/fix-kube-push-ubuntu
fix kube-push for ubuntu
2015-09-11 18:34:28 -07:00
Alex Robinson
f691dca96e Don't install unused configs in the fluentd-gcp Dockerfile. 2015-09-11 16:52:52 -07:00
Alex Robinson
614b1cf3c1 Replace /varlog with /var/log in the fluentd-gcp config to match the
recently updated fluent-es config.
2015-09-11 16:52:49 -07:00
k8s-merge-robot
a4932454ac Merge pull request #13803 from justinsb/aws_aufs_one_volume
Auto commit by PR queue bot
2015-09-11 14:00:52 -07:00
k8s-merge-robot
5add5d6f96 Merge pull request #13863 from jlowdermilk/gke-jenkins-config
Auto commit by PR queue bot
2015-09-11 12:05:55 -07:00
Mike Danese
4bd638921f Merge pull request #13752 from yujuhong/docker1.8_upgrade
Upgrade to docker 1.8.2 for Debian Wheezy on GCE
2015-09-11 11:15:30 -07:00
Jeff Lowdermilk
7229096453 Add config for the main gke-jenkins jobs to e2e.sh 2015-09-11 11:05:30 -07:00
gmarek
645c9153d4 Lower the grace period for Pod eviction for e2e clusters 2015-09-11 13:55:15 -04:00
Yu-Ju Hong
4cdd00fb9c Upgrade to docker 1.8.2 for Debian Wheezy on GCE 2015-09-11 10:09:59 -07:00
Jerzy Szczepkowski
5be8817315 Turning on pod autoscaler on GCE.
Implemented optional turning on of pod autoscaler in kube-up script for GCE.
2015-09-11 12:03:41 +02:00
k8s-merge-robot
8491a6028b Merge pull request #13843 from thockin/dns-docs-cleanup
Auto commit by PR queue bot
2015-09-10 23:03:39 -07:00
Tim Hockin
248881d44f Update DNS docs to cover --resolv-conf 2015-09-10 22:12:28 -07:00
Mikel Nelson
a90e3beb0f Smaller hyperkube image...fix git flub 2015-09-10 17:44:10 -07:00
Daniel Smith
b225c1d47a Run gofmt (separate commit for easy rebases) 2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09 Move version agnostic parts of client
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
k8s-merge-robot
c0d0ef6dd1 Merge pull request #13817 from a-robinson/varlib
Auto commit by PR queue bot
2015-09-10 13:24:07 -07:00
Jeff Lowdermilk
08442974bb Revert "Turning on pod autoscaler on GCE." 2015-09-10 11:46:37 -07:00
Alex Robinson
746dcb8075 Make fluentd-es output its warning logs and fluentd-gcp mount
/var/lib/docker read-only.
2015-09-10 18:28:27 +00:00
k8s-merge-robot
6f2fa9eb41 Merge pull request #13547 from jszczepkowski/hpa-kubeup
Auto commit by PR queue bot
2015-09-10 09:17:20 -07:00
Jerzy Szczepkowski
b41862b670 Turning on pod autoscaler on GCE.
Implemented optional turning on of pod autoscaler in kube-up script for GCE.
2015-09-10 16:10:01 +02:00
Justin Santa Barbara
9f4ec648b4 AWS: Create one storage pool for aufs, not two
We were splitting the aufs storage into docker & kubernetes areas, but
the kubernetes area was filling up very quickly because empty volumes
went on there, and I had originally not sized it big enough for that.

Instead, create one volume for both so they can share space freely.  We
can't do this for devicemapper, but that configuration seems to be
deprecated by Docker anyway.
2015-09-10 07:06:34 -07:00
Kevin
82aaf118e2 remove the dependency on brctl, update default config and rephrase minion to node 2015-09-10 16:11:16 +00:00
Kevin
de9d722993 update centos deployment scripts, add sudo user support. 2015-09-10 15:47:07 +00:00
Kevin
4e2613575d update centos deployment scripts call make-ca-cert.sh to generate certs 2015-09-10 15:47:06 +00:00
Kevin
5f985045f4 set default docker storage driver to devicemapper and fix DOCKER_OPTS passing 2015-09-10 15:47:06 +00:00
Kevin
ff9d482c82 Add CentOS BareMetal deployment scripts. 2015-09-10 15:47:06 +00:00
Mike Danese
b104f660da enable the experimental API group in e2e tests 2015-09-09 15:26:32 -07:00
Jonathan Wills
5d38a8f024 Create /etc/rkt on startup 2015-09-09 16:52:25 -04:00
Jonathan Wills
05617a4583 Add CLUSTER_REGISTER_DISK and CLUSTER_REGISTRY_DISK_SIZE to gce/coreos 2015-09-09 16:52:25 -04:00
He Simei
1db999c4cb fix kube-push for ubuntu 2015-09-09 21:48:48 +08:00
Chao Xu
2f93978df8 Merge pull request #13521 from derekwaynecarr/improve_salt_reliability
Improve reliability of salt-minion on vagrant master
2015-09-08 09:37:10 -07:00
Chao Xu
a85481b329 Merge pull request #13381 from Huawei-PaaS/upgrade_k8s_cluster_for_ubuntu
Add ubuntu kube-push for upgrading of k8s cluster
2015-09-08 09:05:51 -07:00
derekwaynecarr
7afec6b225 Improve reliability of salt-minion on vagrant master 2015-09-08 10:42:37 -04:00
Zichang Lin
34ad303dda Fix IP conflict on master's cbr0 and host's virbr_kub_pods 2015-09-08 16:23:18 +08:00
He Simei
442a22d114 tear down resources before tear down the cluster 2015-09-07 11:03:45 +08:00
k8s-merge-robot
8cc75a4734 Merge pull request #13031 from daizuozhuo/kubectl-get
Auto commit by PR queue bot
2015-09-06 13:15:05 -07:00
k8s-merge-robot
e6c0dcf770 Merge pull request #13544 from linzichang/master
Auto commit by PR queue bot
2015-09-06 12:17:49 -07:00
Dai Zuozhuo
2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
He Simei
a4fc22c849 deprecate etcd on node 2015-09-05 17:23:06 +08:00
Quinton Hoole
dd68f0b23f Merge pull request #13551 from eparis/cloudplatfrom-to-kubernetes
s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kub…
2015-09-04 12:36:01 -07:00
Quinton Hoole
059d762e64 Merge pull request #13594 from ihmccreery/tokens
Second attempt at GCE tokens behavior to new format
2015-09-04 11:38:08 -07:00
Quinton Hoole
de3cf9b712 Merge pull request #13527 from derekwaynecarr/disable_swap
Disable swap memory on vagrant nodes to support qos properly
2015-09-04 09:14:31 -07:00
Quinton Hoole
27c4041778 Merge pull request #13172 from parikhyash/kube-dns-ha
#11471 Readiness probe for kube-dns RC (HA)
2015-09-04 09:08:08 -07:00
Isaac Hollander McCreery
219a1fae62 Second attempt at GCE tokens behavior to new format 2015-09-04 08:36:55 -07:00
Piotr Szczesniak
78e7cc88fa Merge pull request #13376 from gouyang/fix-upgrade-storage-script
Use "kubectl replace" in update-storage-objects.sh
2015-09-04 13:45:08 +02:00
Piotr Szczesniak
e285af9b20 Merge pull request #13390 from derekwaynecarr/remove_namespace_exists
Remove NamespaceExists from configuration
2015-09-04 13:44:40 +02:00
Jerzy Szczepkowski
2684018bb5 Configurations of jenkins e2e cluster and default private e2e cluster made consistent.
Configurations of jenkins e2e cluster and default private e2e cluster made consistent.
2015-09-04 09:15:01 +02:00
Zichang Lin
4d8eedd13d Fix rmdir error when libvirt-coreos kupe-up 2015-09-04 08:02:00 +08:00
Abhi Shah
04600aa5dd Merge pull request #11439 from jfchevrette/source-local-cluster-env
Allow a local /cluster/env.sh to be sourced if present
2015-09-03 16:35:42 -07:00
Abhi Shah
c9f2d3151b Merge pull request #13155 from derekwaynecarr/enforce_limits
Map cpu limits to cpu-quota in docker run
2015-09-03 16:28:04 -07:00
Abhi Shah
9b24100c22 Merge pull request #13561 from yuvipanda/patch-1
Update kube2dns usage flags
2015-09-03 15:49:26 -07:00
Abhi Shah
a1d5e84385 Merge pull request #13274 from mikedanese/kube-ui-v2
bump kube-ui addon version to v2
2015-09-03 15:42:56 -07:00
Abhi Shah
34476cd758 Merge pull request #13510 from Huawei-PaaS/fix_hostnet_in_dns
Fix a typo `hostNet` to `hostNetwork`in DNS
2015-09-03 15:36:40 -07:00
derekwaynecarr
aff9ee5a40 Enable CFS quota in vagrant setup 2015-09-03 13:44:28 -04:00
derekwaynecarr
06bbe00642 Remove NamespaceExists from configuration 2015-09-03 13:42:09 -04:00
Yuvi Panda
e35d06fd17 Update kube2dns usage flags
Update some of the commandline flags for kube2sky
2015-09-03 18:57:45 +02:00
derekwaynecarr
44e74b4c20 Disable swap memory on vagrant nodes to support qos properly 2015-09-03 11:22:47 -04:00
Eric Paris
04fc8ae3dd s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
k8s-merge-robot
9c4802420b Merge pull request #8632 from jimmidyson/logging-kube-metadata
Auto commit by PR queue bot
2015-09-02 19:08:34 -07:00
Derek Carr
445fff030c Merge pull request #11469 from fredjean/fix-vagrant-vmware
Boot a Vagrant on VMWare Kubernetes Cluster
2015-09-02 14:23:53 -04:00
Yash Parikh
207dfe54f0 Fixes #11471 Readiness probe for kube-dns RC (HA) 2015-09-02 10:05:15 -07:00
Derek Carr
e3abf89aab Merge pull request #13268 from cameronbrunner/ISSUE_13267
Remove kubectl deprecation warning in Vagrant Cluster Provider
2015-09-02 12:30:34 -04:00
k8s-merge-robot
dd5f970679 Merge pull request #13446 from fgrzadkowski/fix_docker_multinode_doc
Auto commit by PR queue bot
2015-09-02 06:48:56 -07:00
qiaolei
59b6a6d2b8 Fix a typo hostNet to hostNetwork
Where `hostNet` should be `hostNetwork`
2015-09-02 20:21:10 +08:00
Marcin Wielgus
f7bb05f58e Merge pull request #13504 from Huawei-PaaS/fix_heapster_cadvisor_port
Fix a typo `-cadvisor_port` to `--cadvisor-port`
2015-09-02 12:13:49 +02:00
qiaolei
d2a0f2b66f Fix a typo -cadvisor_port to --cadvisor-port
Where `-cadvisor_port` should be `--cadvisor-port`
2015-09-02 17:52:52 +00:00
Jimmi Dyson
e07da97447 Switch to fluentd kubernetes metadata plugin to enrich logs with more searchable kubernetes metadata 2015-09-02 10:33:15 +01:00
Alex Robinson
66ff3c133b Merge pull request #13229 from a-robinson/fluent
Clean up the fluentd images to make them more debuggable
2015-09-01 17:01:04 -07:00
Filip Grzadkowski
1a9b0d6018 Fix mounting volumes in docker based kubernetes setup. 2015-09-01 16:42:23 +02:00
k8s-merge-robot
9379b0b7d9 Merge pull request #13124 from linzichang/master
Auto commit by PR queue bot
2015-08-31 13:39:32 -07:00
huangyuqi
85729403fd Add ubuntu kube-push for upgrading of k8s cluster 2015-08-31 19:15:11 +00:00
Jerzy Szczepkowski
66a644b275 Merge pull request #13237 from andyzheng0831/trusty
Support kube-registry-proxy addon in trusty nodes
2015-08-31 09:21:32 +02:00
Guohua Ouyang
4393116422 Use "kubectl replace" in update-storage-objects.sh
Signed-off-by: Guohua Ouyang <gouyang@redhat.com>
2015-08-31 15:14:27 +08:00
lzc
74601eabbe Add local etcd discovery support for libvirt-coreos 2015-08-29 11:49:35 +08:00
Prashanth B
52f7833cd3 Revert "Revert "LimitRange updates for Resource Requirements Requests"" 2015-08-28 09:26:36 -07:00
He Simei
ffe9bb0e25 upgrade to v1.0.3, refactor the guide 2015-08-28 16:43:01 +08:00
Fred Jean
1305f54645 Booting a Kubernetes cluster on Vagrant
* Using Fedora 21 as the base box
* Discover the active network interfaces in the box to avoid hardcoding
  them in configuration.
* Use the master IP for the certificate.
2015-08-27 21:43:36 -06:00
Tim Hockin
109c3f2b05 Merge pull request #12834 from eldarion-gondor/fix-validate-cluster-on-error
When calling kubectl.sh, allow error due to API server bouncing
2015-08-27 17:21:09 -07:00
Alex Robinson
d02dc64036 Let fluentd-es log by not redirecting to a file within the container
and only using -q (warning logs only) rather than -qq (error logs only).
2015-08-27 21:41:44 +00:00
Alex Robinson
b3154a7815 Remove the garbage log file in the fluentd-gcp that gets filled with
gunk when installing the google-fluentd agent.

Also let it log things by not redirecting to a file within the container
and only using -q (warning logs only) rather than -qq (error logs only).
2015-08-27 21:41:44 +00:00
Alex Robinson
c9a8b2a405 Merge pull request #13230 from a-robinson/maintainer
Transfer maintainer responsibilities for fluentd configs/images.
2015-08-27 14:35:02 -07:00
Mike Danese
c64d0d56dd bump kube-ui to v2 2015-08-27 10:59:33 -07:00
Cameron Brunner
7f76c077b8 Issue #13267: Change -t to --template in kubectrl get call 2015-08-27 11:25:07 -05:00
Andy Zheng
9f28e784dc Support kube-registry-proxy addon in trusty nodes 2015-08-27 07:46:50 -07:00
Kevin
b1ecd645ac ubuntu deploy scripts: change process start failed message in verify-master() and verify-minion() 2015-08-27 14:34:29 +00:00
Kevin
0705ef9495 add time out exit when process not started correctly on master or minion 2015-08-27 14:34:29 +00:00
Piotr Szczesniak
997dd12c2c Merge pull request #13246 from kubernetes/revert-12492-limit_range_api
Revert "LimitRange updates for Resource Requirements Requests"
2015-08-27 11:12:04 +02:00
Piotr Szczesniak
7ad0f96688 Revert "Make MASTER_IP_RANGE master-only" 2015-08-27 10:52:21 +02:00
Piotr Szczesniak
6e05b9e3a3 Revert "LimitRange updates for Resource Requirements Requests" 2015-08-27 10:50:50 +02:00
Alex Robinson
f6f8cb07ae Transfer maintainer responsibilities for fluentd configs/images. 2015-08-26 21:48:51 +00:00
Yu-Ju Hong
1c7ebc4a62 Merge pull request #13213 from mbforbes/removeMasterIpRange
Make MASTER_IP_RANGE master-only
2015-08-26 13:04:04 -07:00
Yu-Ju Hong
1bae2b677d Merge pull request #12492 from derekwaynecarr/limit_range_api
LimitRange updates for Resource Requirements Requests
2015-08-26 13:02:57 -07:00
Yu-Ju Hong
09446c7a49 Merge pull request #13214 from mbforbes/todos
Pass mbforbes TODOs to others.
2015-08-26 13:02:27 -07:00
Max Forbes
8ca0654f94 Pass mbforbes TODOs to others. 2015-08-26 10:05:34 -07:00
Yu-Ju Hong
bcd949b3f5 Merge pull request #13209 from amygdala/utilsfix
fix error in 'rm' path instructions to force restaging
2015-08-26 09:54:23 -07:00
Yu-Ju Hong
781d40c4a3 Merge pull request #13029 from justinsb/aws_config_test_disk
AWS: Add disk size/type defaults to config-test
2015-08-26 09:53:45 -07:00
Max Forbes
48801da130 Make MASTER_IP_RANGE master-only 2015-08-26 09:53:08 -07:00
Amy Unruh
5b6c5823da fix error in 'rm' path instructions to force restaging 2015-08-26 08:10:51 -07:00
root
5f5d97b6e7 Changed SSH_USER to core instead ubuntu, also applied fixes from #11975 2015-08-26 01:29:56 -07:00
Yu-Ju Hong
6071942f98 Merge pull request #13154 from derekwaynecarr/fix_vagrant_warning
Fix typo that caused an error at end of vagrant up
2015-08-25 15:33:14 -07:00
Yu-Ju Hong
df8c189390 Merge pull request #13150 from cjcullen/gce
Add liveness probe for master's etcd pod
2015-08-25 15:26:32 -07:00
Yu-Ju Hong
68a916d1b1 Merge pull request #10637 from marun/conditional-f21-fixup
Vagrant: Make F21 fixup conditional
2015-08-25 14:30:59 -07:00
derekwaynecarr
55a57a0bce Fix typo that caused an error at end of vagrant up 2015-08-25 15:06:31 -04:00
CJ Cullen
c77e800495 Add liveness probe for master's etcd pod 2015-08-25 10:37:00 -07:00
Ed Costello
1916d3bb74 Copy edits for typos (resubmitted) 2015-08-25 10:47:58 -04:00
Justin Santa Barbara
a13a0ac3e8 AWS: Add disk size/type defaults to config-test
Otherwise they needed to be manually specified (for example in the
Jenkins jobs)
2015-08-25 07:54:03 -04:00
Nikhil Jindal
411d78dac3 Merge pull request #13068 from jlowdermilk/no-reuse-auth
Don't reuse credentials on cluster create
2015-08-24 15:56:36 -07:00
derekwaynecarr
d25082250d Update salt deployment for new limit-range 2015-08-24 15:43:32 -04:00
yuqi huang
a20de17d5e Correct the wrong words in shell comments
Correct the wrong words in shell comments
2015-08-24 20:13:38 +08:00
Mikael Hammarin
c82e645f9d Elastic IP need to be assigned after the instance is in running state. Currently always fails with "The pending instance x is not in a valid state for this operation" and defaults to public ip.
Fix: Moved assign-elastic-ip to run after wait-for-instance-running
2015-08-23 13:39:01 +02:00
Jeff Lowdermilk
438216844f Stop reusing basic auth on cluster create 2015-08-22 11:45:46 -07:00
Zach Loafman
5fe7029e68 Merge pull request #13008 from andyzheng0831/node-yaml
Add continuous tests support for trusty nodes
2015-08-21 18:59:21 -07:00
Zach Loafman
cc172af259 Merge pull request #13049 from mesosphere/mesos-docker-lazy-pull
[mesos/docker] Lazily pull images to speed up kube-up
2015-08-21 16:07:27 -07:00
Zach Loafman
9a8eef33fa Merge pull request #12700 from bjlee72/util-sudo-patch
Fix the problem that the script cannot remove existing installations …
2015-08-21 16:03:26 -07:00
Zach Loafman
185b5af26f Merge pull request #12833 from uluyol/insecure-reg
Launch a cluster-local registry.
2015-08-21 14:58:37 -07:00
Andy Zheng
f302130ad9 Add continuous tests support for trusty nodes
Also fix the starting condition of kube-install-additional-packages
upstart job.
2015-08-21 14:39:55 -07:00
Karl Isenberg
47d3d85603 [mesos/docker] Lazily pull images to speed up kube-up 2015-08-21 14:10:00 -07:00
Muhammed Uluyol
3dc10a209b Use gcr.io for proxy image 2015-08-21 13:32:08 -07:00
Jeff Lowdermilk
f0b5c5b7b8 fix mig command for gce 2015-08-21 11:19:46 -07:00
Jerzy Szczepkowski
3a6158f8ad Merge pull request #12985 from mbabker/gke-machine-type
Add ability to specify machine type for GKE
2015-08-21 10:29:01 +02:00
Jerzy Szczepkowski
755287ca3a Merge pull request #12988 from andyzheng0831/bug
Fix some env variable settings in test config.
2015-08-21 08:39:32 +02:00
k8s-merge-robot
44c76d5319 Merge pull request #12957 from smarterclayton/handle_terminating_pods
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Muhammed Uluyol
2fb4e7b7a4 Use quotes more consistently 2015-08-20 18:44:12 -07:00
Muhammed Uluyol
82638f8b29 Add conversion function from GCE storage units to kubernetes units. 2015-08-20 18:44:12 -07:00
Muhammed Uluyol
14b554cef6 Use a persistent volume for the docker registry. 2015-08-20 18:44:11 -07:00
Muhammed Uluyol
7129d477d3 Launch a cluster-local registry.
This registry can be accessed through proxies that run on each node
listening on port 5000. We send the proxy images to the nodes directly
to avoid requests that hit the network during cluster launch. For now,
we continue to pull the registry itself over the network, especially
given its large size (we should be able to dramatically shrink the
image). On GCE we create a PD and use that for storage, otherwise we
use an emptyDir. The registry is not enabled outside of GCE. All
communication is currently plain HTTP. In order to use SSL, we will
need to be able to request a certificate/key from the apiserver signed
by the apiserver's CA cert.
2015-08-20 18:44:05 -07:00
Saad Ali
ebe50ea692 Merge pull request #13001 from jlowdermilk/gke-util
Future-proof detect-minions for gke
2015-08-20 17:44:09 -07:00
Jeff Lowdermilk
30b8802fa6 Future-proof detect-minions for gke 2015-08-20 17:38:45 -07:00
Saad Ali
129a4ceddd Merge pull request #12954 from mesosphere/mesos-docker-cleanup
[mesos/docker] Cleanup cluster scripts
2015-08-20 17:30:32 -07:00
Saad Ali
9b01580946 Merge pull request #12872 from runningwild/master
Fix several problems with using rkt on gce
2015-08-20 15:46:16 -07:00
Saad Ali
e8009e828c Merge pull request #12632 from erictune/conformance-master-2
Add generic master detector; simplify conformance.
2015-08-20 14:32:36 -07:00
Michael Babker
f562a3b471 Add ability to specify machine type for GKE 2015-08-20 17:09:42 -04:00
Andy Zheng
7bdc530822 Fix some env variable settings in test config.
These environmental variables are incorrectly set to string
"TEST_CLUSTER_LOG_LEVEL", instead of the value of the variable
"${TEST_CLUSTER_LOG_LEVL}".
2015-08-20 11:46:12 -07:00
Clayton Coleman
02dbb95447 Add TerminationGracePeriodSeconds to API
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski
a18a07e5cf Merge pull request #12897 from wojtek-t/fix_gcloud_preview
Stop using deprecated gcloud commands
2015-08-20 10:51:52 +02:00
Wojciech Tyczynski
b030f2711b Merge pull request #12933 from andyzheng0831/node-yaml
Use yaml format for trusty node kube-env
2015-08-20 10:51:40 +02:00
Wojciech Tyczynski
04af904cbb Merge pull request #12909 from justinsb/fix_12855
AWS: Always install aufs module & tools
2015-08-20 08:26:47 +02:00
Saad Ali
3fce3433d9 Merge pull request #12949 from satnam6502/fluentd-es
Update Elasticsearch cluster logging to use v1.9 image
2015-08-19 18:48:55 -07:00
Karl Isenberg
55eb982b4c [mesos/docker] Cleanup cluster scripts
- Remove unused MESOS_DOCKER_IMAGE_DIR
  mesos-slave-dind handles recursive mounting internally now
- Extract docker-compose exec to a function.
  Avoids export pollution.
  Avoids compose file path as a global var.
- Localize some function variables.
- Validate existence of docker & docker-compose
- Improve user account creation output
2015-08-19 18:04:46 -07:00
Saad Ali
8a43bd621e Merge pull request #12745 from eparis/even-less-dash-false-positive
verify-flags-underscore.py: Even fewer dash false positives
2015-08-19 17:03:29 -07:00
Satnam Singh
d3a8e5374b Update Elasticsearch cluster logging to use v1.9 image 2015-08-19 15:55:22 -07:00
Saad Ali
0c99a91805 Merge pull request #12503 from mesosphere/mesos-docker-build-images
[mesos/docker] Enhance kube-up to better support running in a container (for CI)
2015-08-19 14:53:42 -07:00
Satnam Singh
278a3911fd Fetch fluentd td agent securely 2015-08-19 13:34:03 -07:00
Eric Tune
29da889bbf Add generic master detector; simplify conformance.
Add detect-master-from-kubeconfig bash function.
Use it to no longer require conformance test user
to specify KUBE_MASTER_IP.
2015-08-19 13:20:22 -07:00
Saad Ali
dcf3dca973 Merge pull request #11459 from erulabs/add_aws_ebs_volume_size_option
Add config option for AWS EBS root volume size
2015-08-19 12:50:21 -07:00
Andy Zheng
ee913b1273 Use yaml format for trusty node kube-env
It uses the same function as Debian to create the yaml format
node kube-env file.
2015-08-19 10:05:44 -07:00
Jonathan Wills
80e799fc0c Allow configuring the rkt binary in a kubelet with a flag.
This is necessary because coreos comes with rkt installed, and if we want to use a different version
we need some way to avoid the default one.
2015-08-19 09:42:13 -04:00
Justin Santa Barbara
fba216c7b3 AWS: Always install aufs module & tools
Clean up the installation of aufs supporting modules & tools, so we
always install both and only install in one place.

Fixes #12855
2015-08-19 07:27:12 -04:00
Wojciech Tyczynski
1feb78be66 Stop using deprecated commands 2015-08-19 12:19:08 +02:00
Robert Bailey
08e6a43c1d Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit 4f856b595d, reversing
changes made to d78525a83b.

Conflicts:
	pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Karl Isenberg
053cb26dde [mesos/docker] Expose DOCKER_DAEMON_ARGS 2015-08-18 16:54:05 -07:00
Jonathan Wills
a68e819e60 Fix rkt binary path 2015-08-18 16:15:01 -04:00
Jonathan Wills
bf08da0fdc change coreos node env file from yaml to KEY=VALUE 2015-08-18 16:15:01 -04:00
erulabs
5ee816e905 Add config option for AWS EBS root volume size 2015-08-18 11:03:23 -07:00
Kris Rousey
ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Robert Bailey
4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Brian Rosner
b1c418ea20
When calling kubectl.sh, allow error due to API server bouncing 2015-08-18 07:16:18 -06:00
Clayton Coleman
b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Robert Bailey
6afa0e1f95 Don't register the master node into the cluster by default. 2015-08-17 19:17:17 -07:00
Karl Isenberg
9b5d525e3d [mesos/docker] Upgrade mesos-docker-test image to use docker 1.8.1 2015-08-17 18:37:45 -07:00
Karl Isenberg
87da2ed6de Update mesos-slave-dind to use Docker 1.8.1 2015-08-17 17:20:55 -07:00
Andy Zheng
11c823abd8 Fix some settings of trusty nodes
It fixes kubelet and kube-proxy command line options, fixes a typo,
and adds installation of nsenter package if it is not present.
2015-08-17 14:27:30 -07:00
Karl Isenberg
2ea10ec5b7 [mesos/docker] Replace auth/log dirs with MESOS_DOCKER_WORK_DIR
- Mount mesos slave workspaces in MESOS_DOCKER_WORK_DIR
- Clear mesos slave workspace in kube-up
- Add MESOS_DOCKER_IMAGE_DIR to configure docker-in-docker image storage
- Lazily eval auth/log dirs
- Improve mesos slave missing error in detect-minions
2015-08-17 13:50:50 -07:00
Eric Paris
c560f41a4b Update docs which were incorrectly using _ in flag names
Each of these was verified that the actual flag declaration correctly
used -
2015-08-17 11:18:43 -07:00
Vish Kannan
5ea41906d4 Merge pull request #12793 from piosz/heapster-config
Removed align_stats flag from Heapster config
2015-08-17 11:17:48 -07:00
Piotr Szczesniak
eed7d24c02 Removed align_stats flag from Heapster config
The flag caused inaccuracy in compute cpu/usage_rate metric
2015-08-17 14:40:41 +02:00
Justin Santa Barbara
0ff8dd45ef Fix escaping problem in kube-scheduler manifest
'{{pillar[log_level]}}' was appearing literally in the command line,
instead of being substituted.

Fixes #12787
2015-08-17 08:16:24 -04:00
Eric Paris
13822bceae Fix build breakage due to ubuntu invalid flag usage
In PR #12543 / commit fef1ede240
Flags were used with `_` instead of `-`. This broke the build.
2015-08-16 20:30:59 -05:00
Brendan Burns
6afbaf6bf6 Merge pull request #12543 from andyzheng0831/ubuntu
Add config to run minions on GCE using Ubuntu.
2015-08-14 22:13:38 -07:00
Karl Isenberg
1d16b21dd2 [mesos/docker] Configure controller-manager to advertize its externally accessible IP 2015-08-14 20:17:03 -07:00
Brendan Burns
e759e36b1e Merge pull request #12536 from mesosphere/docker-compose-0.23
Use Mesos 0.23 for both master and slaves
2015-08-14 16:25:08 -07:00
Jerzy Szczepkowski
7296a5bd4a Merge pull request #12708 from Huawei-PaaS/issue_cluster_kubernetes_auth
Replace "~/.kubernetes_auth" with "${KUBECONFIG:-$DEFAULT_KUBECONFIG}" in util.sh
2015-08-14 13:18:53 +02:00
qiaolei
b6d7a1737b Update util.sh
Modify cluster/{vsphere,rackspace,azure,ubuntu}/util.sh, replace "~/.kubernetes_auth" with "${KUBECONFIG:-$DEFAULT_KUBECONFIG}"
2015-08-14 18:47:31 +08:00
Byungjoon Lee
cdc2567787 Fix the problem that the script cannot remove existing installations because sudo keyword is missing. 2015-08-14 12:28:11 +09:00
Andy Zheng
fef1ede240 Add config to run minions on GCE using Ubuntu.
It is for running nodes on Ubuntu image upto 14.04 LTS (Trusty).
The change for running master on Ubuntu will be added later.
The configuration consists of several upstart jobs, which is
passed to node instances through GCE metadata and parsed by cloud-init.
2015-08-13 16:40:09 -07:00
Karl Isenberg
7afa78a2ef [mesos/docker] Enhance kube-up to better support running in a container (for CI)
- Generate CA & API Server SSL key/cert in keygen docker image
  - Refactor SSL generation
  - Generate service account key & user files on local machine
- Enable kube-up to be run in a container (kubernetes-mesos-test)
- Add timeout env vars
- Pull docker images up front to avoid timeouts
- Remove docker image builds from test-setup
- Nuke logs dir before each kube-up
- Make run_in_docker work without KUBECONFIG defined
- Fix temp dir cleanup
- Add auth mount env var
  - Default to $HOME/tmp/kubernetes/auth
  - Outside of repo (which gets docker mounted when using kubernetes-mesos-test)
  - Inside $HOME (which gets vm mounted when using docker-machine or boot2docker)
- Add log dump dir env var
  - Default to $HOME/tmp/kubernetes/logs (for consistancy with auth dir)
- Enable errtrace
- Increase log level to aid CI debugging
2015-08-13 14:38:43 -07:00
Brendan Burns
e8fcee6718 Merge pull request #10876 from jameskyle/develop
Resolves #9773, vmware_fusion can't find component
2015-08-13 14:09:50 -07:00
Brendan Burns
e2773d521d Merge pull request #12490 from olivierlemasle/vagrant-env
In Vagrant, pass environment variables to master
2015-08-13 14:09:30 -07:00
Brendan Burns
db39e5c45d Merge pull request #12667 from preillyme/issues_12666
Remove the "www" and "third-party ui" directories from kubernetes repo
2015-08-13 14:09:11 -07:00
Brendan Burns
beb66a55db Merge pull request #12684 from mbruzek/GoogleCloudPlatform-to-kubernetes-rename
Updated all the references of GoogleCloudPlatform to kubernetes
2015-08-13 14:07:30 -07:00
Maru Newby
4711eff229 Vagrant: Make F21 fixup conditional
The default Fedora 21 image requires some manual networking fixup that
breaks Fedora 22.  This change ensures that the fixup in question is run
only for Fedora 21.
2015-08-13 13:38:54 -07:00
Matt Bruzek
56bd3c756a Updated all the references of GoogleCloudPlatform/kubernetes repo name to the new kubernetes/kubernetes 2015-08-13 15:29:48 -05:00
Brendan Burns
35c22714d1 Merge pull request #7227 from lhuard1A/libvirt-coreos_etcd2
Make the libvirt-coreos cluster use the etcd2 shipped within CoreOS
2015-08-13 11:19:54 -07:00
Patrick Reilly
bf02aaa97d remove other cluster addon references for container build 2015-08-13 10:23:55 -07:00
Mike Danese
f061875840 updating all references in .sh scripts 2015-08-12 14:41:59 -07:00
Byungjoon Lee
5de9094652 Fix the problem that Kubernetes UI is not installed by deployAddons.sh script in Ubuntu environment. 2015-08-12 15:33:07 +09:00
Piotr Szczesniak
5a9b36b703 Merge pull request #12499 from dchen1107/cleanup
Upgrade to Docker 1.7.1 by default
2015-08-12 07:17:34 +02:00
CJ Cullen
9f009df1cb Merge pull request #12541 from dchen1107/fix
Fix kube-push using gcloud compute instance-groups managed set-instance-template
2015-08-11 15:25:40 -07:00
Dawn Chen
1932b48db3 Restore the logic of disable docker upgrade through salt for gce.
Currently it is commented out.
2015-08-11 14:55:58 -07:00
Dawn Chen
3901b225e3 Docker 1.7.1 2015-08-11 14:55:57 -07:00
CJ Cullen
389b9657b2 Merge pull request #12538 from cjcullen/network
Always use the --cluster-version flag for the gke provider.
2015-08-11 11:00:52 -07:00
Dawn Chen
4b99aafc4c Fix kube-push using gcloud compute instance-groups managed set-instance-template` 2015-08-11 10:28:59 -07:00
CJ Cullen
31811de52d Always use the --cluster-version flag for the gke provider. 2015-08-11 09:48:32 -07:00
Dr. Stefan Schimanski
acce49763a Use Mesos 0.23 for both master and slaves 2015-08-11 17:41:10 +02:00
Marek Grabowski
8bec081776 Revert "Fix kube-up for GKE. cluster-version is no more." 2015-08-11 16:29:32 +02:00
gmarek
69f7a71b5d Fix kube-up for GKE. cluster-version is no more. 2015-08-11 11:26:05 +02:00
derekwaynecarr
df0ca1c54c Fix vagrant kube-up 2015-08-11 01:10:34 -04:00
Karl Isenberg
9a415f96c4 [mesos/docker] Dump logs on kube-up error
- Extracted compose_file var to avoid pushd/popd
2015-08-10 14:05:31 -07:00
Alex Robinson
e13b00eddc Merge pull request #12436 from runningwild/PR
Install rkt to a directory that doesn't require environment variables…
2015-08-10 13:30:20 -07:00
Alex Robinson
34f164a470 Merge pull request #12384 from Hokutosei/master
added preemptible flag in gcloud compute instance-templates create
2015-08-10 11:08:11 -07:00
Alex Robinson
a0330fe31a Merge pull request #12371 from a-robinson/logs
Stop collecting monit logs via fluentd
2015-08-10 11:06:21 -07:00
Olivier Lemasle
bdd4d6bb88 In Vagrant, pass environment variables to master
Variables $ENABLE_CLUSTER_MONITORING and $ENABLE_CLUSTER_UI are currently set in cluster/vagrant/config-default.sh but are not passed to the master VM. Therefore, cluster/saltbase/salt/kube-addons/init.sls does not have these variables, and the add-ons cannot be enabled.
2015-08-10 19:29:50 +02:00
Alex Robinson
f80decbf77 Merge pull request #12401 from Huawei-PaaS/issue-azure-install
Modify the salt master's log config file name
2015-08-10 10:28:30 -07:00
Marek Grabowski
5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
4f7d9863f5 Merge pull request #12362 from mbruzek/post-v1-fixes
Post v1 fixes
2015-08-10 14:54:05 +02:00
Lénaïc Huard
35452538f4 Switch to etcd 2 2015-08-10 11:36:48 +02:00
Lénaïc Huard
d2284fee88 Revert "libvirt-coreos cluster: Fix etcd versions incompatibility issue"
This reverts commit 11556dc927.
2015-08-10 10:14:21 +02:00
Marek Grabowski
89e69a010b Merge pull request #12443 from PhilibertDugas/master
Tuned the kube-proxy upstart script
2015-08-10 09:55:47 +02:00
Ed Costello
35a5eda585 Copy edits for typos 2015-08-09 14:18:06 -04:00
Philibert Dugas
02bf08069d Tuned the kube-proxy upstart script to be in line with:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5461

Upstart scripts need to specify explicitely the nofile limit
2015-08-08 23:29:56 -04:00
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
jeanepaul
eaacc1e5c1 refactor coding style 2015-08-09 01:07:12 +09:00
Jonathan Wills
f456e58355 Install rkt to a directory that doesn't require environment variables to find.
Systemd doesn't do variable substitution on the name of the command to run, so we have to install
rkt to a directory with an absolute literal path that we can reference with environment variables.
2015-08-08 11:16:59 -04:00
Satnam Singh
991775e77b Merge pull request #10724 from eparis/convert-underscore-to-dash
Convert underscore to dash
2015-08-07 16:40:05 -07:00
Jian Huang
5606fd5099 Modify the salt master's log config file name
In the salt master's config folder, the file name "log-level-debug.d" change to "log-level-debug.conf" as it's a configure file.
2015-08-08 00:34:29 +08:00
Eric Paris
86ca88be61 convert cluster/ from --flag_name= --flag-name= 2015-08-07 11:00:13 -04:00
hurf
e63d227bdf Use -o template to validate cluster
Instead of using human-oriented output, use -o template to
validate cluster in order to avoid error caused by column change.
2015-08-07 21:18:40 +08:00
Jerzy Szczepkowski
372508cfbb Merge pull request #12117 from davidwalter0/wip
change underscores to dashes to match the command line argument
2015-08-07 12:58:30 +02:00
Hokutosei
a68f0a853f add missing preemptibel var 2015-08-07 10:13:43 +00:00
hokutosei
3bcfdab649 added preemptible flag in gcloud compute instance-templates create 2015-08-07 06:50:28 +00:00
qiaolei
2fd47194bd Initialize global variable MINION_IPS in setClusterInfo function
Initialize global variable MINION_IPS in setClusterInfo function.
MINION_IPS is defined as a global variable, and is concatenated with other nodeIP.
When setClusterInfo is called for many times, this could cause potential problems.
Such as, you will have MINION_IPS=192.168.0.2,192.168.0.3,192.168.0.2,192.168.0.3 which is obviously wrong.

Update util.sh
2015-08-07 11:23:02 +00:00
David Walter
792fc2269b change underscores to dashes to match the command line argument 2015-08-06 22:13:44 -05:00
Alex Robinson
c887ad75b8 Stop collecting monit logs via fluentd. 2015-08-07 00:12:21 +00:00
Dawn Chen
8cd7431b3d Merge pull request #12366 from GoogleCloudPlatform/container-vm-v20150806
Update GCE to container-vm-v20150806
2015-08-06 16:31:52 -07:00
Dawn Chen
2be69e7718 Merge pull request #12325 from brendandburns/supervisord
Add support for supervisord as a monit alternative.
2015-08-06 16:16:35 -07:00
Brendan Burns
15b9d98733 Add support for supervisord as a monit alternative. 2015-08-06 15:48:45 -07:00
Zach Loafman
5ea2bfaa1b Update GCE to container-vm-v20150806
Also changes the node image to default to master image
2015-08-06 15:36:39 -07:00
Dawn Chen
5fff8e935e Merge pull request #12319 from mbforbes/nodesNetworkRedux
Implement 'Nodes Network' test for GKE; add optional verbose SSH.
2015-08-06 15:30:13 -07:00
Dawn Chen
2fa3004500 Merge pull request #12349 from roberthbailey/kubelet-on-master
Register the kubelet on the master node with an apiserver.
2015-08-06 15:20:35 -07:00
Matt Bruzek
b0ee17c41b Found another mention of minion changed to node. 2015-08-06 16:40:55 -05:00
Max Forbes
acef505cfd Implement 'Nodes Network' test for GKE; add optional verbose SSH. 2015-08-06 14:25:53 -07:00
Matt Bruzek
d024013970 Fixing an idempotency problem found in testing. 2015-08-06 15:56:23 -05:00
Robert Bailey
8df33bc1a7 Register the kubelet on the master node with an apiserver. This option is
separated from the apiserver running locally on the master node so that it
can be optionally enabled or disabled as needed.

Also, fix the healthchecking configuration for the master components, which
was previously only working by coincidence:

If a kubelet doesn't register with a master, it never bothers to figure out
what its local address is. In which case it ends up constructing a URL like
http://:8080/healthz for the http probe. This happens to work on the master
because all of the pods are using host networking and explicitly binding to
127.0.0.1. Once the kubelet is registered with the master and it determines
the local node address, it tries to healthcheck on an address where the pod
isn't listening and the kubelet periodically restarts each master component
when the liveness probe fails.
2015-08-06 13:39:32 -07:00
Matt Bruzek
e3579ccb17 Changing "Minion" to "Node" on node registration 2015-08-06 15:29:56 -05:00
Dawn Chen
0d1f2cd227 Merge pull request #12075 from Huawei-PaaS/issue_ubuntu_cluster
Remove legacy files when stop the cluster
2015-08-06 10:54:21 -07:00
Dawn Chen
ed4863f1cf Merge pull request #12264 from Huawei-PaaS/iss_ubuntu_docker_opts
bug fix: DOCKER_OPTS not works when deploying using Ubuntu scripts
2015-08-06 10:18:16 -07:00
Kevin
bc2306d4e9 bug fix: DOCKER_OPTS not works
When deploying the kubernetes using Ubuntu's script, the value of configuration item `DOCKER_OPTS` is not set to `/etc/default/docker`.
This commit is to fix this bug.
2015-08-06 16:50:44 +00:00
Jian Huang
7b5a6e906e Remove kubelet files for a clean teardown
Remove /var/lib/kubelet folder in order to gain a more clean environment
2015-08-06 21:16:13 +08:00
Wojciech Tyczynski
4c42e1302d Merge pull request #12190 from piosz/heapster-version
Bumped Heapster version
2015-08-06 12:00:39 +02:00
Marek Grabowski
77675b052d Merge pull request #12301 from derekwaynecarr/fix_systemd_salt
Fix salt configuration on systemd setups
2015-08-06 11:36:27 +02:00
Mike Danese
fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
Mike Danese
17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Alex Robinson
0945c2cfb8 Bump the heapster pod's memory limit from 200MiB to 300MiB. 2015-08-05 16:16:20 -07:00
Dawn Chen
86630a26f3 Merge pull request #12260 from bjlee72/patch-1
Redundant groupadd
2015-08-05 15:34:52 -07:00
Dawn Chen
f66809daef Merge pull request #11559 from PhilibertDugas/master
Fixed ubuntu upstart scripts for etcd
2015-08-05 15:04:14 -07:00
derekwaynecarr
0de0e3e9f1 Fix salt configuration on systemd setups 2015-08-05 17:01:43 -04:00
Karl Isenberg
f5fa688908 Add docker-compose cluster that runs with mesos 2015-08-05 10:48:28 -07:00
Byungjoon Lee
448da93122 Redundant groupadd
util.sh had redundant groupadd, which cause the following error:

groupadd: Permission denied.
groupadd: cannot lock /etc/group; try again later.
2015-08-05 17:45:17 +09:00
Alex Mohr
f75252a6b1 Merge pull request #12130 from mesosphere/validate-cluster
Auto commit by PR queue bot
2015-08-05 00:46:00 -07:00
Alex Mohr
e4fde6d2ca Merge pull request #9583 from eparis/make-cert-path
generate-cert: allow for alternative paths
2015-08-05 00:04:17 -07:00
Alex Robinson
714b39f025 Merge pull request #12240 from a-robinson/logs
Also collect the monit and salt logs in our fluentd configs
2015-08-04 19:56:14 -07:00
Alex Mohr
cab88c6885 Merge pull request #12215 from runningwild/master
Auto commit by PR queue bot
2015-08-04 19:08:44 -07:00
Alex Robinson
cc02e50fc7 Collect more of the VM's log files (monit, salt) in fluentd-es. 2015-08-05 00:22:38 +00:00
Alex Robinson
7430181d65 Collect more of the VM's log files (monit, salt) in fluentd-gcp. 2015-08-05 00:21:47 +00:00
Eric Paris
0753acf2f8 Allow make-ca-cert.sh to run on OS X
Currently make-ca-cert.sh uses (equiv of)

mktemp -d --tmpdir kube.XXXXX

but --tmpdir is not a valid option on OS X. Switch to

mktemp -d -t kube.XXXXX

Which is valid, but subtly different between OS X and Linux. The
directory you get back will be different on each.

Linux:  ${tmpdir}/kube.y5Bsu/
OS X:   ${tmpdir}/kube.XXXXX.VQ81oOui/
2015-08-04 19:03:01 -04:00
Eric Paris
c69b6f5ba7 Respect KUBECTL_BIN in kube-addon-update.sh not just kube-addons.sh 2015-08-04 19:02:31 -04:00
Eric Paris
6b9ef5b2d8 generate-cert: allow for alternative paths
Instead of hard coding kube-cert and /srv/kubernetes allow these to be
overwritten by environment variables.  / is immutable on some systems
and so /srv is not a possible location to store data.
2015-08-04 19:01:16 -04:00
Alex Mohr
ad4086eab1 Merge pull request #11308 from gmarek/pillar
Auto commit by PR queue bot
2015-08-04 12:42:57 -07:00
Jonathan Wills
2fe560ac07 Fix typos in a runtime-generated yaml file 2015-08-04 14:34:21 -04:00
Dr. Stefan Schimanski
8a48a74103 Factor out validate-cluster.sh call from kube-up.sh
Not every cluster can be validated the same way. Factoring out the
validate-cluster call into a kube-util.sh function allows customization.

This allows to proceed with GoogleCloudPlatform/kubernetes#10049 before
the mid/long-term unified cluster validation in GoogleCloudPlatform/kubernetes#11908
is implemented. Otherwise, the later blocks the former.
2015-08-04 16:05:18 +02:00
Piotr Szczesniak
7fef2a9daf Bumped Heapster version 2015-08-04 09:19:30 +02:00
Alex Mohr
edfcbe7feb Merge pull request #12067 from moander/patch-2
Auto commit by PR queue bot
2015-08-03 20:25:50 -07:00
Alex Mohr
a0daf32a56 Merge pull request #12115 from eddiesimeon/patch-1
Auto commit by PR queue bot
2015-08-03 20:06:44 -07:00
Alex Mohr
0f17038f0a Merge pull request #12103 from piosz/heapster-for-autoscaling
Added exporting autoscaling metrics in Heapster config
2015-08-03 17:53:02 -07:00
Alex Mohr
4c5763f28c Merge pull request #11299 from wojtek-t/increase_kubelet_start_timeout
Auto commit by PR queue bot
2015-08-03 16:14:02 -07:00
Alex Mohr
15532a522e Merge pull request #12163 from runningwild/master
Fix minor typo that broke yaml format
2015-08-03 15:26:08 -07:00
Alex Mohr
84af5f0dd1 Merge pull request #11944 from mamikonyana/flannel_net_config
Propagate FLANNEL_NET to reconfDocker.sh
2015-08-03 15:12:23 -07:00
Alex Mohr
6df4d6703b Merge pull request #10787 from mesosphere/kube-ui-liveness
Add liveness probe to kube-ui
2015-08-03 13:24:07 -07:00
Jonathan Wills
12e47667d8 Fix minor typo that broke yaml format 2015-08-03 16:06:23 -04:00
eddiesimeon
dbffa44ed7 No such file or directory error: make-ca-cert
When executing kube-up on a ubuntu cluster I'm getting the following error:
bash: /root/kube/make-ca-cert: No such file or directory
Removed line as it is invalid and is duplicated by another line.
2015-08-03 14:09:06 -04:00
Brendan Burns
2e68002f31 Merge pull request #11692 from wojtek-t/new_api_instance_groups
Auto commit by PR queue bot
2015-08-03 11:07:36 -07:00
Marek Grabowski
0b3f21715f Merge pull request #12124 from justinsb/install_ntpd
AWS: Install ntp daemon on all nodes
2015-08-03 14:38:28 +02:00
Marek Grabowski
8dd1171037 Merge pull request #12125 from justinsb/s3_use_queried_region
AWS: Query for location of S3 bucket, use that
2015-08-03 14:38:13 +02:00
Wojciech Tyczynski
2d95cd454c Swich to new gcloud API for GCE MIGs 2015-08-03 09:56:25 +02:00
Eddie Simeon
e67f8ae05a For the ubuntu cluster, master and minion services should respawn.
This will allow more successful kube-up.sh executions. Since kube-apiserver doesn't start on the first try after etcd first starts up possibly due to the lack of resources on my server.
2015-08-01 23:04:35 -04:00
Justin Santa Barbara
463458bf5f AWS: Install ntp daemon on all nodes
The AWS API requires a signature on method calls, including the
timestamp to prevent replay attacks.  A time drift of up to 5 minutes
between client and server is tolerated.

However, if the client clock drifts by >5 minutes, the server will start
to reject API calls (with the cryptic "AWS was not able to validate the
provided access credentials").

To prevent this happening, we install ntp on all nodes.

Fix #11371
2015-08-01 14:32:08 -04:00
Justin Santa Barbara
230de787be AWS: Query for location of S3 bucket, use that
Previously we would rely on the s3 bucket's region being configured
correctly, at least for the existence check.  By querying for the bucket
region and then going direct to the correct region, we avoid errors and
we avoid potential eventual consistency problems.

May be related to issue: #12109
2015-08-01 14:09:23 -04:00
Arsen Mamikonyan
2916101a99 Propagate FLANNEL_NET to reconfDocker.sh if it was set using environment variable 2015-07-31 22:24:39 -07:00
Mike Danese
066237e62a Merge pull request #12098 from piosz/heapster-config
Revert "Avoid mounting ssl volumes for heapster container."
2015-07-31 12:39:16 -07:00
Piotr Szczesniak
2bf447caae Added exporting autoscaling metrics in Heapster config 2015-07-31 20:54:58 +02:00
Piotr Szczesniak
f251ba5163 Revert "Avoid mounting ssl volumes for heapster container."
This reverts commit c08ad6b7c1.
2015-07-31 20:20:49 +02:00
Jian Huang
45c37b9bd0 Update README.md
There is a bad link in the doc. change ../../docs/salt.md to ../../docs/admin/salt.md
2015-07-31 18:44:06 +08:00
Jian Huang
bb28684f43 Update util.sh
When we deploy the kubernetes using Ubuntu's script. 
1. First we set the roles "ai i i" and NUM_MINIONS=3, it runs as expected.
2. Then we change the roles to "a i i" and NUM_MINIONS=2, we found it will not run successfully.

It's because there are history files left on the previous deployment. 
This commit will delete the files when stop the cluster.
2015-07-31 17:25:13 +08:00
gmarek
5bb7eec5ab Use salt pillars to pass test arguments during cluster creation. 2015-07-31 09:32:01 +02:00
moander
070ede2716 Resolved #9773 by removing vmrun binary test 2015-07-31 07:15:45 +02:00
Mike Danese
bfaa527139 Merge pull request #12045 from a-robinson/logs
Fix fluentd configs to collect etcd logs on the master
2015-07-30 17:36:46 -07:00
Mike Danese
51a7a38f67 Merge pull request #12020 from wojtek-t/move_to_storage
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Mike Danese
622bf70f57 Merge pull request #11963 from a-robinson/manifest
Make the kubelet on a GCE master check instance metadata for manifests
2015-07-30 16:21:53 -07:00
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