Commit Graph

30969 Commits

Author SHA1 Message Date
k8s-merge-robot
eedc438da9 Merge pull request #28014 from jszczepkowski/kube-down-cleanup
Automatic merge from submit-queue

Cleanup in kube-down: removed deletion of old autoscaler.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Cleanup in kube-down: removed deletion of old autoscaler.
2016-06-24 05:14:39 -07:00
Jerzy Szczepkowski
a745bb17e3 Cleanup in kube-down: removed deletion of old autoscaler.
Cleanup in kube-down: removed deletion of old autoscaler.
2016-06-24 13:32:37 +02:00
k8s-merge-robot
35c9e9f74e Merge pull request #28011 from mwielgus/node-pool-enable
Automatic merge from submit-queue

Use gcloud for default node pool and api for other in cluster autoscaler e2e test

cc: @piosz @jszczepkowski @fgrzadkowski 

Currently there is a problem with gcloud when non-default pool is used for cluster update. So we temporarily switch to the old ca-enable method for non-default pools until it is fixed.
2016-06-24 03:56:37 -07:00
Marcin Wielgus
6e449190ec Use gcloud for default node pool and api for other in cluster autoscaler e2e testx 2016-06-24 11:55:54 +02:00
k8s-merge-robot
c0c2e9d9fd Merge pull request #27999 from quinton-hoole/2016-06-23-add-debug-logging-to-ensure-dns
Automatic merge from submit-queue

federation service controller: fixing the logic to update DNS records

dd78dd8e2b introduced an 'endpointsReachable' boolean argument to ensureDnsRrrsets(), which is incorrect.

The logic prior to the above commit does the right thing, provided that the correct set of healthy endpoints are passed into that function.  

This PR essentially reverts the part of the above commit related to 'endpointsReachable', and adds some debug logging (at --v=4) in case it becomes necessary.

cc: @mfanjie @mml @nikhiljindal @madhusudancs
2016-06-24 01:10:23 -07:00
k8s-merge-robot
bc1c1c1360 Merge pull request #27972 from mml/fed-backend2
Automatic merge from submit-queue

A few changes to federated-service e2e test.

Most of the changes that get the test to pass have been made already or
elsewhere.  Here we restructure a bit fixing a nesting problem, extend the
timeouts, and start creating distinct backend pods that I'll delete in the
non-local test (coming shortly).

Also some extra debugging info in the DNS code.  I made some upstream
changes to skydns in https://github.com/skynetservices/skydns/pull/283

For #27739

Includes a commit from @madhusudancs that I will remove once his merges.
2016-06-23 22:48:08 -07:00
k8s-merge-robot
7552f43c69 Merge pull request #27995 from ncdc/bump-cadvisor
Automatic merge from submit-queue

bump(google/cadvisor): v0.23.6

Fix a bug where cadvisor couldn't gather container filesystem stats on RHEL 7.2 devicemapper.

Fixes #27955 

cc @kubernetes/sig-node @kubernetes/rh-cluster-infra
2016-06-23 22:14:25 -07:00
k8s-merge-robot
a27fd4b01e Merge pull request #27708 from nikhiljindal/dnsHealthCheck
Automatic merge from submit-queue

federation: Updating KubeDNS to try finding a local service first for federation query

Ref https://github.com/kubernetes/kubernetes/issues/26762

Updating KubeDNS to try to find a local service first for federation query.
Without this change, KubeDNS always returns the DNS hostname, even if a local service exists.

Have updated the code to first remove federation name from path if it exists, so that the default search for local service happens. If we dont find a local service, then we try to find the DNS hostname.

Will appreciate a strong review since this is my first change to KubeDNS.
https://github.com/kubernetes/kubernetes/pull/25727 was the original PR that added federation support to KubeDNS.

cc @kubernetes/sig-cluster-federation @quinton-hoole @madhusudancs @bprashanth @mml
2016-06-23 20:30:58 -07:00
k8s-merge-robot
038c120423 Merge pull request #27963 from yujuhong/less_verbal
Automatic merge from submit-queue

e2e_node: lower the log verbosity level

The current level is so high that the logs are almost unreadable.

This fixes #27593
2016-06-23 19:23:37 -07:00
Quinton Hoole
6b435a6415 Fixes #27989 2016-06-23 19:06:22 -07:00
k8s-merge-robot
5ccd1e7cf6 Merge pull request #27990 from adityakali/fluentd
Automatic merge from submit-queue

Use new fluentd-gcp container with journal support

This makes use of the systemd-journal support added in PR #27981
and Fixes #27446.

cc/ @a-robinson @andyzheng0831
2016-06-23 18:48:53 -07:00
k8s-merge-robot
6aa016b2d1 Merge pull request #27981 from a-robinson/journal-cvm
Automatic merge from submit-queue

Support journal logs in fluentd-gcp on GCI

This maintains a single common image for each rather than having to fork out separate images, relying on different commands in yaml manifests to differentiate in the behavior. This is treading on top of @adityakali's #27906, but I wasn't able to get in touch with him this afternoon until very recently. He's handling making sure that the new yaml manifests are used when running on GCI.

```release-note
```
2016-06-23 18:48:49 -07:00
k8s-merge-robot
8ed6c8eeb8 Merge pull request #27914 from yifan-gu/fix_kubenet_hostport
Automatic merge from submit-queue

kubenet: Fix host port for rktnetes.

Because rkt pod runs after plugin.SetUpPod() is called, so
getRunningPods() does not return the newly created pod, which
causes the hostport iptable rules to be missing for this new pod.

cc @dcbw @freehan 

A follow up fix for https://github.com/kubernetes/kubernetes/pull/27878#issuecomment-227898936
2016-06-23 18:48:45 -07:00
Andy Goldstein
d78e6053bb bump(google/cadvisor): v0.23.6
Fix a bug where cadvisor couldn't gather container filesystem stats on RHEL 7.2 devicemapper.
2016-06-23 21:01:52 -04:00
nikhiljindal
7be429307b Updating the Makefile and YAML files to use the updated image 2016-06-23 17:50:13 -07:00
nikhiljindal
61f43c5924 Updating KubeDNS to try a local service first for federation query 2016-06-23 17:50:12 -07:00
k8s-merge-robot
f50c1f70b8 Merge pull request #27985 from maisem/reapply-27840
Automatic merge from submit-queue

Copy and display source location prominently on Kubernetes instances

Reapplying #27840.


Following from #27830, this copies the source onto the instance and
displays the location of it prominently (keeping the download link for
anyone that just wants to curl it).

Example output (this tag doesn't exist yet):

---
Welcome to Kubernetes v1.4.0!

You can find documentation for Kubernetes at:
  http://docs.kubernetes.io/

The source for this release can be found at:
  /usr/local/share/doc/kubernetes/kubernetes-src.tar.gz
Or you can download it at:
  https://storage.googleapis.com/kubernetes-release/release/v1.4.0/kubernetes-src.tar.gz

It is based on the Kubernetes source at:
  https://github.com/kubernetes/kubernetes/tree/v1.4.0

For Kubernetes copyright and licensing information, see:
  /usr/local/share/doc/kubernetes/LICENSES

----
2016-06-23 17:41:29 -07:00
k8s-merge-robot
56bfc5ba19 Merge pull request #27913 from vishh/update-core-node-e2e
Automatic merge from submit-queue

Updating CoreOS image to CoreOS stable 1010.5.0 in Node e2e.

For #27383
2016-06-23 17:41:24 -07:00
k8s-merge-robot
07c46fa194 Merge pull request #27908 from janetkuo/wait-frontend-pods-running
Automatic merge from submit-queue

Wait for frontend pods Running before verifying its service in guestbook e2e test

Fixes #27334


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-23 17:41:20 -07:00
Matt Liggett
e2021ef241 A few changes to federated-service e2e test.
Most of the changes that get the test to pass have been made already or
elsewhere.  Here we restructure a bit fixing a nesting problem, extend
the timeouts, and start creating distinct backend pods that I'll delete
in the non-local test (coming shortly).

Also some extra debugging info in the DNS code.  I made some upstream
changes to skydns in https://github.com/skynetservices/skydns/pull/283
2016-06-23 17:40:54 -07:00
Alex Robinson
19bf9d0624 Support journal logs in fluentd-gcp.
Only run the systemd-journal plugin when on a platform that requests it.
The plugin crashes the fluentd process if the journal isn't present, so
it can't just be run blindly in all configurations.
2016-06-24 00:30:32 +00:00
Aditya Kali
72af2b7c21 Use new fluentd-gcp container with journal support
This makes use of the systemd-journal support added in PR #27981
and Fixes #27446.
2016-06-23 17:08:31 -07:00
Zach Loafman
e7a9881d84 Copy and display source location prominently on Kubernetes instances
Following from #27830, this copies the source onto the instance and
displays the location of it prominently (keeping the download link for
anyone that just wants to curl it).

Example output (this tag doesn't exist yet):

---
Welcome to Kubernetes v1.4.0!

You can find documentation for Kubernetes at:
  http://docs.kubernetes.io/

The source for this release can be found at:
  /usr/local/share/doc/kubernetes/kubernetes-src.tar.gz
Or you can download it at:
  https://storage.googleapis.com/kubernetes-release/release/v1.4.0/kubernetes-src.tar.gz

It is based on the Kubernetes source at:
  https://github.com/kubernetes/kubernetes/tree/v1.4.0

For Kubernetes copyright and licensing information, see:
  /usr/local/share/doc/kubernetes/LICENSES
---
2016-06-23 15:27:38 -07:00
sarahnovotny
e294b23674 Merge pull request #27971 from philips/remove-go-report-card
README: remove go report card
2016-06-23 15:27:01 -07:00
k8s-merge-robot
18ea37a456 Merge pull request #27910 from madhusudancs/fed-create-svc-ns
Automatic merge from submit-queue

 Create the e2e test namespace in each of the individual clusters in the federation.

Fixes #27909 

cc @kubernetes/sig-cluster-federation @matchstick 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-23 14:47:15 -07:00
k8s-merge-robot
38182e91c9 Merge pull request #27960 from madhusudancs/fed-kube-dns-append-region
Automatic merge from submit-queue

Append both the zone and the region to the federation query responses, not just the zone.

This PR is based on @mml's #27896. I will rebase once that PR is merged.


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-23 14:13:31 -07:00
k8s-merge-robot
890ac5fdfe Merge pull request #27791 from colhom/gke-aws-federation
Automatic merge from submit-queue

Federation e2e support for AWS

I've observed e2e test failures on the two local runs I did, but the framework seems to come up successfully. [logs](http://pastebin.com/tsJpKUc4). Ideas on this?

I'm in the process of validating GKE as well, and will modify the title if it succeeds.

\cc @nikhiljindal @quinton-hoole 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-23 13:34:25 -07:00
Brandon Philips
f13c767aab README: remove go report card
This service seems broken, probably because the k8s repo is larger than
the normal project. I have emailed the service author but for the time
being remove the badge.
2016-06-23 13:23:17 -07:00
Yifan Gu
9140ce07bc kubenet: Fix host port for rktnetes.
Because rkt pod runs after plugin.SetUpPod() is called, so
getRunningPods() does not return the newly created pod, which
causes the hostport iptable rules to be missing for this new pod.
2016-06-23 13:17:01 -07:00
k8s-merge-robot
436a109a14 Merge pull request #27950 from mml/fed-nil-subtree
Automatic merge from submit-queue

Verify that the we get a non-nil subtree before consulting it.
2016-06-23 12:54:37 -07:00
Madhusudan.C.S
6add478b26 Create the e2e test namespace in each of the individual clusters in the federation. 2016-06-23 12:44:14 -07:00
Madhusudan.C.S
a827ef0713 Addressed review comments. 2016-06-23 12:33:41 -07:00
k8s-merge-robot
cfc4bc0a83 Merge pull request #27864 from johscheuer/add-docker-macos-support
Automatic merge from submit-queue

Add support for Docker for MacOS

With Docker for MacOS [public beta](https://docs.docker.com/docker-for-mac) you don't need docker-machine on MacOS to build kubernetes instead you can use docker "natively". Per Default Docker for MacOS will be installed to `/Applications/Docker.app/Contents/MacOS/Docker` so if Docker for Mac is installed we should use the native version.

I tested it locally with `15.5.0 Darwin Kernel Version 15.5.0`  and Docker version `1.12.0-rc2`
2016-06-23 12:14:23 -07:00
Madhusudan.C.S
6894e74027 Append both the zone and the region to the federation query responses, not just the zone. 2016-06-23 11:54:32 -07:00
Yu-Ju Hong
a6b91a41fa e2e_node: lower the log verbosity level
The current level is so high that the logs are almost unreadable.
2016-06-23 11:39:18 -07:00
k8s-merge-robot
e70434a19f Merge pull request #27896 from mml/fed-labels-not-annotations
Automatic merge from submit-queue

Look for the failure zone label in labels.
2016-06-23 11:35:07 -07:00
k8s-merge-robot
af680d6a83 Merge pull request #27932 from mkumatag/update_doc
Automatic merge from submit-queue

Need doc updated with export KUBERNETES_PROVIDER=local in local-up-cl…
2016-06-23 10:15:00 -07:00
Matt Liggett
7a40584f66 Verify that the we get a non-nil subtree before consulting it.
Fixes #27919
2016-06-23 09:51:14 -07:00
k8s-merge-robot
3e96f02d75 Merge pull request #27946 from mwielgus/inc-gke-ca-update
Automatic merge from submit-queue

Increase gke update timeout in cluster autoscaler e2e tests

cc: @piosz @fgrzadkowski @jszczepkowski
2016-06-23 09:50:58 -07:00
Matt Liggett
c87b613412 Look for the failure zone label in labels.
Not annotations.  Found this working on #27819.
2016-06-23 09:50:03 -07:00
k8s-merge-robot
d7a8668606 Merge pull request #27399 from jingxu97/pdtimeout
Automatic merge from submit-queue

Increase timeout for testing PD create/delete.


fix #26795 for releasev1.1
2016-06-23 09:27:25 -07:00
Marcin Wielgus
7f3cf57f99 Increase gke update timeout in cluster autoscaler e2e tests 2016-06-23 17:59:03 +02:00
k8s-merge-robot
3a29aa7941 Merge pull request #27496 from hpcloud/hpe/vsphere-scsidriver
Automatic merge from submit-queue

Adding SCSI controller type filter for vSphere disk attach

Hot plug of disks to a SCSI controller of type lsilogic doesn't work as expected. When a device is detached from the controller, it fails to remove the device from the /dev path which makes the subsequent attaches to the node to fail. With scsi controller types lsilogic-sas or paravirtual this seems to work well. This patch filters the existing controller for these types, and if it doesn't find one, it creates a new controller for disk attach.

This PR is dependent on https://github.com/kubernetes/kubernetes/pull/26658 (1st commit) also targeting this for 1.3
2016-06-23 08:09:43 -07:00
Wojciech Tyczynski
1508bb9050 Merge pull request #27941 from gmarek/podReadyTimeout
Increase PodReadyBeforeTimeout
2016-06-23 15:37:55 +02:00
gmarek
0d96eeea63 Increase PodReadyBeforeTimeout by 50% 2016-06-23 14:59:04 +02:00
k8s-merge-robot
4acf6fc646 Merge pull request #27934 from mwielgus/use-gcloud-ca
Automatic merge from submit-queue

Enable cluster autoscaling in e2e tests using gcloud command

cc: @piosz @fgrzadkowski @jszczepkowski
2016-06-23 05:36:00 -07:00
Marcin Wielgus
0000f1859b Enable cluster autoscaling in e2e tests using gcloud command 2016-06-23 13:26:00 +02:00
Manjunath A Kumatagi
ba1d201a4c Need doc updated with export KUBERNETES_PROVIDER=local in local-up-cluster.sh script 2016-06-23 06:59:41 -04:00
k8s-merge-robot
11fdfb50d5 Merge pull request #27924 from kubernetes/revert-27840-add-sources-to-node
Automatic merge from submit-queue

Revert "Copy and display source location prominently on Kubernetes instances"

Reverts kubernetes/kubernetes#27840


This broke cluster upgrade, ref https://github.com/kubernetes/kubernetes/issues/27764#issuecomment-227971330. cc @janetkuo @zmerlynn
2016-06-23 02:38:57 -07:00
k8s-merge-robot
ec6bfc207c Merge pull request #27877 from wojtek-t/mix_waiting_for_upgrade
Automatic merge from submit-queue

Fix waiting for node upgrades

Fix https://github.com/kubernetes/kubernetes/issues/27852

If someone wants to finish it, feel free to pick it up and finish.

@davidopp
2016-06-23 01:49:12 -07:00