Commit Graph

32901 Commits (4df99a8a0f0d19fb816a2dfc92a5154b0b02db2c)

Author SHA1 Message Date
Jeff Grafton 4df99a8a0f Require go-bindata to already be installed 2016-08-03 11:09:55 -07:00
Jeff Grafton b03784934d Add go-bindata to the cross-build image 2016-08-03 11:09:55 -07:00
Kubernetes Submit Queue 804109d349 Merge pull request #29950 from andreykurilin/kubelet_typos
Automatic merge from submit-queue

Fix various typos in kubelet
2016-08-03 10:05:46 -07:00
Kubernetes Submit Queue 73deb72399 Merge pull request #29824 from feiskyer/kuberuntime
Automatic merge from submit-queue

Kubelet: add kubeGenericRuntimeManager for new runtime API

Part of #28789. Add `kubeGenericRuntimeManager` for kubelet new runtime API #17048. 

Note that:

- To facilitate code reviewing, #28396 is splited into a few small PRs. This is the first part.
- This PR also fixes some syntax errors in `api.proto`.
- This PR is depending on #29811 (already merged).

CC @yujuhong @Random-Liu @kubernetes/sig-node
2016-08-03 10:05:42 -07:00
Kubernetes Submit Queue 2ae16a2e60 Merge pull request #29949 from hongchaodeng/doc
Automatic merge from submit-queue

automation.md: fix typos
2016-08-03 08:46:58 -07:00
Kubernetes Submit Queue 3eab99605f Merge pull request #29988 from deads2k/fix-subresource
Automatic merge from submit-queue

allow restricting subresource access

Looks like subresource resolution got lost in the port.  Adding it back in as `"resource/subresource"`.  That allows easy expression of rules and we can later allow something like `"*/subresource"` to handle cases like the hpa controller.

@kubernetes/sig-auth
2016-08-03 08:46:52 -07:00
Marek Grabowski 0c49436c80 Merge pull request #29991 from kubernetes/revert-29764-node_density_and_performance_test
Revert "Add density (batch pods creation latency and resource) and resource performance tests to `test-e2e-node'"
2016-08-03 16:23:57 +02:00
Marek Grabowski 621a589b6d Revert "Add density (batch pods creation latency and resource) and resource performance tests to `test-e2e-node'" 2016-08-03 15:13:40 +02:00
deads2k 1e7adaa5c0 allow restricting subresource access 2016-08-03 08:19:57 -04:00
Kubernetes Submit Queue e8c926047f Merge pull request #29806 from Random-Liu/improve-node-e2e-test-framework
Automatic merge from submit-queue

E2E & Node E2E: Improve node e2e test framework

This is first part of https://github.com/kubernetes/kubernetes/pull/29494.
I split #29494 into several PRs to help review. 

For https://github.com/kubernetes/kubernetes/issues/29081.

This PR changes TestContainerOutput to use the framework pod client:** so that all test using `TestContainerOutput` could be shared automatically. For example: https://github.com/kubernetes/kubernetes/blob/master/test/e2e/configmap.go#L198

@vishh @timstclair 
/cc @kubernetes/sig-node
2016-08-03 05:15:28 -07:00
Kubernetes Submit Queue 371c3965ba Merge pull request #29764 from coufon/node_density_and_performance_test
Automatic merge from submit-queue

Add density (batch pods creation latency and resource) and resource performance tests to `test-e2e-node'

This PR contains two new tests (migrate from e2e test):
1. Density test: verify startup latency and resource usage when create a batch of pod with throughput control. Throughput control is done by sleep for an interval between firing concurrently create pod operations. 
It tests both batch creation and sequential (back-to-back) creation and report the throughputs. 

2. Verify resource usage of steady state kubelet.

The test creates a new resource controller for `test-node-e2e' (resource_controller.go) which monitors resource through a standalone Cadvisor pod (port 8090) with 1s housekeeping interval.
2016-08-03 04:43:14 -07:00
Kubernetes Submit Queue 1ac1865dd7 Merge pull request #29484 from kargakis/fix-scaler-error
Automatic merge from submit-queue

kubectl: notfound errors should not error out

Fixes the flake in https://github.com/kubernetes/kubernetes/issues/28378#issuecomment-234677846

@pwittrock ptal
2016-08-03 03:13:19 -07:00
Kubernetes Submit Queue 5429c7a7b0 Merge pull request #29979 from gmarek/master
Automatic merge from submit-queue

Change the owner of JSON NodeAffinity test

Make @kevin-wangzefeng an owner of SchedulerPredicates JSON NodeAffinity test.

cc @fejta
2016-08-03 02:26:17 -07:00
Kubernetes Submit Queue 24216fe02f Merge pull request #26958 from resouer/util-line
Automatic merge from submit-queue

Refactoring runner resource container linedelimiter to it's own pkg

Continuing my work ref #15634

Anyone is ok to review this fix.
2016-08-03 02:26:12 -07:00
Kubernetes Submit Queue 48bd6368a7 Merge pull request #28777 from jsafrane/volume-unittest-waittest
Automatic merge from submit-queue

Stabilize volume unit tests by waiting for exact state

Wait for specific final state instead of waiting for specific number of
operations in controller unit tests. The tests are more readable and will survive
random goroutine ordering (PV and PVC controller have both their own
goroutine).

@kubernetes/sig-storage
2016-08-03 01:46:23 -07:00
gmarek f1167e9b9c Change the owner of JSON NodeAffinity test 2016-08-03 10:42:07 +02:00
Kubernetes Submit Queue 0f3ff30111 Merge pull request #29906 from wojtek-t/increase_service_timeouts
Automatic merge from submit-queue

Increase test timeouts for creating LB in large clusters

Ref #29189
2016-08-03 01:12:38 -07:00
Kubernetes Submit Queue 52559696e9 Merge pull request #29879 from timstclair/aa-design
Automatic merge from submit-queue

Update the AppArmor design proposal

3 modifications to the original AppArmor design proposal:

1. Remove the pod-level AppArmor profile specification, since it was unnecessary complexity. I think the typical multi-container case is a main app, some side-cars (e.g. log helpers), and maybe some init containers. All of those containers are likely to have very different permissions needs, so I do not see benefit to the pod-level profile. If there is sufficient demand (i.e. user feedback) for this feature we can add it back.
2. Added a proposal for the beta (and GA) API. Beginning the discussion of this API now will smooth the transition from alpha, and guide the implementation of the internal API.
3. [EDIT] The profile deployment pod will poll the source directories for changes. This change is motivated by the fact that DaemonSets must run with RestartAlways.

/cc @bgrant0607 @erictune @pmorie @pweil-
2016-08-02 23:36:35 -07:00
Kubernetes Submit Queue 503f5afe1a Merge pull request #29858 from xiangpengzhao/delete-useless-code
Automatic merge from submit-queue

Delete useless code

The correct code is `cluster, ok := obj.(*v1beta1.Cluster)`, so the above `cluster := obj.(*v1beta1.Cluster)` is useless.
2016-08-02 23:36:31 -07:00
Kubernetes Submit Queue 93385a2f97 Merge pull request #29623 from feiskyer/kuberuntime-remote
Automatic merge from submit-queue

Kubelet: add gRPC implementation of new runtime interface

Add gRPC implementation of new runtime interface.

CC @yujuhong @Random-Liu  @kubernetes/sig-node
2016-08-02 23:36:26 -07:00
Kubernetes Submit Queue d3f36756d5 Merge pull request #29601 from caesarxuchao/check-list
Automatic merge from submit-queue

Validate list objects when building scheme

The first commit is #29468. This PR is a followup.

Modified the description of **List** in api-convention.md to:
`The name of a list kind must end with "List". Lists have a limited set of common metadata. All lists use the required "items" field to contain the array of objects they return. Any kind that has the "items" field must be a list kind.`

Also added code to enforce the above rules during scheme registration.

@kubernetes/sig-api-machinery @bgrant0607 @erictune @lavalamp @smarterclayton
2016-08-02 22:53:40 -07:00
Kubernetes Submit Queue c19a65c0c6 Merge pull request #29942 from ibm-contribs/issue-29546
Automatic merge from submit-queue

Documented second arg to create-flanneld-opts in cluster/ubuntu/util.sh

This is a bug fix, no release note needed.

Fixes #29546
2016-08-02 21:39:43 -07:00
Kubernetes Submit Queue 4f9c3d52b2 Merge pull request #29163 from lojies/adderr
Automatic merge from submit-queue

add err return

Since err can be returned by previous code,  add err return.
2016-08-02 21:39:39 -07:00
Kubernetes Submit Queue 1edf254efb Merge pull request #25458 from errm/env-var-style-config-keys
Automatic merge from submit-queue

Allow Secret & ConfigMap keys to contain caps, dots, and underscores

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Re: #23722

This makes loosens the regex used in in Secrets and ConfigMap,
in order to make environment variable style keys valid
2016-08-02 21:00:52 -07:00
Pengfei Ni 81a79cd4c0 Kubelet: add kubeGenericRuntimeManager for new runtime API 2016-08-03 08:26:53 +08:00
Kubernetes Submit Queue f614cb4347 Merge pull request #29944 from a-robinson/auto
Automatic merge from submit-queue

Give away my e2e tests.
2016-08-02 17:26:14 -07:00
Kubernetes Submit Queue 74c6dbc8f5 Merge pull request #29940 from rmmh/fix-godeps
Automatic merge from submit-queue

Fix bad Godeps.

These changes make the updated verify-godeps.sh in #29920 pass.

Fixes #29402.
2016-08-02 17:26:10 -07:00
Kubernetes Submit Queue 0fbe6a82d5 Merge pull request #29700 from yujuhong/dshim3
Automatic merge from submit-queue

dockershim: Implement PodSandboxMethods

Only the last three commits are new.
2016-08-02 16:24:17 -07:00
Kubernetes Submit Queue a3f7797019 Merge pull request #28902 from ibm-contribs/fix_allow_all
Automatic merge from submit-queue

Fix the allow-all example NetworkPolicy

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

This is a bug fix, no release note required.

Fixes #28795
2016-08-02 16:24:12 -07:00
Kubernetes Submit Queue 31ff5d423d Merge pull request #29892 from david-mcmahon/jenkins2
Automatic merge from submit-queue

Clone kubernetes/release into something other than /release due to conflict with /release.

It looks like $WORKSPACE is the root of the kubernetes clone.  I think ideally we'd move that down a level and allow subdirectories of different repos.  I think this may become the norm as we split things up further as well.  What do you think and how should we proceed here?  @ixdy @spxtr
2016-08-02 16:24:07 -07:00
Pengfei Ni f8c51adbe1 Log id in error message 2016-08-03 07:22:06 +08:00
Chao Xu 81858d755e add validateListType to pkg/api/meta/schema_test.go 2016-08-02 15:47:24 -07:00
Alex Robinson 0ed8fa5693 Give away my e2e tests. 2016-08-02 22:43:20 +00:00
Yu-Ju Hong 5960d87d21 dockershim: Implement sandbox methods 2016-08-02 15:24:52 -07:00
Kubernetes Submit Queue fa5f3b816e Merge pull request #29877 from spxtr/gke-build
Automatic merge from submit-queue

GKE test-build-release: Actually do the build.

Multiple devs (myself included!) have experienced frustration with the fact that if `KUBERNETES_PROVIDER=gke` then `hack/e2e.go --build` doesn't actually do a build.

Are we actually relying on this behavior anywhere?
2016-08-02 15:20:41 -07:00
Andrey Kurilin 9f1c3a4c56 Fix various typos in kubelet 2016-08-03 01:14:44 +03:00
Hongchao Deng c9e0271b9d automation.md: fix typos 2016-08-02 15:13:47 -07:00
Kubernetes Submit Queue f2a9ba2339 Merge pull request #27392 from sjenning/old-kubectl-watch
Automatic merge from submit-queue

allow watching old resources with kubectl

Right now, one can not watch a resource with kubectl whose resourceVersion is outside the etcd watch window.  Specifying resourceVersion=0 returns the current object, then watches from the current index.

This PR changes the logic to use resourceVersion=0, which will work regardless of the resourceVersion of the object, and discard the first event if --watch-only is specified.

@ncdc @aveshagarwal
2016-08-02 14:44:20 -07:00
Daniel Smith d2c17c7cfa Merge pull request #29943 from kubernetes/revert-28840-influx-ps
Revert "Modified influxdb petset to provision persistent  volume."
2016-08-02 14:04:30 -07:00
Daniel Smith 651c8a4b2f Revert "Modified influxdb petset to provision persistent volume." 2016-08-02 14:03:37 -07:00
Mike Spreitzer 923b2b4782 Documented second arg to create-flanneld-opts in cluster/ubuntu/util.sh
Fixes #29546
2016-08-02 16:33:55 -04:00
k8s-merge-robot fd4e923890 Merge pull request #29332 from caesarxuchao/gc-e2e
Automatic merge from submit-queue

[Garbage Collector] add e2e tests again

#27151 is reverted because gke didn't start correctly after it's merged (https://github.com/kubernetes/kubernetes/pull/27151#issuecomment-233030686).

The possible problem is the `unbound variable`, which is fixed in the second commit of this PR. However, I cannot verify if the PR will fail the gke suite since I don't have the environment to run that suite.

@wojtek-t @lavalamp
2016-08-02 13:26:43 -07:00
Ryan Hitchman 06b67b1939 Add missing .drone.sec file to make verify-godeps happy (#29402) 2016-08-02 13:18:18 -07:00
Ryan Hitchman c67d403d43 Fix Ginkgo entries in Godeps.json. (#29402) 2016-08-02 13:18:18 -07:00
David McMahon eceef16b9f Clone kubernetes/release into something other than /release due to conflict. 2016-08-02 13:02:39 -07:00
k8s-merge-robot 8805bbba3f Merge pull request #29564 from rmmh/owners
Automatic merge from submit-queue

Update test-owners with new tests, add catch-all assignment to test-infra team.

We will triage any additional failures, since they're more likely to be infra related. If they're not, they can always be reassigned (and the owners list can be updated!)

/cc @kubernetes/test-infra-maintainers
2016-08-02 12:53:12 -07:00
k8s-merge-robot a2f60508bb Merge pull request #28711 from krousey/disco_restmapper
Automatic merge from submit-queue

discovery: Adding a discover based RESTMapper

Added a PriorityRESTMapper that operates off of discovery information. I
made an auxiliary data type and function to help collect and organize
the information.
2016-08-02 12:53:06 -07:00
k8s-merge-robot 81ab15ce44 Merge pull request #28700 from colemickens/azure-kube-up-fix-env-var
Automatic merge from submit-queue

azure: kube-up respects AZURE_RESOURCE_GROUP

This fixes #28482.

* declare AZKUBE_ variables as global to workaround lack of bash support for exporting array variables
2016-08-02 12:18:43 -07:00
k8s-merge-robot cadee46753 Merge pull request #28840 from jszczepkowski/influx-ps
Automatic merge from submit-queue

Modified influxdb petset to provision persistent  volume.


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

[WIP] Modified influxdb petset to create claim.
2016-08-02 11:07:39 -07:00
Daniel Smith e5890d9ea5 Merge pull request #29918 from deads2k/fix-testcmd
fix hack/test-cmd
2016-08-02 10:36:24 -07:00