Commit Graph

36208 Commits (d94e1f82cfe2312d3e26841c10e5c9498901c557)

Author SHA1 Message Date
Phillip Wittrock d94e1f82cf Merge pull request #33499 from pwittrock/release-notes
Fix pod security docs link in release notes
2016-09-26 11:54:04 -07:00
Phillip Wittrock 0e22d072a3 Update CHANGELOG.md for v1.4.0. 2016-09-26 11:48:00 -07:00
Phillip Wittrock ded3db20b8 Fix pod security docs link in release notes 2016-09-26 11:01:48 -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
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
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
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
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
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
deads2k 2fbc98196c disconnect contrib/mesos 2016-09-26 10:16:15 -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
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
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
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
Lucas Käldström b17e107def Various improvements plus added a version command 2016-09-25 22:38:39 +03:00
Kubernetes Submit Queue b79c99da1b Merge pull request #32406 from MrHohn/kubedns-healthz
Automatic merge from submit-queue

Split dns healthcheck into two different urls

Attempt to fix #30633.

<s>This new kube-dns pod template creates two exechealthz processes listen on two different ports for kubedns and dnsmasq correspondingly. 

@thockin @girishkalele
2016-09-25 12:21:34 -07:00
Kubernetes Submit Queue 1654fd4041 Merge pull request #33105 from k82cn/k8s_33091
Automatic merge from submit-queue

Fixed e2e_node build error on Mac.

fixes #33091 

cc @vishh , any suggestion to avoid duplicated codes?
2016-09-24 22:02:13 -07:00
Kubernetes Submit Queue 13126e51dd Merge pull request #32620 from Random-Liu/refactor-e2e-services
Automatic merge from submit-queue

Node E2E: Cleanup e2e services

fixes #31765.

This PR is composed of 2 commits:
* The 1st commit split services.go into: `services.go`, `server.go` and `internal_services.go`:
  * `services.go` contains the public object `E2EServices` which is used by the test framework directly.
  * `internal_services.go` contains the internal object `e2eServices` which manages internal (statically-linked) services - apiserver, etcd and namespace_controller.
  * `server.go` is the object managing exec process, both internal_services and kubelet are running as separate processes and managed with server.go.
* The 2nd commit added `monitorParent` option in start function of `E2EServices`. This is added to fix #31765:
  * If `--stop-services=true`, `monitorParent` will be true, so that service processes will die with the parent process so as to enforce proper clean up.
  * If `--stop-services=false`, `monitorParent` will be false, so that service processes will not die with the parent process and keep running for debugging.

This PR also moved the kubelet start logic into `E2EServices` (start kubelet in the test process), so that we can use flags directly when starting kubelet. Before we had to pass them to the services process and let it start kubelet, which was quite troublesome.

@vishh 
/cc @kubernetes/sig-node
2016-09-24 21:10:53 -07:00
Klaus Ma 849400abf9 Fix build error on Mac. 2016-09-25 11:15:42 +08:00
Kubernetes Submit Queue f07e18f816 Merge pull request #33426 from ZTE-PaaS/zhangke-patch-052
Automatic merge from submit-queue

Fix TODO: Rename podStatus to apiPodStatus, rename internalPodStatus to podStatus
2016-09-24 19:52:35 -07:00
Random-Liu f501acebab Add the monitorParent option when starting services, and set
monitorParent to false when stop-services=false.
2016-09-24 19:45:19 -07:00
Random-Liu 0d3befd7ea Split services.go into services.go, internal_services.go and server.go. 2016-09-24 19:45:19 -07:00
Quinton Hoole d9733b530c Update release notes for Federation features. 2016-09-24 18:57:43 -07:00
Kubernetes Submit Queue 5b3860ce0b Merge pull request #33364 from k82cn/k8s_25349
Automatic merge from submit-queue

Fix k8sm flaky UT.

fixes #25349
2016-09-24 14:21:16 -07:00
Ilya Dmitrichenko a023085a5f
Address comments in review 2016-09-24 17:28:34 +01:00
Ilya Dmitrichenko d0e29789b0
Fix sorting of linted packages and gofmt 2016-09-24 14:46:43 +01:00
Lucas Käldström 37dab80173
Make the Kubernetes control plane version configurable 2016-09-24 14:46:42 +01:00
Atanas Mirchev 5862ea6f38
Fix boostrap token encoding bug during master init
Currently the boostrap fails when a token is provided by the user
on `master init` and works when the token is generated. This is
because of a mismatch of how the token string in the kube-discovery
secret is encoded.
2016-09-24 14:46:42 +01:00
Evgeny L 0a68bb05ea
Rename flag `--schedule-workload` to `--schedule-pods-here` for kubeadm init 2016-09-24 14:46:41 +01:00
Evgeny L 987da0186b
Add kubeadm flags to known-flags.txt 2016-09-24 14:46:41 +01:00
Atanas Mirchev ab3b2d579f
Fix package / struct naming after core refactoring. 2016-09-24 14:46:41 +01:00