Commit Graph

2958 Commits (e9dceb36e99a633f8b393589b7984e731f7b0d5d)

Author SHA1 Message Date
YuviPanda 12a6778766 Update skynd RC template to use GNU style flags 2016-01-21 16:59:02 -08:00
YuviPanda cd23dcee34 Use pflag instead of flag in kube2dns
- Marks flags with _ as deprecated, use the - variants instead
2016-01-21 16:58:25 -08:00
Yifan Gu 5817ca1c71 cluster/gce/coreos: Add scripts for configuring the master/node. 2016-01-21 16:32:15 -08:00
Yifan Gu 1705f4919f cluster/gce/coreos: Update master and node cloud config. 2016-01-21 16:32:15 -08:00
Yifan Gu fe70bf8485 cluster/gce/coreos: Upload templates during kube-up.
Also added create-master-instance() and create-node-instance-template()
2016-01-21 16:32:15 -08:00
Yifan Gu d7f4f6b3e0 cluster/gce/coreos: Add manifests for addons and master components. 2016-01-21 16:32:15 -08:00
Minhan Xia 3da8d80187 fix jinja syntax error 2016-01-21 16:03:49 -08:00
Alex Mohr f788e1e11a Merge pull request #19446 from justinsb/aws_reboot_master_on_failure
AWS: Create a cloudwatch alarm to reboot the master on failure
2016-01-21 15:05:14 -08:00
Zach Loafman 5965252421 Bump to container-vm-v20151215
No new kubelet/docker. Bump kernel to address CVE-2016-0728.
2016-01-21 14:32:20 -08:00
Alex Mohr 8d021f3d88 Merge pull request #19897 from ixdy/test-golang-1.5.3
Update tests from Go 1.5.2 to Go 1.5.3
2016-01-21 12:00:00 -08:00
Alex Mohr 7cd28ec178 Merge pull request #19922 from gmarek/kube-up
Slightly change warning printed when not all nodes are ready in validate-cluster.
2016-01-21 10:56:46 -08:00
Alex Mohr d8be60ee57 Merge pull request #19777 from justinsb/echo_sleep_is_silly
kube-up scripts: don't 'echo sleep'
2016-01-21 10:44:38 -08:00
Alex Mohr 4c8e28b77c Merge pull request #19535 from brendandburns/salt
Check that num_nodes is both defined and not None, not just defined
2016-01-21 10:42:53 -08:00
Alex Mohr 233d292ae5 Merge pull request #19456 from justinsb/salt_fix_tar_filemode
Salt: mode for tar file should be 644, not 755
2016-01-21 10:40:38 -08:00
Jean-Francois Chevrette c5dca43427 remove etcd dependency on sysv init scripts 2016-01-21 13:38:27 -05:00
Alex Mohr 8755f3e8a3 Merge pull request #19407 from justinsb/aws_fix_salt_helium_detection
AWS: don't rely on salt for kube-node-unpacker on AWS
2016-01-21 10:38:08 -08:00
Alex Mohr 20ec685a50 Merge pull request #19271 from mbonaci/patch-1
Fix small dns readme error
2016-01-21 10:36:34 -08:00
Alex Mohr 766ee6cf0b Merge pull request #19819 from ysh7/master
Problem with centos cluster creation script
2016-01-21 10:35:09 -08:00
Alex Mohr 8f0ab67819 Merge pull request #19241 from mesosphere/karlkfi-docker-cluster
Extract keygen image
2016-01-21 10:29:39 -08:00
Alex Mohr eaa61a72b0 Merge pull request #17919 from justinsb/multizone_gce
Ubernetes Lite support for GCE
2016-01-21 10:22:34 -08:00
Jeff Grafton 0d84b49f65 Update tests from Go 1.5.2 to Go 1.5.3 2016-01-21 09:43:52 -08:00
gmarek 9d1e4b153c Slightly change warning printed when not all nodes are ready in validate-cluster. 2016-01-21 15:55:36 +01:00
k8s-merge-robot 36b6d80912 Merge pull request #17213 from luxas/16987-default-serviceaccount-secret-hyperkube
Auto commit by PR queue bot
2016-01-21 04:31:45 -08:00
Justin Santa Barbara 43cbfb74fe Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
We adapt the existing code to work across all zones in a region.

We require a feature-flag to enable Ubernetes-Lite

Reasons:

* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.

There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
k8s-merge-robot 4e04a289d8 Merge pull request #19793 from MikeSpreitzer/issue/19221
Auto commit by PR queue bot
2016-01-20 18:52:56 -08:00
Minhan Xia 33ecc6226e add extension links in registry README 2016-01-20 16:49:53 -08:00
Minhan Xia 263ac066e2 add docs to setup auth for kube-registry 2016-01-20 16:49:45 -08:00
Justin Santa Barbara 2958ea253a GCE: Allow for reuse of master
This is for internal use at the moment, for testing Ubernetes Lite, but
arguably makes the code a little cleaner.

Also rename KUBE_SHARE_MASTER -> KUBE_USE_EXISTING_MASTER
2016-01-20 15:37:00 -05:00
k8s-merge-robot 89dea9f381 Merge pull request #19797 from justinsb/aws_docker_183
Auto commit by PR queue bot
2016-01-19 17:24:35 -08:00
k8s-merge-robot b80ed11cc2 Merge pull request #15998 from cilium-team/updating-vagrant
Auto commit by PR queue bot
2016-01-19 17:13:03 -08:00
Minhan Xia 64d267f251 add docs for enabling tls for kube-registry 2016-01-19 17:02:30 -08:00
Minhan Xia 42ac5d2bd9 add docs about running private registry with gcs 2016-01-19 16:57:39 -08:00
André Martins 0515b4c7c9 Updated Vagrant VMs to Fedora 23
Signed-off-by: André Martins <aanm90@gmail.com>
2016-01-19 16:52:54 +00:00
Yagnesh Mistry c171a96d15 fix error related to flannel network in CentOS 7 cluster creation scripts 2016-01-19 17:17:50 +05:30
Mike Spreitzer bf671f5723 Fix reference to kubernetes release
Replace old repo name with https://github.com/kubernetes/kubernetes.
Update default release to the latest, which is 1.1.4.
2016-01-18 23:54:36 -05:00
Justin Santa Barbara dcd7e813f7 AWS: Update AMIs for Ubuntu Vivid
Update to the latest AMIs for Vivid, as sourced from:
http://cloud-images.ubuntu.com/locator/ec2/
2016-01-18 16:47:06 -05:00
Justin Santa Barbara 9f995df29c AWS: Use Docker 1.8.3 on Ubuntu vivid
This currently requires downloading from the Docker repository, until we
get the packages uploaded to Google Cloud Storage.

Issue #19796
2016-01-18 14:13:55 -05:00
Justin Santa Barbara d2e65a89d0 kube-up scripts: don't 'echo sleep'
'echo sleep 5' just prints 'sleep 5'; replace with 'sleep 5'.
2016-01-17 21:29:01 -05:00
Justin Santa Barbara 65feea4449 AWS: don't rely on salt for kube-node-unpacker on AWS
We've had a lot of salt problems with systemd on AWS; we have a
workaround in place that we use everywhere else, we should use that for
kube-node-unpacker too.

Fixes #19386
Issue #19388
2016-01-17 14:35:07 -05:00
k8s-merge-robot bd8d37f6f2 Merge pull request #19522 from apcera/dev_python3
Auto commit by PR queue bot
2016-01-17 03:21:07 -08:00
Mike Danese 912e54e496 Merge pull request #19749 from bprashanth/color
Remove undefined color_ variables
2016-01-16 10:46:31 -08:00
k8s-merge-robot c678ef3592 Merge pull request #19410 from mesosphere/jdef_run_job_with_timeout
Auto commit by PR queue bot
2016-01-16 05:53:40 -08:00
Prashanth Balasubramanian 7a97163914 Remove undefined color_ variables. 2016-01-15 18:06:32 -08:00
Mike Danese 919c011d96 Merge pull request #19640 from MikeSpreitzer/issue/19484
Make deployAddons.sh ensure KUBE_CONFIG_FILE is defined
2016-01-14 14:09:05 -08:00
James DeFelice bc92fd6a02 add a timeout for job runs in case something gets stuck 2016-01-14 19:29:38 +00:00
Piotr Szczesniak b4b5ead09a Bumped Heapster to v0.18.4 to fix issue with broken watch 2016-01-14 13:02:56 +01:00
Mike Spreitzer d4ab9663c4 Introduce FLANNEL_OTHER_NET_CONFIG
.. so allow configuration of other fields in, usually,
/coreos.com/network/config in etcd.

Fixes #19618
2016-01-14 01:27:13 -05:00
k8s-merge-robot dc36f3a7f4 Merge pull request #19404 from nagarjung/update-get-kube
Auto commit by PR queue bot
2016-01-13 20:25:23 -08:00
Mike Spreitzer f23e4fb37b Make deployAddons.sh ensure KUBE_CONFIG_FILE is defined
Fixes #19484
2016-01-13 23:12:11 -05:00
k8s-merge-robot cf7d2af14a Merge pull request #19086 from mikedanese/fix-build
Auto commit by PR queue bot
2016-01-13 02:12:44 -08:00
Josh Ellithorpe 76e8a8b08d Fix issues with Python3 and bring up a dev cluster 2016-01-12 11:08:42 -08:00
Daniel Smith 3ffcfb928a Merge pull request #18752 from miry/env-in-validate-cluster
AWS: Load cluster env during the validation
2016-01-12 10:39:19 -08:00
Daniel Smith 3b9d67e6c0 Merge pull request #18742 from bprashanth/flannel_release_temp
Don't pull flannel from github
2016-01-12 10:37:52 -08:00
k8s-merge-robot e20a0db159 Merge pull request #19001 from endocode/fix-libvirt-coreos-cluster
Auto commit by PR queue bot
2016-01-12 08:15:00 -08:00
Brendan Burns 9c843495d7 Check that num_nodes is both defined and not None, not just defined 2016-01-12 07:20:35 -08:00
k8s-merge-robot cc7acc0c58 Merge pull request #19061 from fgrzadkowski/release_docker
Auto commit by PR queue bot
2016-01-11 20:56:00 -08:00
k8s-merge-robot d246ed00fa Merge pull request #18894 from luxas/update_master_multi
Auto commit by PR queue bot
2016-01-11 20:38:41 -08:00
Mike Danese 22cfa5ea7e build: move some of hack/lib/ into a new cluster/lib/
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.

Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
Minhan Xia 2a7656c0c0 Merge pull request #19383 from freehan/esloggingfix
Improve ES test resilience
2016-01-11 10:08:50 -08:00
Lucas Käldström 7d497441b3 Update docker-multinode instructions and version. Also run kube-proxy in a pod in the docker-multnode manifest 2016-01-11 16:45:56 +02:00
Nagarjun fc9cac1594 Update get-kube.sh to not re-download the kubernetes archive 2016-01-11 12:03:54 +05:30
k8s-merge-robot da5251ad60 Merge pull request #19170 from ZJU-SEL/fix-validation
Auto commit by PR queue bot
2016-01-10 14:22:57 -08:00
Justin Santa Barbara 5bf346216c Salt: mode for tar file should be 644, not 755
Probably harmless, but it doesn't make sense to have it be executable.
2016-01-10 11:04:56 -05:00
Justin Santa Barbara d91ad0bb6f AWS: Create a cloudwatch alarm to reboot the master on failure
This is an easier alternative to keep a master running than trying to
dynamically find & attach master volumes.

To actually work, it requires that users create the EC2ActionsAccess IAM
role as required by CloudWatch, see e.g.
http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/UsingIAM.html
2016-01-09 14:53:29 -05:00
Julian Strobl 7f4848cf5b update generated docs
Command executed:

 ./hack/update-generated-docs.sh
2016-01-08 10:12:18 +01:00
k8s-merge-robot c156835f8a Merge pull request #19216 from luxas/etcd_cross_platform
Auto commit by PR queue bot
2016-01-07 11:56:13 -08:00
Brendan Burns 9ac13f665d Merge pull request #19320 from justinsb/aws_pass_numnodes
AWS: Pass NUM_NODES in instance-data
2016-01-07 09:59:07 -08:00
k8s-merge-robot b1e4831265 Merge pull request #19148 from andyzheng0831/trusty
Auto commit by PR queue bot
2016-01-06 17:29:48 -08:00
Minhan Xia c3d400f4bb Gather Fluentd logs 2016-01-06 13:46:12 -08:00
Lucas Käldström 10a70a6ffd Added shared volume to the master-multi setup, so serviceAccounts also works for multi-host setups. 2016-01-06 09:50:16 +02:00
Justin Santa Barbara 57265a4c74 AWS: Pass NUM_NODES in instance-data
The bootstrap scripts already assume it is set.
2016-01-05 23:10:43 -05:00
Karl Isenberg 36f216179f Vendor github.com/karlkfi/intemp (bash library) 2016-01-05 18:02:33 -08:00
Karl Isenberg ff0a2871f3 Fix buffer_output to actually handle interrupts 2016-01-05 17:57:04 -08:00
Karl Isenberg acef0404e5 Simplify docker run execution in a way that still handles SIGINT & SIGTERM 2016-01-05 17:55:52 -08:00
k8s-merge-robot 66d3cbf889 Merge pull request #16900 from madhusudancs/avoid-kubelet-oscillation
Auto commit by PR queue bot
2016-01-05 17:14:13 -08:00
Andy Zheng d27e3ae8a1 Run kube-proxy in Trusty in a static pod.
We copy the manifest from salt configurations, and then remove the salt
content in the file and replace the variables with values.
2016-01-05 16:11:58 -08:00
Filip Grzadkowski e7e8c5af84 Push docker images for cluster components during release. 2016-01-05 12:36:10 +01:00
k8s-merge-robot 2fb0aa6e5e Merge pull request #19147 from luxas/experimentl_apiserver
Auto commit by PR queue bot
2016-01-05 02:59:17 -08:00
Lucas Käldström c77d6f7d59 Make the etcd image cross-platform 2016-01-05 10:52:12 +02:00
Karl Isenberg 3d96de594c Use intemp v1.0.2 that doesn't require TMPDIR 2016-01-04 19:17:58 -08:00
Karl Isenberg 1a6509083f Make TMPDIR optional 2016-01-04 19:17:57 -08:00
Karl Isenberg 4ca42f075c Fix buffer_output 2016-01-04 19:17:57 -08:00
Karl Isenberg 54010e5119 Fix typo 2016-01-04 19:17:57 -08:00
Karl Isenberg 1938414706 Extract kubernetes-keygen to its own repo: mesosphere/kubernetes-keygen
- Move keygen image mesosphere/kubernetes-mesos-keygen -> mesosphere/kubernetes-keygen:v1.0.0
- Remove resolveip in favor of github.com/karlkfi/resolveip (resolveip.sh)
- Remove util-temp-dir.sh in favor of github.com/karlkfi/intemp (intemp.sh)
- Refactor bash code to use intemp (extract functions to scripts)
- Remove util-ssl.sh in favor of mesosphere/kubernetes-keygen
2016-01-04 19:17:57 -08:00
Marko Bonaći 5cbd461442 Fix dns readme (kubectl output: REASON -> STATUS) 2016-01-04 23:47:04 +01:00
Madhusudan.C.S 059c2aa799 Mitigate node out of disk status oscillation by delaying it.
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.

Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.

Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
k8s-merge-robot ac7f85046a Merge pull request #19225 from mikefaille/master
Auto commit by PR queue bot
2016-01-03 02:24:39 -08:00
k8s-merge-robot b4189f965e Merge pull request #19136 from gmarek/cleanup
Auto commit by PR queue bot
2016-01-02 08:02:30 -08:00
Michael Faille a2c7ea9ac1 FIX : replace publicIP (decapricated) for clusterIP
It fix this bug :
https://stackoverflow.com/questions/34255601/kube-addons-service-failed-on-coreos-libvirt-installation

Some documentation that explain why clusterIP is better :
https://github.com/kubernetes/kubernetes/blob/master/docs/api.md
2016-01-02 00:05:57 -05:00
Justin Santa Barbara f9a6ac077e Ubernetes Lite: Volumes can dictate zone scheduling
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.

So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels.  This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.

Support for tagging GCE PVs will follow.

Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
Lucas Käldström 324890e267 Update a deprecated flag in hyperkube manifest 2015-12-30 23:01:02 +02:00
Filip Grzadkowski 7226b9ca0c Remove --cluster-name flag from hyperkube configuration. 2015-12-29 16:47:36 +01:00
He Simei abe7fc0e91 update validate-cluster.sh 2015-12-29 19:51:00 +08:00
Marek Grabowski 9a1d16f47d Merge pull request #19165 from fgrzadkowski/release_docker_hyperkube
Refactor hyperkube Makefile to avoid changing local files
2015-12-29 12:07:44 +01:00
Filip Grzadkowski 215b4cc41f Refactor hyperkube Makefile to avoid changing local files 2015-12-29 10:38:20 +01:00
Vishnu kannan 72abc47930 Disable serializing image pulls for e2e tests.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-12-28 10:27:13 -08:00
gmarek d776a331de Pipe things written in salt pillars which was missing it through sed 2015-12-28 12:23:59 +01:00
gmarek fc6247152b Split levels of verbosity of test logging on components. 2015-12-28 11:41:09 +01:00
Filip Grzadkowski 1c5166281f Update comment in get-kube-local.sh 2015-12-23 15:49:14 +01:00
Thomas Fricke efce499bb9 add README.md 2015-12-22 10:36:25 +01:00