Commit Graph

33017 Commits

Author SHA1 Message Date
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
Wojciech Tyczynski
b68905b4e0 Reenable PodAffinity e2e tests 2016-08-03 10:34:51 +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
PingWang
eba0d125b9 add DefaultServiceNodePortRange const
Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update DefaultServiceNodePortRange define

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2016-08-03 12:39:46 +08: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
Erick Fejta
548780f05a Revert "Revert "Drop support for --gce-service-account, require activated creds"" 2016-08-02 20:34:02 -07:00
Paul Morie
44beb98f77 Add dry run capability to cherry_pick_pull.sh 2016-08-02 22:16:55 -04:00
Fabiano Franz
30cf0f9890 Handle container terminated but pod still running in conditions 2016-08-02 21:32:15 -03: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
bindata-mockuser
e00a35ccad updated cadvisor version 2016-08-02 16:33:03 -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
Matt Bruzek
34dca937b4 Replacing skydns with kubedns for the juju cluster. #29720 2016-08-02 16:49:27 -05:00
Davide Agnello
19642aa4bd vSphere Volume Attach limit bug
- Cannot attach scsi devices to slot #7
- Limit of 4 scsi controllers per vm MAX
2016-08-02 14:49:09 -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
Eric Chiang
7ec270dce7 *: regenerate all 2016-08-02 13:33:34 -07:00
Eric Chiang
93947663d9 RBAC: don't allow rules to mix non-resource URLs and resources 2016-08-02 13:33:34 -07: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
Kris
a87377c7a9 Adding a defered RESTMapper 2016-08-02 10:35:44 -07:00
Kris
4e1f1c10ff 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 10:35:44 -07:00
k8s-merge-robot
7a62b9c8d1 Merge pull request #29523 from fraenkel/service_names_rfc1035
Automatic merge from submit-queue

Allow service names up to 63 characters (RFC 1035)

fixes #3752
2016-08-02 10:33:16 -07:00