Commit Graph

36344 Commits

Author SHA1 Message Date
Jeff Grafton
13a3313957 Bundle kubemark in test tarball instead of server tarball 2016-09-26 11:06:48 -07:00
Phillip Wittrock
ded3db20b8 Fix pod security docs link in release notes 2016-09-26 11:01:48 -07:00
Joe Finney
52cfe25351 Un-xmlWrap the Test function. 2016-09-26 10:59:38 -07:00
Kubernetes Submit Queue
19a2a10354 Merge pull request #33389 from Random-Liu/lifecycle-hook
Automatic merge from submit-queue

CRI: Fix lifecycle hook and add container lifecycle node e2e test

This PR:
1) Adds pod spec missing handling in kuberuntime. (1st commit)
2) Adds container lifecycle hook node e2e test. (2nd commit)

@yujuhong @feiskyer
2016-09-26 10:48:35 -07:00
Phillip Wittrock
2ad256d259 Merge pull request #33441 from quinton-hoole/2016-09-24-update-release-notes-for-federation
Update release notes for Federation features.
2016-09-26 10:45:03 -07:00
Mike Danese
b421bf4315 build kube-discovery and kubeadm with release 2016-09-26 10:20:04 -07:00
Kubernetes Submit Queue
2a74012052 Merge pull request #33487 from deads2k/mesos-01-disconnect
Automatic merge from submit-queue

disconnect contrib/mesos

Partially addresses to https://github.com/kubernetes/kubernetes/issues/33283.

This just disconnects `contrib/mesos` from the rest of the `kubernetes/kubernetes` repo.  This leaves the code in place so that it can be used to prime a new repo once there's a champion and owner.
2016-09-26 10:07:11 -07:00
Hongchao Deng
6f3ac807fd pass SelectionPredicate instead of Filter to storage layer 2016-09-26 09:47:19 -07:00
Kubernetes Submit Queue
234be5a1d0 Merge pull request #32575 from wojtek-t/concurrent_priorities
Automatic merge from submit-queue

Compute priorities in parallel

Ref #24246
2016-09-26 09:31:47 -07:00
Michail Kargakis
0a843a50ba controller: don't retry deployments with overlapping selectors
Returning an error will cause the deployment to be requeued. We should
just emit an event for deployments with overlapping selectors and silently
drop then out of the queue. This should be transitioned to a Condition
once we have them.
2016-09-26 17:59:51 +02:00
Kubernetes Submit Queue
06a23dddbe Merge pull request #33097 from gmarek/static-ip-creation
Automatic merge from submit-queue

Wait until master IP is visible

Hopefully fix #32789 (see: https://github.com/kubernetes/kubernetes/pull/33085#issuecomment-248322464)

It's a pretty far-fetched, but this might fix our GCE cluster startup problems. @mikedanese @fejta @wojtek-t
2016-09-26 08:52:23 -07:00
Timothy St. Clair
009f87719b Fix server initialization for http2 and go 1.7 2016-09-26 10:28:18 -05:00
deads2k
4e2f819695 add tests proving rbac rule matches 2016-09-26 11:27:24 -04:00
deads2k
87ff84a7b0 add system:discovery role 2016-09-26 11:27:24 -04:00
Jordan Liggitt
1812fe70a3
Log test error 2016-09-26 11:21:38 -04:00
Kubernetes Submit Queue
2750c778d4 Merge pull request #33294 from deads2k/rbac-08-compact-init
Automatic merge from submit-queue

start creating controller SA roles.  start with just one

This creates a clusterrole for the replicationcontroller controller.  It also streamlines the rule creation code and I'll use this role as practice for wiring up RBAC rules.

@kubernetes/sig-auth 
@ericchiang Jordan is ooto, mind taking a look?
2016-09-26 08:14:01 -07:00
Timothy St. Clair
d5e3832bc0 Revert "Revert "Follow on for 1.4 to default HTTP2 on by default""
This reverts commit 8cb799c789.
2016-09-26 10:09:26 -05:00
Timothy St. Clair
a8dbab6631 Update etcd godep to 3.0.10 to fix known watch issue. 2016-09-26 10:05:55 -05:00
Kubernetes Submit Queue
69083bcfce Merge pull request #33281 from deads2k/client-12-simplify-adapter
Automatic merge from submit-queue

remove the clientset adapter

This removes the clientset adapter entirely.  There is one focused adapter that remains in a single e2e test.  Every other reference was removed.
2016-09-26 07:35:08 -07:00
Jordan Liggitt
1a43b01d3c
Fix cache expiration check 2016-09-26 10:31:33 -04:00
deads2k
2fbc98196c disconnect contrib/mesos 2016-09-26 10:16:15 -04:00
Jordan Liggitt
6cb0db2651
Allow testing LRUExpireCache with fake clock 2016-09-26 10:16:08 -04:00
Phillip Wittrock
7f63058d7d Merge pull request #33486 from erictune/chlog
Add note about init container status reporting
2016-09-26 07:15:42 -07:00
gmarek
f7d0615e2b Wait until master IP is visible 2016-09-26 15:56:31 +02:00
Kubernetes Submit Queue
5d9ccd1221 Merge pull request #33427 from davidopp/owner
Automatic merge from submit-queue

Make @k82cn assignee for contrib/mesos/OWNERS and remove everyone else

@k82cn is going to be the maintainer for contrib/mesos going forward.

cc/ @eparis
2016-09-26 06:56:15 -07:00
Kubernetes Submit Queue
eed1e02346 Merge pull request #33012 from wojtek-t/informer_in_route_controller
Automatic merge from submit-queue

Use Informer framework in route controller
2016-09-26 06:56:06 -07:00
deads2k
b330b0a220 start creating controller SA roles. start with just one 2016-09-26 09:31:36 -04:00
Eric Tune
2d01050dbc Add note about init container status reporting
Does not work when kubelets at 1.3.x and apiserver is 1.4.x
2016-09-26 06:18:35 -07:00
Kubernetes Submit Queue
4219d9584b Merge pull request #33384 from deads2k/api-14-move-storage-files
Automatic merge from submit-queue

move the REST storage creation to its proper packages

Moves the `RESTStorageProvider` interfaces to their proper packages.
2016-09-26 06:16:43 -07:00
Wojciech Tyczynski
ff765ed43b Compute priorities in parallel 2016-09-26 14:33:20 +02:00
Jan Safranek
a54c9e2887 Refactor volume controller parameters into a structure
persistentvolumecontroller.NewPersistentVolumeController has 11 arguments now,
put them into a structure.

Also, rename NewPersistentVolumeController to NewController, persistentvolume
is already name of the package.

Fixes #30219
2016-09-26 14:15:25 +02:00
Kubernetes Submit Queue
13357bd653 Merge pull request #33367 from jsafrane/rename-controller
Automatic merge from submit-queue

Rename controller*.go to pvcontroller*.go

To make log filtering easier. controller.go is used by several controllers and matching logs for "pvcontroller.*" is much better.

@kubernetes/sig-storage
2016-09-26 04:58:08 -07:00
deads2k
48ac4d549d change e2e scale to avoid adapter 2016-09-26 07:58:01 -04:00
deads2k
c22f076561 remove almost all usages of clientadapter 2016-09-26 07:53:03 -04:00
Jan Safranek
5ff1597cf9 Rename controller*.go to pv_controller*.go
To make log filtering easier. controller.go is used by several controllers and
matching logs for "pv_controller.*" is much better.
2016-09-26 12:26:58 +02:00
Kubernetes Submit Queue
c19e08ebbc Merge pull request #33262 from errordeveloper/kubeadm
Automatic merge from submit-queue

kubeadm

**What this PR does / why we need it**:

This PR add alpha version of `kubeadm` tool, which allows user to boostrap a cluster rather quite easily. This is the initial contribution from @kubernetes/sig-cluster-lifecycle members, who's aim is to build easy-to-use tools that help to operate a cluster throughout its lifetime.

**Which issue this PR fixes**: a leap towards kubernetes/features#11

**Special notes for your reviewer**: previously seen by many folks in #31221

**Release note**:

```release-note
`kubeadm` (alpha) provides an easy way to securely bootstrap Kubernetes on Linux, see http://kubernetes.io/docs/kubeadm/
```
2016-09-26 02:35:47 -07:00
YuPengZTE
d0f69ee0f9 The VS and dot is seprated
Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
2016-09-26 17:05:53 +08:00
Kubernetes Submit Queue
3aa8abd687 Merge pull request #32860 from jszczepkowski/ha-e2e-tests
Automatic merge from submit-queue

Added e2e framweork and a simple test for HA master.

Added e2e framweork for testing HA master. Added one simple e2e test for HA master that first grows and then shrinks GCE cluster.
2016-09-26 01:42:55 -07:00
Luke Marsden
3a4613d3b2 fix https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/33262/kubernetes-pull-verify-all/15586/ 2016-09-26 09:13:09 +01:00
Lucas Käldström
51573860fa Update CHANGELOG and gofmt 2016-09-26 09:13:09 +01:00
Kubernetes Submit Queue
5fe2495588 Merge pull request #33122 from ixdy/upgrade-debugging
Automatic merge from submit-queue

Print a more helpful error message when failing to start rolling-updates

Hopefully this will help us track down where the 1.3 -> 1.4 upgrades are breaking down. We'll need to cherry-pick this into release-1.4 to have any effect, though.
2016-09-26 00:35:05 -07:00
Ke Zhang
d03a73f3f2 Variables should be initialized near where it would be used 2016-09-26 14:31:31 +08:00
Klaus Ma
8f96fded7d Fixed flaky unit test (TestDQ_ordered_add_pop). 2016-09-26 13:32:20 +08:00
Christian Koep
e3f5647b0c
Fix typo in redis example 2016-09-26 07:27:57 +02:00
Kubernetes Submit Queue
66d67ee41d Merge pull request #33178 from k82cn/remove_unused_var
Automatic merge from submit-queue

Removed unused var.
2016-09-25 21:30:59 -07:00
Kubernetes Submit Queue
437b55bfd5 Merge pull request #33417 from yifan-gu/fix_cap_panic
Automatic merge from submit-queue

Fix an 'index out of range' panic when setting capabilities.

cc @yujuhong @feiskyer
2016-09-25 20:12:41 -07:00
Kubernetes Submit Queue
4476561659 Merge pull request #33297 from liggitt/loopback-union-ordering
Automatic merge from submit-queue

Put loopback authn/authz first in chain

We want the loopback token auth to go first in the chain, for performance reasons, and so the loopback token isn't seen by any remote token authenticators configured.

The loopback authorizer should also go first in the chain for performance.
2016-09-25 19:34:22 -07:00
Kubernetes Submit Queue
4785f6f517 Merge pull request #31978 from jsafrane/detach-before-delete
Automatic merge from submit-queue

Do not report error when deleting an attached volume

Persistent volume controller should not send warning events to a PV and mark the PV as failed when the volume is still attached.

This happens when a user quickly deletes a pod and associated PVC - PV is slowly detaching, while the PVC is already deleted and the PV enters Failed phase.

`Deleter.Deleter` can now return `tryAgainError`, which is sent as INFO to the PV to let the user know we did not forget to delete the PV, however the PV stays in Released state. The controller tries again in the next sync (15 seconds by default).

Fixes #31511
2016-09-25 18:55:32 -07:00
Jordan Liggitt
2ac293a0bd
Put loopback authn/authz first in chain 2016-09-25 20:33:25 -04:00
MrHohn
55db76241c Tune down initialDelaySeconds for readinessProbe 2016-09-25 12:48:19 -07:00