Commit Graph

34894 Commits (2cc5923ed6d39ea541a32574d522f79aa30dd016)

Author SHA1 Message Date
Kubernetes Submit Queue d3270bce71 Merge pull request #31566 from ronnielai/container-gc
Automatic merge from submit-queue

Avoid disk eviction node e2e test using up all the disk space
2016-09-01 14:19:25 -07:00
derekwaynecarr 698e151229 Namespace controller deletes pods last 2016-09-01 17:04:54 -04:00
Kubernetes Submit Queue ff3ca3d616 Merge pull request #31830 from Amey-D/gci-kubelet
Automatic merge from submit-queue

Pick a specific GCI version by default on GCE.

Prior to this change, a K8s branch (master as well as release) was
pinned to a GCI milestone.  It would pick up the latest GCI release on
that milestone at the time of cluster creation.  The rationale was the
K8s users would automatically get the bug fixes in newer versions of
GCI.  However in practice, it makes the runtime environment
non-deterministic, and lack of continuous e2e tests mean we would run
into breakages sooner or later.

With this change, each K8s release will pick a specific version
of GCI by default (similar to how the Debian-based container-vm gets used).
Users can override the default version through KUBE_GCE_MASTER_IMAGE and
KUBE_GCE_NODE_IMAGE environment variables.

We expect the default GCI version will be updated relatively frequently stay
updated with newer GCI releases.  We can also automate the process to
automatically bump the hard-coded GCI version in future.


@vishh @adityakali can you please review?

cc @kubernetes/goog-image FYI
2016-09-01 13:41:05 -07:00
derekwaynecarr f42ee94554 Ignore v1 bindings in namespace controller deletion 2016-09-01 16:10:51 -04:00
Mike Danese a615c426a5 Revert "daemonset controller should respect taints" 2016-09-01 12:54:16 -07:00
Kubernetes Submit Queue e81b3fd340 Merge pull request #31900 from mikedanese/broken-link
Automatic merge from submit-queue

fix broken link to sytlye guide in docs/devel

shell with style!
2016-09-01 12:49:38 -07:00
Kubernetes Submit Queue 87b0182c1a Merge pull request #31899 from dchen1107/master
Automatic merge from submit-queue

Increase docker's resource limit

Fixed #28384 and #28220

cc/ @Random-Liu
2016-09-01 12:49:32 -07:00
Kubernetes Submit Queue f673bc8840 Merge pull request #31311 from girishkalele/nodename_validation
Automatic merge from submit-queue

Enforce EndpointAddress.NodeName validation

Fixes https://github.com/kubernetes/kubernetes/issues/30646 - disallows user setting upon create or modifying during update.
2016-09-01 12:09:12 -07:00
Jordan Liggitt a869de61bd
Namespace certificates API group 2016-09-01 14:39:06 -04:00
Kubernetes Submit Queue 447750f1d3 Merge pull request #31853 from thockin/faster-tests
Automatic merge from submit-queue

Make unit test runs MUCH faster

Running tests rebuilds almost everything.  Most unit tests do not need to be
rebuilt.  This installs test artifacts and makes subsequent test runs as much
as 6x faster.  I saw pkg/apiserver tests drop from 30+ seconds to 5 seconds.
2016-09-01 11:30:21 -07:00
Kubernetes Submit Queue 17ee588c3e Merge pull request #31510 from mksalawa/kubectltop
Automatic merge from submit-queue

Print a message if metrics are not yet available.

**What this PR does / why we need it**:
It takes about 80s to gather first metrics for the newly created pod. We would like to indicate this to the user, so that they don't mistake it for the command failure.

In case no metrics are found, we check whether there should be any, and if yes, print the appropriate message to the user.

**Which issue this PR fixes**
#30826 

```release-note
NONE
```
2016-09-01 11:30:16 -07:00
Mike Danese 34d248d5ed fix broken link in docs 2016-09-01 11:24:46 -07:00
Dawn Chen 96f091b4d7 Increase docker's resource limit 2016-09-01 11:03:32 -07:00
Jess Frazelle 7ca6673e01
fixes upgrade tests for kubectl skew from 1.3 to master
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-01 10:51:45 -07:00
Kubernetes Submit Queue 401899b33b Merge pull request #31893 from mwielgus/ca-0.3-b5
Automatic merge from submit-queue

Bump cluster autoscaler to 0.3.0-beta5

contains: https://github.com/kubernetes/contrib/pull/1670

cc: @piosz @fgrzadkowski
2016-09-01 10:49:56 -07:00
Kubernetes Submit Queue c98a1e2416 Merge pull request #31333 from xingzhou/kube-25287
Automatic merge from submit-queue

Fixed incomplete kubectl bash completion.

Added bash completion for several kubectl commands.

Fixes #25287
2016-09-01 10:49:51 -07:00
Kubernetes Submit Queue dc8f384e3f Merge pull request #31627 from deads2k/quota-copy
Automatic merge from submit-queue

make deep copy of quota objects before mutations

The code currently makes shallow copies which ensures that we aren't accidentally reslicing anything in weird ways, but the usage maps are pointers, so they end up being shared.

This makes a couple copies when we know we're going to mutate to avoid changing shared maps.
2016-09-01 10:09:01 -07:00
vefimova cc64faf209 Added printing of clarification for `object creation` request in case of object is in the process of graceful deletion 2016-09-01 16:39:48 +00:00
Marcin Wielgus 89f901d79a Bump cluster autoscaler to 0.3.0-beta5 2016-09-01 18:33:30 +02:00
Kubernetes Submit Queue a910a597fa Merge pull request #31872 from wojtek-t/store_startupscript_from_gke
Automatic merge from submit-queue

Store startupscript from GKE clusters too

Ref https://github.com/kubernetes/kubernetes/issues/31215

@kubernetes/goog-gke  Is there any reason why we don't want to do it?

@kubernetes/test-infra-maintainers
2016-09-01 08:33:24 -07:00
Kubernetes Submit Queue 9299f93bc6 Merge pull request #31883 from gmarek/gobindata
Automatic merge from submit-queue

Create a file from data stored in gobindata to fix kubectl-based exam…

Fix #31539

Adding 1.4 milestone as this fixes P0 flake issue (test completely broken by moving to gobindata). @pwittrock 

cc @jayunit100
2016-09-01 08:33:20 -07:00
better88 041beadcc8 fix deleteClaim
`ok` is not in same variable socpe
like https://github.com/kubernetes/kubernetes/pull/31416
2016-09-01 23:26:38 +08:00
Kubernetes Submit Queue 2907015b58 Merge pull request #31814 from mwielgus/add-hash-to-planer
Automatic merge from submit-queue

Use hash in federated replica set planner

Without this all replicaset of size 1 would land in the same cluster if the default preferences (weight=1) are used. 

cc: @jianhuiz  @quinton-hoole @kubernetes/sig-cluster-federation
2016-09-01 08:20:17 -07:00
Kubernetes Submit Queue df24500cb3 Merge pull request #31878 from mksalawa/heapster_liveness_probe
Automatic merge from submit-queue

Add Heapster liveness probe

**What this PR does / why we need it**:
Add liveness probe for heapster service.

**Which issue this PR fixes**
[https://github.com/kubernetes/heapster/issues/1251](https://github.com/kubernetes/heapster/issues/1251)

**Release note**:
```release-note
Added liveness probe to Heapster service.
```
2016-09-01 08:20:12 -07:00
gmarek 02985c9da2 Create a file from data stored in gobindata to fix kubectl-based examples 2016-09-01 16:40:32 +02:00
Marcin Wielgus 015a970ceb Use hash in federated replica set planner 2016-09-01 16:35:40 +02:00
Kubernetes Submit Queue 4e1ff53bb2 Merge pull request #31730 from pmorie/kubelet-attach-detach-update
Automatic merge from submit-queue

Make it possible to enable controller-managed attach-detach on existing nodes

Fixes #31673.  Now, if a node already exists with the given name on Kubelet startup, the Kubelet will reconcile the value of the controller-managed-attach-detach annotation so that existing nodes can have this feature turned on and off by changing the Kubelet configuration.

cc @kubernetes/sig-storage @kubernetes/rh-cluster-infra
2016-09-01 07:31:18 -07:00
Kubernetes Submit Queue 164eebe3a4 Merge pull request #31874 from wojtek-t/fix_service_alloc
Automatic merge from submit-queue

Fix TestServiceAlloc flake

Fix #31850 

This bug was introduced in https://github.com/kubernetes/kubernetes/pull/31756

@lavalamp @smarterclayton - FYI ^^
2016-09-01 06:51:58 -07:00
Kubernetes Submit Queue f6eb28765f Merge pull request #31870 from gmarek/cache-size
Automatic merge from submit-queue

Increase registry cache size for services to handle big clusters

We noticed a problem with too small cache in a load test on a big cluster. This PR will slightly increase apiserver memory footprint, but it's safe otherwise. This should get in v1.4. @pwittrock
2016-09-01 05:44:11 -07:00
mksalawa 92c7feaf53 Add liveness probe in controller configurations. 2016-09-01 14:37:07 +02:00
mksalawa 84ad23d5e6 Bump heapster version to 1.2.0-beta.2 2016-09-01 14:37:07 +02:00
Wojciech Tyczynski 41518feb0a Fix TestServiceAlloc flake 2016-09-01 14:27:25 +02:00
Wojciech Tyczynski 4fc48cfce3 Store startupscript from GKE clusters too 2016-09-01 13:48:50 +02:00
Kubernetes Submit Queue ef2dde9c48 Merge pull request #31868 from wojtek-t/enable_more_inflight_requests
Automatic merge from submit-queue

Make it possible to set higher limit for in-flight requests in test

Ref #31589
2016-09-01 04:42:01 -07:00
gmarek 9c2d3a5677 Increase registry cache size for services to handle big clusters 2016-09-01 13:35:54 +02:00
Kubernetes Submit Queue ce1e17f338 Merge pull request #31865 from wojtek-t/higher_client_qps_in_load
Automatic merge from submit-queue

Higher client qps in load

Fix #31589
2016-09-01 04:28:58 -07:00
Wojciech Tyczynski 9c687add6b Make it possible to set higher limit for in-flight requests in test 2016-09-01 12:58:49 +02:00
Wojciech Tyczynski 22b160e552 Allow for configuring max inflight requests in kubemark 2016-09-01 11:46:37 +02:00
Wojciech Tyczynski 2f41f2d794 Increase QPS limit in load test client 2016-09-01 11:46:37 +02:00
YuPengZTE bb8980a8ad eg. should be e.g. 2016-09-01 17:34:38 +08:00
YuPengZTE b367764167 The first letter is small 2016-09-01 17:23:21 +08:00
Kubernetes Submit Queue e35675cf59 Merge pull request #31821 from mwielgus/event-name-sync
Automatic merge from submit-queue

Sync event names in federated controller

cc: @quinton-hoole
2016-09-01 01:48:25 -07:00
Kubernetes Submit Queue f512ec3af8 Merge pull request #31826 from mwielgus/rs-events
Automatic merge from submit-queue

Events for federated replica set controller

cc: @quinton-hoole @jianhuiz @kubernetes/sig-cluster-federation
2016-09-01 01:48:20 -07:00
Tim Hockin a7ab2da8d6 Make unit test runs MUCH faster
Running tests rebuilds almost everything.  Most unit tests do not need to be
rebuilt.  This installs test artifacts and makes subsequent test runs as much
as 6x faster.  I saw pkg/apiserver tests drop from 30+ seconds to 5 seconds.
2016-09-01 00:01:50 -07:00
Kubernetes Submit Queue 0c911ab701 Merge pull request #31644 from caesarxuchao/commit-staging-Godeps
Automatic merge from submit-queue

Commit staging godeps

<!--  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**:
Committed the client-go/1.4/Godeps/Godeps.json, so user can run `godep restore` after they `go get` the entire repo.

Added a Go program to modify the Godesp.json to make it usable.

FYI @thockin
2016-08-31 23:02:02 -07:00
Kubernetes Submit Queue 2a28917e0a Merge pull request #31756 from lavalamp/logmore
Automatic merge from submit-queue

Log useful information on 500's; include error message in error (!!)

Diagnose #31728
2016-08-31 20:31:45 -07:00
YuPengZTE 9cc6052655 The first letter should be small in errors.New 2016-09-01 11:08:15 +08:00
Kubernetes Submit Queue 8afd3c3297 Merge pull request #31751 from caesarxuchao/client-go-examples
Automatic merge from submit-queue

Add client-go examples

We'll wait for the publish bot to published this to kubernetes/client-go

cc @devin-donnelly

ref: https://github.com/kubernetes/kubernetes.github.io/pull/1127
2016-08-31 19:50:26 -07:00
Kubernetes Submit Queue 00d8322571 Merge pull request #31829 from timstclair/flake
Automatic merge from submit-queue

Add retries to service environment variable test

Fixes (hopefully): https://github.com/kubernetes/kubernetes/issues/30548#issuecomment-243907466

/cc @euank @dchen1107
2016-08-31 19:11:06 -07:00
Kubernetes Submit Queue b03de0abe7 Merge pull request #31758 from vishh/issue-30567
Automatic merge from submit-queue

Make pods e2e retry getting logs from web-sockets

Hopefully fixes #30567
2016-08-31 18:32:47 -07:00