Commit Graph

30969 Commits

Author SHA1 Message Date
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
Kris
751af3a838 Bump inotify to pickup fix for memory leak 2016-06-22 18:27:06 -07:00
k8s-merge-robot
0c4a1021a3 Merge pull request #27903 from krousey/e2e_node_mig
Automatic merge from submit-queue

Add a missing $ for bash variable evaluation

This is causing failures that look like:

```console
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:479
Expected error:
    <*exec.ExitError | 0xc820eae2c0>: {
        ProcessState: {
            pid: 2881,
            status: 256,
            rusage: {
                Utime: {Sec: 0, Usec: 256000},
                Stime: {Sec: 0, Usec: 68000},
                Maxrss: 36560,
                Ixrss: 0,
                Idrss: 0,
                Isrss: 0,
                Minflt: 16155,
                Majflt: 0,
                Nswap: 0,
                Inblock: 0,
                Oublock: 16,
                Msgsnd: 0,
                Msgrcv: 0,
                Nsignals: 0,
                Nvcsw: 47,
                Nivcsw: 25,
            },
        },
        Stderr: nil,
    }
    exit status 1
not to have occurred
```

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-serial/1588#k8sio-nodes-disruptive-k8sio-resize-slow-should-be-able-to-add-nodes

One of the many behind #27537

cc @lavalamp
2016-06-22 18:11:59 -07:00
Vishnu kannan
0fc392f40f Updating CoreOS image to CoreOS stable 1010.5.0 in Node e2e.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-22 17:38:29 -07:00
k8s-merge-robot
d36375954e Merge pull request #27733 from caesarxuchao/gc-parametercodec
Automatic merge from submit-queue

let dynamic client handle non-registered ListOptions

And register v1.ListOptions in the policy group.

Fix #27622

@lavalamp @smarterclayton @krousey
2016-06-22 17:36:16 -07:00
k8s-merge-robot
70fc517f79 Merge pull request #27895 from nikhiljindal/pushDNSImage
Automatic merge from submit-queue

Pushing a new KubeDNS image and updating the YAML files

Updating KubeDNS image to include https://github.com/kubernetes/kubernetes/pull/27845

@kubernetes/sig-cluster-federation @girishkalele @mml
2016-06-22 16:56:31 -07:00
Minhan Xia
48169ce736 avoid deleting cbr0 address due to subnet string mismatch 2016-06-22 16:45:04 -07:00
Janet Kuo
7fd9a60617 Wait for frontend pods Running before verifying its service in guestbook e2e test 2016-06-22 16:43:39 -07:00
k8s-merge-robot
c5afca10f4 Merge pull request #27748 from mfanjie/service-controller
Automatic merge from submit-queue

Federation: Improve the handling of service deletion in underlying clusters

fixes #27623 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-22 16:21:16 -07:00
k8s-merge-robot
ae1e194766 Merge pull request #27893 from saad-ali/fixAwsEbsDevicePath
Automatic merge from submit-queue

Fix device path used by volume WaitForAttach

Fixes https://github.com/kubernetes/kubernetes/issues/27872 "AWS: problem mounting dynamic PVs"
2016-06-22 15:48:33 -07:00
Kris
233ea2f1ed Add a missing $ for bash variable evaluation 2016-06-22 15:45:32 -07:00
k8s-merge-robot
179129c908 Merge pull request #27840 from zmerlynn/add-sources-to-node
Automatic merge from submit-queue

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
```

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-22 15:14:50 -07:00
k8s-merge-robot
70e9f77adc Merge pull request #27892 from madhusudancs/fed-cluster-ip-range-shortcut
Automatic merge from submit-queue

Dumbed down version of providing a separate IP range for each cluster in the federation.

cc @kubernetes/sig-cluster-federation @colhom 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-22 15:14:46 -07:00
Johannes Scheuermann
66e595b480 Add support for Docker for MacOS 2016-06-23 00:09:01 +02:00
k8s-merge-robot
be4dd70e11 Merge pull request #27897 from mwielgus/ca-0.2.1
Automatic merge from submit-queue

Bump Cluster Autoscaler to 0.2.1

Workaround for https://github.com/kubernetes/kubernetes/issues/27821. Contains https://github.com/kubernetes/contrib/pull/1252

cc: @piosz @fgrzadkowski @jszczepkowski
2016-06-22 14:38:03 -07:00
Andy Goldstein
98651fca01 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.
2016-06-22 17:04:54 -04:00
k8s-merge-robot
db43b68640 Merge pull request #27891 from mml/fed-nil-node
Automatic merge from submit-queue

Catch the case where we cannot find any nodes.
2016-06-22 13:43:12 -07:00
k8s-merge-robot
a505958f2b Merge pull request #27878 from dcbw/cni-cleanup
Automatic merge from submit-queue

Make kubelet CNI network plugin runtime-agnostic

cni.go has a couple docker-isms in it still, so let's remove those and make the plugin runtime-agnostic.  Also fixes some docker-isms in kubenet that snuck in with the HostPort changes.
2016-06-22 13:43:04 -07:00
Marcin
21661ba1e6 Bump Cluster Autoscaler to 0.2.1 2016-06-22 22:41:36 +02:00
Chao Xu
d9f07925be let dynamic client handle non-registered ListOptions;
register ListOptions for apis/policy
2016-06-22 13:18:50 -07:00
k8s-merge-robot
036ef940b5 Merge pull request #27795 from aveshagarwal/master-node-e2e-stats-summary-issue
Automatic merge from submit-queue

Fixes a node e2e test error

Fixes following node e2e test error:
[k8s.io] Kubelet metrics api when querying /stats/summary [It] it should report resource usage through the stats api

And the logs show following error:
```
Jun 21 15:57:13 localhost journal: tee: /test-empty-dir-mnt: Is a directory
```
And the test fails with:
```
------------------------------
• Failure [310.665 seconds]
[k8s.io] Kubelet
/root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e/framework/framework.go:685
  metrics api
  /root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e_node/kubelet_test.go:161
    when querying /stats/summary
    /root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e_node/kubelet_test.go:160
      it should report resource usage through the stats api [It]
      /root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e_node/kubelet_test.go:159

      Timed out after 300.000s.
      Expected
          <*errors.errorString | 0xc82026b6f0>: {
              s: "expected \"volume used\" to not be zero",
          }
      to be nil

      /root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e_node/kubelet_test.go:158
------------------------------
```

@kubernetes/rh-cluster-infra
2016-06-22 13:08:49 -07:00
nikhiljindal
ff1264bc33 Pushing a new KubeDNS image and updating the YAML files 2016-06-22 13:08:41 -07:00
Daniel Wang
cc8aaf195d e2e-runner: Get rid of the uses of JENKINS_GCI_IMAGE_TYPE
It's now `JENKINS_GCI_IMAGE_FAMILY`.
2016-06-22 13:02:48 -07:00
saadali
dfe8e606c1 Fix device path used by volume WaitForAttach 2016-06-22 12:56:58 -07:00
Madhusudan.C.S
ea9cedab3a Dumbed down version of providing a separate IP range for each cluster in the federation. 2016-06-22 12:48:47 -07:00
Matt Liggett
d6ab379275 Catch the case where we cannot find any nodes.
It's possible to fall through the loops above with node still nil.  This
catches this and reports an error.

Found this working on #27819.
2016-06-22 12:35:48 -07:00
Dan Williams
e47d020cb6 kubelet/kubenet: simplify getting nsenter path 2016-06-22 14:26:11 -05:00
Dan Williams
a657d0587b kubelet/kubenet: Fix getRunningPods() to support rkt pods
Don't assume there's an infra container.
2016-06-22 13:45:13 -05:00
k8s-merge-robot
b7ac841e7f Merge pull request #27810 from hpcloud/lbaas-v2-liberty-fix
Automatic merge from submit-queue

Removing name field from Member for compatibility with OpenStack Liberty

In OpenStack Mitaka, the name field for members was added as an optional field but does not exist in Liberty.  Therefore the current implementation for lbaas v2 will not work in Liberty.
2016-06-22 11:22:48 -07:00
k8s-merge-robot
73b0b31313 Merge pull request #27869 from bryk/dashboard-v1.1.0
Automatic merge from submit-queue

Set Dashboard UI version to v1.1.0

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

This is our final release for this quarter.

Release info and changelog will go there:
https://github.com/kubernetes/dashboard/releases/tag/v1.1.0
2016-06-22 11:22:43 -07:00
CJ Cullen
ae67a4e209 Check HTTP Status code in webhook authorizer/authenticator. 2016-06-22 11:15:33 -07:00
k8s-merge-robot
b9bc756aa9 Merge pull request #27803 from fabioy/fix-multizone-groups
Automatic merge from submit-queue

Fix NODE_INSTANCE_GROUPS resolution in GKE to only

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

Fix NODE_INSTANCE_GROUPS resolution in GKE to only include single cluster groups. 
Add NODE_INSTANCE_GROUPS_URLS for multi-zone groups.

fixes #27692
2016-06-22 10:45:54 -07:00
k8s-merge-robot
5e16101aab Merge pull request #27807 from luxas/revert_proxy_ds
Automatic merge from submit-queue

Revert kube-proxy as a DaemonSet in hyperkube for the v1.3 release

It was a bit sad, but I was a bit too fast with the kube-proxy DaemonSet thing, so we have to target v1.4 for that one. Reverting to a static-pod

This one is for v1.3
@mikedanese @cheld @zreigz
2016-06-22 10:11:03 -07:00
k8s-merge-robot
5289de0501 Merge pull request #27837 from saad-ali/blockKubeletDetachFix
Automatic merge from submit-queue

Prevent detach before node status update

The PR prevents the attach/detach controller from start a detach operation before updating the node status (to remove the volume from the list of attached volumes).

Fixes https://github.com/kubernetes/kubernetes/issues/27836
2016-06-22 10:10:58 -07:00
Dan Williams
db078dbea4 kubelet/cni/kubenet: use common container IP address functions 2016-06-22 11:36:10 -05:00
Dan Williams
9865ac325c kubelet/cni: make cni plugin runtime agnostic
Use the generic runtime method to get the netns path.  Also
move reading the container IP address into cni (based off kubenet)
instead of having it in the Docker manager code.  Both old and new
methods use nsenter and /sbin/ip and should be functionally
equivalent.
2016-06-22 11:36:10 -05:00
bryk
aba33495dd Set Dashboard UI version to v1.1.0
This is our final release for this quarter.

Release info, changelog will go there:
https://github.com/kubernetes/dashboard/releases/tag/v1.1.0
2016-06-22 15:15:41 +02:00
k8s-merge-robot
4e2433cfab Merge pull request #27776 from mikedanese/addon-limit
Automatic merge from submit-queue

increase addon check interval

Do static pods have a crash loop back off? If so, this test would be much faster if we restarted the kubelet to clear that.

Fixes #26770
2016-06-22 05:57:49 -07:00
k8s-merge-robot
cd66fb7a55 Merge pull request #27772 from jsafrane/kubelet-volume-not-found
Automatic merge from submit-queue

Rephrase 'pv not found in cache' warnings.

When kubelet starts a pod that refers to non-existing PV, PVC or Node, it should clearly show that the requested element does not exist.

Previous `PersistentVolumeClaim 'default/ceph-claim-wm' is not in cache` looks like random kubelet hiccup, while `PersistentVolumeClaim 'default/ceph-claim-wm' not found` suggests that the object may not exist at all and it might be an user error.

Fixes #27523
2016-06-22 05:16:02 -07:00
gmarek
6d201c9c57 kube-down deletes instance templates created by the cluster upgrade 2016-06-22 14:09:37 +02:00
saadali
773ac20880 Prevent detach before node status update 2016-06-22 04:45:50 -07:00