Commit Graph

30959 Commits

Author SHA1 Message Date
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
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
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
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
k8s-merge-robot
446cbc5605 Merge pull request #27859 from gmarek/template
Automatic merge from submit-queue

kube-down deletes instance templates created by cluster/gce/upgrade.sh

Fixes #27856

cc @mikedanese @davidopp
2016-06-23 01:49:07 -07:00
Marek Grabowski
56d4586f89 Revert "Copy and display source location prominently on Kubernetes instances" 2016-06-23 10:24:29 +02:00
Wojciech Tyczynski
5094333bc2 Fix waiting for node upgrades 2016-06-23 09:58:08 +02:00
k8s-merge-robot
1f78e7ea68 Merge pull request #27905 from freehan/krestart
Automatic merge from submit-queue

avoid deleting cbr0 address due to subnet string mismatch

fix: #27873
2016-06-22 23:01:49 -07:00
k8s-merge-robot
cb10d7dbf5 Merge pull request #27916 from krousey/bump_inotify
Automatic merge from submit-queue

Bump inotify to pickup fix for memory leak

Just picking up the fix I made in https://go-review.googlesource.com/#/c/24289/

Hopefully this will help #27456 


cc: @kubernetes/sig-node @lavalamp
2016-06-22 22:27:06 -07:00
k8s-merge-robot
d5da5b55c0 Merge pull request #27899 from ncdc/bump-cadvisor
Automatic merge from submit-queue

bump(google/cadvisor): v0.23.5

Fix an issue where cadvisor was unable to report container filesystem stats for LVM-based
devicemapper thin pools.

Fix an issue where cadvisor would not report any stats for a container if it failed to get the
filesystem stats when Docker's storage driver is devicemapper.

@kubernetes/sig-node @kubernetes/rh-cluster-infra
2016-06-22 21:52:21 -07:00
k8s-merge-robot
a826ed0b04 Merge pull request #27743 from wonderfly/gci-preview-test
Automatic merge from submit-queue

e2e-runner: Improve the logic of detecting Docker releases

Apparently it didn't handle GitHub prereleases well. Also switch from
`JENKINS_GCI_IMAGE_TYPE` to `JENKINS_GCI_IMAGE_FAMILY` following up #27083.

@dchen1107 @fejta Can you review?

cc/ @kubernetes/goog-image
2016-06-22 21:17:05 -07:00
k8s-merge-robot
443dab4855 Merge pull request #27894 from wonderfly/image_family
Automatic merge from submit-queue

e2e-runner: Get rid of the uses of JENKINS_GCI_IMAGE_TYPE

It's now `JENKINS_GCI_IMAGE_FAMILY`.

@fejta This is a quick bugfix which should have been done in #27083 . Can you review?

cc/ @kubernetes/goog-image The GCI e2e jobs are failing due to this.
2016-06-22 19:59:08 -07:00
k8s-merge-robot
89bb77d3e8 Merge pull request #27737 from yifan-gu/grace_period
Automatic merge from submit-queue

rkt: Refactor grace termination period.

Add `TimeoutStopSec` service option to support grace termination.

Found we can improve the grace-period-termination by adding a systemd service option.

cc @kubernetes/sig-rktnetes
2016-06-22 19:23:25 -07:00
k8s-merge-robot
1b3d6d7498 Merge pull request #27889 from cjcullen/webhook
Automatic merge from submit-queue

Check HTTP Status code in webhook authorizer/authenticator.

The webhook authorizer and webhook authenticator need to ensure a 2xx status before they use the rest of the response. This was also causing us to cache error responses from the server.

This should help address flakes #27537, #27839, and possibly some others.
2016-06-22 18:48:12 -07:00