Commit Graph

36618 Commits

Author SHA1 Message Date
Kubernetes Submit Queue
da79e44b2e Merge pull request #33280 from bprashanth/glbc_version_bump
Automatic merge from submit-queue

Bump glbc version to 0.8.0

Picks up k8s.io godeps for v1.4 thereby fixing an int overflow bug in the upstream delayed-workqueue pkg. Without this the controller spams logs with retries in the "soft error" case, which is easy to come by when users eg: create ingresses that point to non-exist services. 

Should go into 1.4.1, because 1.4.0 is pretty much out at this point. 
https://github.com/kubernetes/kubernetes/issues/33279
2016-10-01 02:01:49 -07:00
Kubernetes Submit Queue
6f69293240 Merge pull request #32599 from mikedanese/kubectl-selector
Automatic merge from submit-queue

allow kubectl -f to filter by selector

cc @kubernetes/kubectl

Fixes #32544
2016-10-01 01:13:09 -07:00
Kubernetes Submit Queue
5a9acd9113 Merge pull request #33681 from zachaller/master
Automatic merge from submit-queue

fix kubeadm on AWS so that kube-controller has access to certs for am…

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**: This fixes an issue with kubeadm not mounting ssl certs for kube-controller

**Which issue this PR fixes** : fixes #33680

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
Fixes Kubeadm so kube-controller has certs for using amazon api
```
2016-09-30 23:24:56 -07:00
Kubernetes Submit Queue
5f216ca394 Merge pull request #33587 from bprashanth/esipp-nodeport-2
Automatic merge from submit-queue

OnlyLocal nodeports

90% unittests.
Code changes: 
* Jump to XLB from nodePorts for OnlyLocal nodeports
* Jump to services chain from XLB for clusterCIDR (partially fixes https://github.com/kubernetes/kubernetes/issues/33081)

NodePorts still don't get firewalls: https://github.com/kubernetes/kubernetes/issues/33586
2016-09-30 22:26:49 -07:00
Evgeny L
12f8c979ba kubeadm: user-friendly certificates formatting 2016-10-01 04:57:30 +00:00
Kubernetes Submit Queue
56be1976fc Merge pull request #33847 from deads2k/test-annoyance
Automatic merge from submit-queue

add optional env var for allowing version skew in test cmd

If you only make a change to a server component and then re-run `test-cmd` you get a skew error.  This is really annoying.  I've left the default as it was (force version match), but now also allow `ALLOW_SKEW=true hack/test-cmd.sh` to skip the check.

@eparis worth a quick bash check, but I think I got it.
2016-09-30 19:55:07 -07:00
Kubernetes Submit Queue
518582b03a Merge pull request #33835 from php-coder/fix_typos
Automatic merge from submit-queue

docs/proposals/volume-provisioning.md: fix typos

Fixes a couple of typos that I found during reading.
2016-09-30 19:15:07 -07:00
Madhusudan.C.S
18bcfd0585 Deregister clusters during federated namespace e2e tear down.
This is causing other tests to leak resources.
2016-09-30 16:31:13 -07:00
Matthew Wong
014239f06b Run hack/update-codegen.sh in release-1.4 2016-09-30 18:21:55 -04:00
Madhusudan.C.S
84dc0a3e09 Address review comment. 2016-09-30 15:13:02 -07:00
Kubernetes Submit Queue
20e764ab5d Merge pull request #33848 from mtaufen/fix-configure-helper
Automatic merge from submit-queue

Correct env var name in configure-helper
2016-09-30 14:54:13 -07:00
Kubernetes Submit Queue
b840a837c5 Merge pull request #33860 from luxas/remove_flannel_image
Automatic merge from submit-queue

Remove flannel because now everything here is upstreamed

Multiarch is now a thing for official flannel 👍 

@tomdee @mikedanese @errordeveloper
2016-09-30 14:17:22 -07:00
Steve Leon
a9123de9b4 Moving validateNodeIP to kubelet_node_status.go 2016-09-30 14:07:13 -07:00
Lucas Käldström
a10a2d9f67 Remove flannel because now everything here is upstreamed; multiarch is a thing for official flannel now 2016-09-30 23:13:04 +03:00
Madhusudan.C.S
ade055f3b5 Explicitly return nil for underlying cluster's service in Federated Service e2e cleanup function. 2016-09-30 12:56:30 -07:00
Kubernetes Submit Queue
2628af06f8 Merge pull request #33803 from ixdy/go1.7-darwin-client-binaries
Automatic merge from submit-queue

Use patched golang1.7.1 for cross-builds targeting darwin

This PR extends #32517 to use the patched go1.7.1 introduced by that PR to build all darwin targets (e.g. kubectl).

This is necessary because binaries built with earlier versions of Go regularly segfault on macOS Sierra (see #32999 and #33070).

This solution is somewhat hacky, but we intend to cherry-pick this to 1.4, and switching all of 1.4 to build with go1.7.1 is very high risk.

I haven't yet pushed the cross build image yet, so this will fail to build. Will test locally and update with results.

First step of fixing #33801.

cc @luxas @pwittrock @david-mcmahon @liggitt @smarterclayton @jfrazelle @Starefossen @gerred
2016-09-30 12:29:18 -07:00
Michael Taufen
edcf97db1d Change --bind to -B for consistency 2016-09-30 10:59:47 -07:00
Michael Taufen
73b64e6da5 Correct env var name in configure-helper
The variable should be KUBEPROXY_TEST_ARGS, not KUBE_PROXY_TEST_ARGS.
2016-09-30 10:56:08 -07:00
Kubernetes Submit Queue
918e99e298 Merge pull request #33815 from Random-Liu/add-cri-fake-attach
Automatic merge from submit-queue

CRI: Add fake attach support in CRI.

For #31459.

I've tested in my cluster, it works.

@feiskyer @yujuhong
2016-09-30 10:46:17 -07:00
deads2k
b577498c66 add optional env var for allowing version skew in test cmd 2016-09-30 13:37:25 -04:00
Kubernetes Submit Queue
b20765f5a3 Merge pull request #32096 from brendandburns/obligations
Automatic merge from submit-queue

Add community expectations about conduct and reviewing.

@sarahnovotny @smarterclayton @philips @thockin @davidopp @jbeda 

As discussed in the previous community meeting here's a description of the expectations around community, I expanded it a little bit beyond code review because it seemed like a good place to put it
down in one location.

Please let me know what I got wrong (or right ;)

Thanks
--brendan
2016-09-30 09:23:57 -07:00
Dr. Stefan Schimanski
e6acc08d96 Return error for empty sysctl names 2016-09-30 17:56:37 +02:00
Dr. Stefan Schimanski
e258d0bc4b Add psp sysctl provider tests 2016-09-30 17:56:11 +02:00
Dr. Stefan Schimanski
4cc1e63856 Complete sysctl PSP tests 2016-09-30 17:56:11 +02:00
Dr. Stefan Schimanski
a62a64550c Cosmetical fixes for sysctl psp 2016-09-30 17:56:11 +02:00
Brendan Burns
09e4276448 Add community expectations about conduct and reviewing. 2016-09-30 15:35:15 +00:00
Kubernetes Submit Queue
5e231d1312 Merge pull request #33720 from feiskyer/hyper
Automatic merge from submit-queue

Proposal: Add HyperContainer runtime

This PR adds a proposal for integrating [HyperContainer](http://hypercontainer.io) runtime via CRI.

CC @dchen1107 @kubernetes/sig-node
2016-09-30 08:16:49 -07:00
deads2k
57039cfdfa make well-known users and groups into constants 2016-09-30 10:34:33 -04:00
deads2k
4c8959df59 pass loopback config to posthooks 2016-09-30 10:34:33 -04:00
Kubernetes Submit Queue
a698d490b9 Merge pull request #33832 from wojtek-t/better_kubemark_debugging
Automatic merge from submit-queue

Extend logging for kubemark failures debugging

Ref https://github.com/kubernetes/kubernetes/issues/33723
2016-09-30 06:55:12 -07:00
Slava Semushin
78f63ebafe docs/proposals/volume-provisioning.md: fix typos. 2016-09-30 15:43:30 +02:00
Kubernetes Submit Queue
91faaa802d Merge pull request #33769 from mwielgus/copy-test
Automatic merge from submit-queue

Copy objects in federation test helper

Push clean copies of passed objects in test helper in federation controllers tests.

Fixes: #33667

cc: @gmarek @quinton-hoole @kubernetes/sig-cluster-federation
2016-09-30 06:13:23 -07:00
Kubernetes Submit Queue
f9dd76564c Merge pull request #33686 from ymqytw/format_json_printer_for_runtime.Unknown
Automatic merge from submit-queue

formatting json printer for runtime.Unknown

Formatting JSONPrinter.
It prints everything in one single line before.
Now it prints in well-formatted way.
2016-09-30 06:13:17 -07:00
Jerzy Szczepkowski
b8cbac6753 HA master: add firewall rule for etcd cluster.
HA master: add firewall rule for accessing & securing etcd cluster.
2016-09-30 14:37:08 +02:00
Wojciech Tyczynski
3215e8535a Extend logging for kubemark failures debugging 2016-09-30 14:29:29 +02:00
Kubernetes Submit Queue
1ebf6e1acf Merge pull request #33829 from gmarek/stop
Automatic merge from submit-queue

Add a script to "stop" GKE cluster creation

Fix #33749
2016-09-30 05:25:29 -07:00
gmarek
0f25d5526f Add a script to "stop" GKE cluster creation 2016-09-30 13:42:48 +02:00
Marcin Wielgus
426857a9f5 Copy objects in federation test helper 2016-09-30 13:41:19 +02:00
Jonathan Boulle
cc7f3906c7 CRI: various spelling and typo fixes
Also clarify whether some properties belong to containers or sandboxes.
2016-09-30 12:09:21 +02:00
Kubernetes Submit Queue
448ceb3881 Merge pull request #32862 from wojtek-t/scheduler_map_reduce_4
Automatic merge from submit-queue

Support metadata producer with underlying data.

Ref #24246
2016-09-30 01:30:54 -07:00
yarntime
f65d47659e add test cases to test the default value of HPA 2016-09-30 16:21:48 +08:00
Kevin
b8b92a1116 fix kubectl taint e2e flake: add retries for removing taint 2016-09-30 16:14:24 +08:00
Kubernetes Submit Queue
e05d568b40 Merge pull request #33810 from feiskyer/portforward
Automatic merge from submit-queue

Fake docker portfoward for in-process docker CRI integration

This is necessary to pass e2e tests for in-process docker CRI integration.

This is part of #31459.

cc/ @Random-Liu @kubernetes/sig-node
2016-09-30 00:52:34 -07:00
Mike Danese
6339d915a7 add a test to test-cmd.sh for apply -f with label selector 2016-09-30 00:42:35 -07:00
Mike Danese
5f2569c16d allow kubectl -f to filter by selector 2016-09-30 00:42:35 -07:00
Kubernetes Submit Queue
b71def750f Merge pull request #33774 from MrHohn/kubedns-graceful
Automatic merge from submit-queue

Bump up addon kube-dns to v20 for graceful termination

Below images are built and pushed:
- gcr.io/google_containers/kubedns-amd64:1.8
- gcr.io/google_containers/kubedns-arm:1.8
- gcr.io/google_containers/kubedns-arm64:1.8
- gcr.io/google_containers/kubedns-ppc64le:1.8

Both kubedns and dnsmasq are bumped up in the manifest files.

@thockin @bprashanth
2016-09-30 00:15:13 -07:00
Kubernetes Submit Queue
f595eede2d Merge pull request #33802 from euank/the-number-of-the-spaces-shall-be-2
Automatic merge from submit-queue

cluster/gci: Minor spacing tweak

Two shall be the number thou shalt indent, and the level of the indent
shall be two. Three shalt thou not indent, neither indent thou once,
excepting that thou then proceed to two. Five is right out.

/cc @andyzheng0831 @jlowdermilk
2016-09-29 23:37:23 -07:00
Kubernetes Submit Queue
a2cd107e14 Merge pull request #32373 from nebril/petset-count-test-master
Automatic merge from submit-queue

PetSet replica count status test

**What this PR does / why we need it**: It adds a test for PetSet status replica count. It should fail now, but will pass when https://github.com/kubernetes/kubernetes/pull/32117 is merged.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #31965

**Special notes for your reviewer**: It will need to be rebased after #32117 is merged in, don't need detailed review before that.

**Release note**:
```release-note
NONE
```

Added fakeKubeClient and other fake types needed to test what is sent to
API when replica count is updated. These fakes can be extended for
other tests.
2016-09-29 23:37:18 -07:00
Kubernetes Submit Queue
a180864173 Merge pull request #33709 from yifan-gu/add_dns_opt
Automatic merge from submit-queue

CRI: Add dns option, rename DNSOption to DNSConfig.

Today, the DNS opt string is hardcoded in multiple places [[1]](https://github.com/kubernetes/kubernetes/blob/v1.5.0-alpha.0/pkg/kubelet/rkt/rkt.go#L117) [[2]](https://github.com/kubernetes/kubernetes/blob/v1.5.0-alpha.0/pkg/kubelet/dockertools/docker_manager.go#L88), we'd probably move the default to kubelet, and pass down to runtimes.

/cc @kubernetes/sig-node @kubernetes/sig-rktnetes @feiskyer @thockin
2016-09-29 22:59:27 -07:00
Kubernetes Submit Queue
186a4a06c6 Merge pull request #33778 from timstclair/summary-arm
Automatic merge from submit-queue

Fix summary_test.go ARM build

Fixes https://github.com/kubernetes/kubernetes/issues/33761

/cc @ixdy @luxas
2016-09-29 22:22:03 -07:00