Commit Graph

34608 Commits

Author SHA1 Message Date
Kubernetes Submit Queue
1b38ba6d8f Merge pull request #31023 from vishh/gci-default
Automatic merge from submit-queue

Use upgraded container-vm by default on worker nodes for GCE k8s clusters

For https://github.com/kubernetes/kubernetes/issues/25276
Depends on https://github.com/kubernetes/test-infra/pull/417
2016-08-26 14:32:07 -07:00
bprashanth
43022591d1 Get network name via e2e environment. 2016-08-26 13:31:08 -07:00
Kubernetes Submit Queue
9a093276ea Merge pull request #31475 from vishh/celery-example-broken
Automatic merge from submit-queue

Delete the broken Celery+RabbitMQ example

The celery container used in the example is broken and does not come up
on most distros. The e2e test that was validating this example was not
detecting the fact the celery pod was crash looping. 
I attempted to fix the celery container, but it proved to be tedious.
The proposed fix is to update the glibc version to >= 2.23. In this case
it requires updating the python docker image and the celery base image.

https://github.com/kubernetes/kubernetes/issues/31456
has more details. 

I'm deleting the example instead of marking it as broken because a user
might overlook the broken warning and it should be trivial to revert
this PR if someone can fix the celery container.
2016-08-26 13:27:48 -07:00
Minhan Xia
69e540e634 bump cni to 9d5e6e6 2016-08-26 13:13:24 -07:00
David McMahon
bcf1fa70a2 Remove duplicate entry from CHANGELOG.md. 2016-08-26 13:11:29 -07:00
Kubernetes Submit Queue
352fdd77e1 Merge pull request #31386 from mtaufen/eviction-test-wait-memory-condition
Automatic merge from submit-queue

Wait for the memory pressure condition to be absent before finishing memory eviction test

Let's see if this helps with the Serial tests. It should at least get us some more information that will help figure out why they are failing.
2016-08-26 12:30:13 -07:00
Kubernetes Submit Queue
e24aff0711 Merge pull request #29821 from alexbrand/config-cluster
Automatic merge from submit-queue

Add get/delete cluster, delete context to kubectl config

Fixes #29794 by adding `get-clusters`, `delete-cluster` and `delete-context` actions to `kubectl config`.
2016-08-26 11:44:46 -07:00
David McMahon
8dfc7fad68 Update CHANGELOG.md for v1.3.6. 2016-08-26 11:44:22 -07:00
Dan Williams
e063c760c2 Don't error out if ${go_pkg_dir} already exists
If it already exists, the world is OK and there's no need to panic.
2016-08-26 13:10:13 -05:00
Chao Xu
889b100e63 update readme 2016-08-26 10:55:22 -07:00
Chao Xu
bf578f1bc2 run client-gen 2016-08-26 10:55:22 -07:00
Chao Xu
74a424129f make subjectaccessreview expansion follow the convention 2016-08-26 10:54:51 -07:00
Kubernetes Submit Queue
65c31dde62 Merge pull request #31528 from mwielgus/loglevelrs
Automatic merge from submit-queue

Increase log level for debug infos in Federated ReplicaSet controller

cc: @quinton-hoole @wojtek-t
2016-08-26 10:20:39 -07:00
Michael Taufen
aa1d273584 Wait for the memory pressure condition to be absent before finishing the memory eviction test 2016-08-26 10:15:28 -07:00
Eric Paris
6f90869996 Merge pull request #31452 from jeffmendoza/cleanup-docs-yamls
Removed non-md files from docs. Moved doc yamls to test/fixtures.
2016-08-26 12:17:12 -04:00
Mike Danese
a9c6f873f4 Merge pull request #31530 from kubernetes/revert-31391-container-gc
Revert "Avoid disk eviction node e2e test using up all the disk space"
2016-08-26 09:05:51 -07:00
Dawn Chen
24e81af7b3 Revert "Avoid disk eviction node e2e test using up all the disk space" 2016-08-26 08:59:42 -07:00
Marcin Wielgus
9cdcb31d2b Increase log level for debug infos in Federated ReplicaSet controller 2016-08-26 17:39:06 +02:00
derekwaynecarr
c727fdc81f Remove deprecated namespace admission controllers 2016-08-26 11:14:55 -04:00
derekwaynecarr
6a7eb7b420 Set imagefs rank and reclaim functions when nodefs+imagefs share common device 2016-08-26 11:08:43 -04:00
Kubernetes Submit Queue
6eb279ee6e Merge pull request #31512 from mwielgus/more-debug-rs
Automatic merge from submit-queue

More scheduling debug in federated replica set

cc: @quinton-hoole @jianhuiz @kubernetes/sig-cluster-federation
2016-08-26 06:49:11 -07:00
Kubernetes Submit Queue
68f54756c2 Merge pull request #31449 from janetkuo/return-deployment-rollback
Automatic merge from submit-queue

Use updated deployment after rollback

@kubernetes/deployment 

**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
NONE
```
2016-08-26 06:49:06 -07:00
Kubernetes Submit Queue
f2ec08d852 Merge pull request #31514 from wojtek-t/remove_annoying_log
Automatic merge from submit-queue

Remove annoying log

In large clusters, those were ~85% of logs in controller manager (2.3M lines), which doesn't provide any value...
2016-08-26 06:09:48 -07:00
Kubernetes Submit Queue
eeac23282d Merge pull request #31446 from liggitt/log-streaming
Automatic merge from submit-queue

Fix hang/websocket timeout when streaming container log with no content

When streaming and following a container log, no response headers are sent from the kubelet `containerLogs` endpoint until the first byte of content is written to the log. This propagates back to the API server, which also will not send response headers until it gets response headers from the kubelet. That includes upgrade headers, which means a websocket connection upgrade is not performed and can time out.

To recreate, create a busybox pod that runs `/bin/sh -c 'sleep 30 && echo foo && sleep 10'`

As soon as the pod starts, query the kubelet API:
```
curl -N -k -v 'https://<node>:10250/containerLogs/<ns>/<pod>/<container>?follow=true&limitBytes=100'
```

or the master API:
```
curl -N -k -v 'http://<master>:8080/api/v1/<ns>/pods/<pod>/log?follow=true&limitBytes=100'
```

In both cases, notice that the response headers are not sent until the first byte of log content is available.

This PR:
* does a 0-byte write prior to handing off to the container runtime stream copy. That commits the response header, even if the subsequent copy blocks waiting for the first byte of content from the log.
* fixes a bug with the "ping" frame sent to websocket streams, which was not respecting the requested protocol (it was sending a binary frame to a websocket that requested a base64 text protocol)
* fixes a bug in the limitwriter, which was not propagating 0-length writes, even before the writer's limit was reached
2016-08-26 06:09:43 -07:00
Kubernetes Submit Queue
cce68024e4 Merge pull request #31391 from ronnielai/container-gc
Automatic merge from submit-queue

Avoid disk eviction node e2e test using up all the disk space
2016-08-26 05:25:53 -07:00
Wojciech Tyczynski
a95927b46d Remove annoying log 2016-08-26 13:51:14 +02:00
Marcin Wielgus
535a110603 More scheduling debug in federated replica set 2016-08-26 13:48:16 +02:00
Kubernetes Submit Queue
23d0937eaf Merge pull request #31438 from mwielgus/ns-controller-delete
Automatic merge from submit-queue

Proper phase/finalizer logic in federated namespace controller

Part 1 of delete logic cleanup.
Part 2 will contain namespace content deletion and tests.

cc: @quinton-hoole @kubernetes/sig-cluster-federation
2016-08-26 04:39:36 -07:00
Kubernetes Submit Queue
01541584ed Merge pull request #31375 from kargakis/cast-to-actual-type
Automatic merge from submit-queue

kubectl: cast notFound error to struct

Fixes https://github.com/kubernetes/kubernetes/issues/28378 (the 404 flake)

@kubernetes/kubectl @kubernetes/deployment
2016-08-26 04:39:31 -07:00
Kubernetes Submit Queue
83fa5dff5d Merge pull request #31508 from wojtek-t/grab_etcd_logs_from_kubemark
Automatic merge from submit-queue

Grab etcd logs from kubemark & retry etcd starts to avoid image pull errors

Ref #31105

@gmarek
2016-08-26 04:00:46 -07:00
Kubernetes Submit Queue
76a458ccb8 Merge pull request #31507 from mwielgus/ca-0.3.0-b4
Automatic merge from submit-queue

Bump cluster autoscaler to 0.3.0-beta4
2016-08-26 04:00:41 -07:00
Kubernetes Submit Queue
591ac0d97b Merge pull request #31506 from piosz/rescheduler-version
Automatic merge from submit-queue

Bumped Rescheduler version
2016-08-26 04:00:36 -07:00
Kubernetes Submit Queue
f0bc7d489c Merge pull request #31406 from foxish/petset-hotloop
Automatic merge from submit-queue

Petset hotlooping issue.

Part of the fix for #27634
It completely fixes it when we also get https://github.com/kubernetes/kubernetes/pull/31396 merged.
2016-08-26 04:00:32 -07:00
Marcin Wielgus
31dd5e8d91 Proper phase/finalizer logic in federated namespace controller 2016-08-26 12:44:20 +02:00
Kubernetes Submit Queue
0d6d0603e5 Merge pull request #31443 from caesarxuchao/enalbe-gc-in-tests
Automatic merge from submit-queue

Enable gc by default in more tests

I think this should only affect the 100-node test.

cc @lavalamp
2016-08-26 03:19:44 -07:00
Kubernetes Submit Queue
dd42d95bab Merge pull request #31000 from mksalawa/fix_pods_from_all_namespaces
Automatic merge from submit-queue

Fix getting pods from all namespaces

**What this PR does / why we need it**:
Use Heapster handler for pods from all namespaces (added in the new version).

Depends on #30993
2016-08-26 03:19:39 -07:00
Wojciech Tyczynski
752f414905 Store logs from etcd in kubemark 2016-08-26 11:46:02 +02:00
Wojciech Tyczynski
52498e6050 Retry etcd starting in kubemark 2016-08-26 11:46:02 +02:00
Kubernetes Submit Queue
c2440221c4 Merge pull request #31500 from wojtek-t/tweak_resource_limits
Automatic merge from submit-queue

Tweak resource constraints in scalability tests [flaky tests fix]

Ref #31105
2016-08-26 02:34:49 -07:00
Kubernetes Submit Queue
88f6a67c7c Merge pull request #31217 from mfanjie/fix-service-controller-defect
Automatic merge from submit-queue

persist services need to be retried in service controller cache.

fix issue reported by @anguslees
more detail on #25189
2016-08-26 02:34:44 -07:00
Marcin Wielgus
9812884264 Bump cluster autoscaler to 0.3.0-beta4 2016-08-26 11:24:24 +02:00
Kubernetes Submit Queue
ecf24101d3 Merge pull request #31485 from m1093782566/m109-proxy-fix-naming
Automatic merge from submit-queue

[kube-proxy] Fix naming errors and sentence breaking in pkg/proxy/healthcheck

<!--  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**:

addresses #31484 

@girishkalele
2016-08-26 01:53:24 -07:00
Kubernetes Submit Queue
9deb18b989 Merge pull request #31378 from yifan-gu/rkt_fetch_no_store
Automatic merge from submit-queue

rkt: Force `rkt fetch` to fetch from remote to conform the image pull policy.

Fix https://github.com/kubernetes/kubernetes/issues/27646

Use `--no-store` option for `rkt fetch` to force it to fetch from remote.
However, `--no-store` will fetch the remote image regardless of whether the content of the image has changed or not. 
This causes performance downgrade when the image tag is ':latest' and the image pull policy is 'always'. 
The issue is tracked in https://github.com/coreos/rkt/issues/2937.
2016-08-26 01:53:20 -07:00
Kubernetes Submit Queue
a9754114a5 Merge pull request #31172 from bprashanth/nginxe2e
Automatic merge from submit-queue

Nginx ingress e2es

Runs the basic ingress conformance suite: https://github.com/kubernetes/kubernetes/blob/master/test/e2e/ingress_utils.go#L85
2016-08-26 01:53:14 -07:00
Wojciech Tyczynski
793d3acd8b Support for TTLs in etcd migration. 2016-08-26 10:28:00 +02:00
Piotr Szczesniak
0a3372272a Bumped Rescheduler version 2016-08-26 10:22:48 +02:00
Wojciech Tyczynski
c106646d32 Tweak resource constraints in scalability tests 2016-08-26 10:19:45 +02:00
Kubernetes Submit Queue
f73c684404 Merge pull request #31383 from janetkuo/run-attach-err
Automatic merge from submit-queue

Print to stderr when attach failed

@kubernetes/kubectl
2016-08-26 00:40:15 -07:00
Kubernetes Submit Queue
d5033c27e4 Merge pull request #31392 from MrHohn/push-kube-dns
Automatic merge from submit-queue

Build and push kube-dns for 1.4 release.

Fix #31355.

Following docker images had been uploaded:
gcr.io/google_containers/kubedns-amd64:1.7
gcr.io/google_containers/kubedns-arm:1.7
gcr.io/google_containers/kubedns-arm64:1.7

Build for ppc64le is disabled by default, and it failed to be built using:
`KUBE_BUILD_PPC64LE=y make release`

I'm still working on making the ppc64le build. Updates will be added following this thread.

@girishkalele @thockin
2016-08-26 00:40:10 -07:00
Kubernetes Submit Queue
df99dfd04d Merge pull request #31358 from screeley44/k8-get-pv
Automatic merge from submit-queue

Add ReclaimPolicy to the resource printer for 'get pv'

Propose we add the RECLAIMPOLICY (persistentVolumeReclaimPolicy) from resource_printer.go to show the policy when a user does a ```kubectl get pv```

```
[root@k8dev nfs]# kubectl get pv
NAME      CAPACITY   ACCESSMODES   RECLAIMPOLICY   STATUS      CLAIM     REASON    AGE
pv-nfs    1Gi        RWO           Retain          Available                       1m
pv-nfs2   1Gi        RWO           Delete          Available                       4s

```
2016-08-25 23:56:20 -07:00