Commit Graph

35157 Commits (95771b12e9db80cfbe095113a7f0d97c8fe269f7)

Author SHA1 Message Date
Kubernetes Submit Queue 95771b12e9 Merge pull request #32340 from lavalamp/serveralloctest
Automatic merge from submit-queue

add more details to TestServiceAlloc failure

To debug #32028
2016-09-09 01:37:45 -07:00
Kubernetes Submit Queue dceb33d120 Merge pull request #32097 from brendandburns/dev
Automatic merge from submit-queue

Don't return an error if a file doesn't exist for IsPathDevice(...)

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

@saad-ali @thockin fyi, since linux devices and storage.
2016-09-09 01:37:40 -07:00
Kubernetes Submit Queue 08b6eaff92 Merge pull request #30321 from fejta/check-resources
Automatic merge from submit-queue

Convert bool to error, helper func for cd to skew

Switch from various functions returning `False` when something bad happens to returning an `error`
Encapsulate logic to switch to the skew directory inside chdirSkew

Also add a TODO for using `hyphen-flags` instead of `underscore_flags`
2016-09-09 00:48:19 -07:00
Kubernetes Submit Queue 8780961e94 Merge pull request #32112 from soltysh/test_owners
Automatic merge from submit-queue

Updated test owners and assigned ScheduledJobs to soltysh

I've updated test owners by running `hack/update_owners.py` and assigned all ScheduledJob related issues to myself. 

@fejta ptal
2016-09-09 00:48:14 -07:00
Kubernetes Submit Queue 884e32c8fd Merge pull request #31299 from duglin/addFeature
Automatic merge from submit-queue

add pointer to feature repo

Add a pointer to the "features" repo so people know that they shouldn't just open up a new 'issue' in this one.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-09-08 22:22:21 -07:00
Kubernetes Submit Queue 3651765077 Merge pull request #31714 from smarterclayton/sync
Automatic merge from submit-queue

Allow missing keys in jsonpath
2016-09-08 22:22:16 -07:00
Kubernetes Submit Queue bed9f4d36c Merge pull request #31320 from feiskyer/kuberuntime-sandboxid
Automatic merge from submit-queue

Kubelet: implement GetPodContainerID for new runtime API

Add implements of `GetPodContainerID` interface for new runtime API.

CC @yujuhong @kubernetes/sig-node @kubernetes/sig-rktnetes
2016-09-08 21:41:03 -07:00
Kubernetes Submit Queue 5512104d36 Merge pull request #31559 from bprashanth/kubeproxy_test
Automatic merge from submit-queue

Networking test rewrite

Decomposes the old kubeproxy tests into (tcp, udp) tests for each of the following: 
* intra-pod
* node-pod
* pod-Service
* node-Service
* endpoint-Service
* delete endpoints, confirm unreachability
* delete nodeport, confirm unreachability
* kube-proxy /proxymode, /healthz

Also gets rid of the old network conformance test that used apiserver proxy to check reported peer count of a webserver in a container (the netexec pod used in this test does the same thing without apiserver proxy). 

Fixes https://github.com/kubernetes/kubernetes/issues/26490, https://github.com/kubernetes/kubernetes/issues/14204
2016-09-08 19:37:32 -07:00
Kubernetes Submit Queue 99493570c3 Merge pull request #32268 from mdshuai/imagefs-inodes
Automatic merge from submit-queue

correct imagefs inodes value in kubelet summary stats

Fix https://github.com/kubernetes/kubernetes/issues/31501
Correct get imagefs inodes value from imageFsInfo.Inodes in kubelet summary stats api. 

@derekwaynecarr
2016-09-08 17:19:21 -07:00
Daniel Smith 2d6dd159d2 add more details to failure 2016-09-08 17:14:59 -07:00
Kubernetes Submit Queue e4909db6a3 Merge pull request #32144 from nikhiljindal/freshDebugNs
Automatic merge from submit-queue

Updating federation api ref docs

Updating API ref docs to include changes from https://github.com/kubernetes/kubernetes/pull/31925.

PR generated by running `hack/update-federation-api-reference-docs.sh`

cc @kubernetes/sig-cluster-federation
2016-09-08 15:54:20 -07:00
Kubernetes Submit Queue 0037b67cdf Merge pull request #32245 from aaronlevy/bump-kube-cross
Automatic merge from submit-queue

Fix `make release` breaking due to incorrect etcd version

`make release` fails with `etcd version 3.0.4 or greater required` when attempting to run integration tests.

Looks like etcd version was bumped in: https://github.com/kubernetes/kubernetes/pull/30508 (also once prior to that as well), but the kube-cross image version was not bumped in `build/build-image/cross/VERSION`

I did a manual check and and it looks like a `gcr.io/google_containers/kube-cross:v1.6.3-3` already exists and it does contain etcd v3.0.4
2016-09-08 15:04:31 -07:00
Matt Liggett fc3ef9320e Merge pull request #32314 from dims/fix-external-lb-source-ip-preservation-doc
Fix external-lb-source-ip-preservation.md
2016-09-08 14:21:54 -07:00
Davanum Srinivas 59798ed239 Fix external-lb-source-ip-preservation.md
Fixes #32313
2016-09-08 15:39:29 -04:00
Kubernetes Submit Queue 93f8b87d2b Merge pull request #32235 from david-mcmahon/push-build
Automatic merge from submit-queue

Change push-ci-build.sh to push-build.sh.
2016-09-08 11:53:42 -07:00
Kubernetes Submit Queue 986fe3bf0e Merge pull request #32302 from derekwaynecarr/tpr-flaky
Automatic merge from submit-queue

Mark ThirdParty e2e tests flaky

The root issue:
Fixes https://github.com/kubernetes/kubernetes/issues/32296

The other related side-effect issues that this should resolve:

Fixes https://github.com/kubernetes/kubernetes/issues/32237
Fixes https://github.com/kubernetes/kubernetes/issues/32168
Fixes https://github.com/kubernetes/kubernetes/issues/32132
Fixes https://github.com/kubernetes/kubernetes/issues/32122
Fixes https://github.com/kubernetes/kubernetes/issues/32087
Fixes https://github.com/kubernetes/kubernetes/issues/32054
Fixes https://github.com/kubernetes/kubernetes/issues/32053
Fixes https://github.com/kubernetes/kubernetes/issues/32045
Fixes https://github.com/kubernetes/kubernetes/issues/32043
Fixes https://github.com/kubernetes/kubernetes/issues/32025

@lavalamp @pwittrock @ncdc @kubernetes/sig-api-machinery @brendandburns @smarterclayton
2016-09-08 11:53:36 -07:00
Kubernetes Submit Queue 36bc5b11c3 Merge pull request #32232 from Random-Liu/avoid-syncpod-when-no-mirrorpod
Automatic merge from submit-queue

Avoid unnecessary status update when there is no corresponding mirror pod

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

This PR changes status manager to skip update when there is no mirror pod for a static pod.
We need this because:
1) When static pod terminates and mirror pod is deleted, this will avoid extra `syncPod`.
2) During mirror pod creation and recreation, this will avoid unnecessary `syncPod`.

Mark P1 to match the original issue.

@wojtek-t @yujuhong 
/cc @kubernetes/sig-node
2016-09-08 11:53:31 -07:00
Aaron Levy 17c5ea9c37 bump kube-cross image version 2016-09-08 11:22:55 -07:00
derekwaynecarr 6218693e8a Mark ThirdParty e2e tests flaky 2016-09-08 13:06:10 -04:00
Kubernetes Submit Queue 943d7aa5aa Merge pull request #31247 from deads2k/api-03
Automatic merge from submit-queue

refactor genericapiserver new to combine initialization

Combines `New` and `init` since the two were inseparable before anyway.  `New` now has all the code to create the `GenericAPIServer`.

The rest of the change is a move.  I want to refactor the flow more, but I figured that doing it separately would simplify the review.

@sttts how do you feel about looking at this one?
2016-09-08 09:10:24 -07:00
Kubernetes Submit Queue bf9a62035d Merge pull request #31289 from deads2k/remove-cast-utilities
Automatic merge from submit-queue

remove cast utilities from rbac

Casting functions like these are a source of pain in OpenShift.  We should eliminate them to avoid drift problems like we've had downstream.

@kubernetes/sig-auth 

@ericchiang ptal
2016-09-08 08:23:01 -07:00
Kubernetes Submit Queue 504ccc6f37 Merge pull request #32275 from wojtek-t/split_process_event
Automatic merge from submit-queue

Split dispatching to watchers in Cacher into separate goroutine.

Should help with #32257
2016-09-08 07:42:12 -07:00
Kubernetes Submit Queue b616349efc Merge pull request #32282 from mwielgus/register-on-fake-fix
Automatic merge from submit-queue

Remove panic handling from federated test helper

This was added by accident when helping @quinton-hoole with https://github.com/kubernetes/kubernetes/pull/31600.
2016-09-08 06:59:48 -07:00
Kubernetes Submit Queue 23079c4569 Merge pull request #32270 from gmarek/metric
Automatic merge from submit-queue

Change the eviction metric type and fix rate-limited-timed-queue

People how know better convinced me that aggregate counter is better than a gauge for a number of evictions metric. @Q-Lee 

Per discussion with @pwittrock I add a v1.4 label and a cherrypick candidate label. This is a slightly bigger change than I thought, but it fixes a bug in eviction logic, so it's also important.

cc @derekwaynecarr @smarterclayton @timothysc
2016-09-08 06:59:43 -07:00
Kubernetes Submit Queue 456c78a806 Merge pull request #32280 from wojtek-t/fix_scalability_failure
Automatic merge from submit-queue

Fix allow for non-ready nodes in e2e framework

Ref #32257
2016-09-08 06:21:23 -07:00
Kubernetes Submit Queue 54243d4f1b Merge pull request #32258 from liggitt/ingress-prefix
Automatic merge from submit-queue

Pin ingresses etcd prefix for 1.3 compatibility

fixes https://github.com/kubernetes/kubernetes/issues/32255
2016-09-08 06:21:18 -07:00
deads2k b0d770ad7b refactor genericapiserver new to combine initialization 2016-09-08 08:57:10 -04:00
Pengfei Ni 0cc4686d85 Kubelet: implement GetPodContainerID for new runtime API 2016-09-08 20:53:52 +08:00
Marcin Wielgus d93456ab37 Remove panic handling from federated test helper 2016-09-08 14:53:10 +02:00
Kubernetes Submit Queue b974c09819 Merge pull request #32272 from mwielgus/chan-size-watcher
Automatic merge from submit-queue

FakeWatcher with channel size constructor

Follow up for #32234. Items in the PR:
* Chan size option in watcher to prevent deadlock via buffering.
* WatcherDispatcher refactoring.
2016-09-08 05:41:30 -07:00
Kubernetes Submit Queue d974051c47 Merge pull request #32177 from lojies/changesomeerrorcomment
Automatic merge from submit-queue

fix some error comment in create_service.go

some comments were error. mofify these to match the real.
2016-09-08 05:41:26 -07:00
Kubernetes Submit Queue 91f04c765b Merge pull request #32093 from guangxuli/kube_secret_test
Automatic merge from submit-queue

the created path should be closed in test case
2016-09-08 05:41:21 -07:00
Kubernetes Submit Queue b2d02bd1ab Merge pull request #31395 from yujuhong/getpods
Automatic merge from submit-queue

Instruct PLEG to detect pod sandbox state changes

This PR adds a Sandboxes list in `kubecontainer.Pod`, so that PLEG can check
sandbox changes using `GetPods()` . The sandboxes are treated as regular
containers (type `kubecontainer.Container`) for now to avoid additional
changes in PLEG.

/cc @feiskyer @yifan-gu @euank
2016-09-08 05:41:16 -07:00
Wojciech Tyczynski e750454c31 Fix allow for non-ready nodes in e2e framework 2016-09-08 14:22:08 +02:00
Kubernetes Submit Queue 8d9d32db0a Merge pull request #31499 from areed/31130-rollout-status
Automatic merge from submit-queue

kubectl rollout status waits for available pods

<!--  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 changes kubectl rollout status to wait until all updated replicas are available before finishing.

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

**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
Changes 'kubectl rollout status' to wait until all updated replicas are available before finishing.
```
Currently kubectl rollout status finishes when Deployment.Spec.Replicas == Deployment.Status.UpdatedReplicas, but it's less surprising to the user for kubectl rollout status to wait until Deployment.Status.UpdatedReplicas == Deployment.Status.Replics == Deployment.Status.AvailableReplicas
2016-09-08 05:01:26 -07:00
Marcin Wielgus 13a80ce912 FakeWatcher with channel size constructor 2016-09-08 13:38:44 +02:00
Wojciech Tyczynski 378cd81dbe Split dispatching to watchers in Cacher into separate goroutine. 2016-09-08 13:27:54 +02:00
Kubernetes Submit Queue d877967c1a Merge pull request #32269 from wojtek-t/watcher_logs
Automatic merge from submit-queue

Extend logging for scalability tests debugging

Ref #32257
2016-09-08 04:25:10 -07:00
Kubernetes Submit Queue c27326a26c Merge pull request #31189 from hongchaodeng/r1
Automatic merge from submit-queue

api storage: Decouple Decorator from Filter

Continue #28249

What?
This PR decouples Decorator from Filter, i.e. remove Decorator in createFilter().
- For List, Decorator is called on returned list object.
- For Watch, we implement a new watcher to pipe through decorator. Error will be returned as a watch event.

Why?
- We want to change filter to SelectionPredicate struct. But Decorator is designed to be coupled with filtering.
- Per the discussion in #28249, decorator shouldn't be coupled to filter and error from Decorator should be returned instead of assuming false filtering.
2016-09-08 04:25:05 -07:00
Kubernetes Submit Queue bf4e9e9db8 Merge pull request #31245 from deads2k/api-02
Automatic merge from submit-queue

privatize, document, and scrub GenericAPIServer

I've gone through more of the `GenericAPIServer` struct, started documenting what the fields do and privatizing ones that aren't used elsewhere or are only used by components that need some refactoring too.
2016-09-08 03:47:50 -07:00
gmarek c40a36cab0 Change the eviction metric type and fix rate-limited-timed-queue 2016-09-08 12:20:51 +02:00
Wojciech Tyczynski bd54c389f5 Extend logging for scalability tests debugging 2016-09-08 12:02:59 +02:00
Kubernetes Submit Queue aff7dfcaab Merge pull request #30513 from tmrts/kubelet-rkt-cri/use-image-service
Automatic merge from submit-queue

Kubelet rkt CRI use ImageService

Implements `container.ImageService` and refactors the `pkg/kubelet/rkt` to use it
2016-09-08 02:49:58 -07:00
mdshuai c3ddd882df correct imagefs inodes value in summary stats 2016-09-08 17:19:48 +08:00
Kubernetes Submit Queue 7a4d81ea43 Merge pull request #31271 from deads2k/self-sar
Automatic merge from submit-queue

add selfsubjectaccessreview API

Exposes the REST API for self subject access reviews.  This allows a user to see whether or not they can perform a particular action.

@kubernetes/sig-auth
2016-09-08 01:29:48 -07:00
Kubernetes Submit Queue 63495d785b Merge pull request #31045 from abrarshivani/vsphere_describe_volume
Automatic merge from submit-queue

Add kubectl describe cmd support for vSphere volume

This PR does following,
Add kubectl describe cmd support for vSphere volume

Examples:

> kubectl describe pod redis
.......
Volumes:
  vmdk-storage:
    Type:	vSphereVolume (a Persistent Disk resource in vSphere)
    VolumePath:	[Datastore] test1
    FSType:	ext4
.........

> kubectl describe pv pv0001
Name:		pv0001
Labels:		<none>
Status:		Available
Claim:
Reclaim Policy:	Recycle
Access Modes:	RWO
Capacity:	2Gi
Message:
Source:
    Type:	vSphereVolume (a Persistent Disk resource in vSphere)
    VolumePath:	[vsanDatastore] volumes/test11
    FSType:	ext4
No events.
2016-09-08 00:08:35 -07:00
Kubernetes Submit Queue 93c9b05bc9 Merge pull request #31979 from dagnello/vsphere-cleanup-controller-nil-check
Automatic merge from submit-queue

vSphere Cloud provider null pointer exception

This PR addresses issue #31823.

SelectByType function in govmomi will panic if deviceType is not Array,
Chan, Map, Ptr, or Slice.  Also checking if vmDevices or vm are nil,
there is nothing to cleanup.
2016-09-07 23:30:48 -07:00
Jordan Liggitt bd1c4e751e
Pin ingresses etcd prefix for 1.3 compatibility 2016-09-08 01:54:07 -04:00
Kubernetes Submit Queue 9ae463593c Merge pull request #32212 from fraenkel/save_stderr
Automatic merge from submit-queue

Save stderr since it may become nil

fixes #32206

opts.Run() may set Err to nil
2016-09-07 22:54:03 -07:00
Kubernetes Submit Queue 962d51ec68 Merge pull request #32077 from jsafrane/provision-plugin
Automatic merge from submit-queue

Do not report warning event when an unknown provisioner is requested.

with `StorageClass.Provisioner == <unknown plugin>`, we should wait for
either external provisioner or volume admin to provide a PV for a claim
instead of reporting an error.

Fixes #31723
2016-09-07 21:05:45 -07:00