Commit Graph

27959 Commits

Author SHA1 Message Date
Isaac Hollander McCreery
215872613b Revert "Always use long format in git tag." 2016-04-26 15:03:15 -07:00
Q-Lee
be87587158 Merge pull request #24822 from spxtr/revert-shallow-ye
Revert "Shallow clone for kubernetes-build and kubernetes-test-go jobs."
2016-04-26 14:22:16 -07:00
Joe Finney
6b012493c3 Revert "Shallow clone for kubernetes-build and kubernetes-test-go jobs."
This reverts commit 5121ce3dc3.
2016-04-26 14:15:42 -07:00
k8s-merge-robot
bc382a8b0a Merge pull request #24811 from duglin/FixIndent
Automatic merge from submit-queue

Fix indentation of Note

W/o this fix the **Note** shows up a the 2nd option instead of as part of the 1st option.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-04-26 13:45:12 -07:00
k8s-merge-robot
373a3ece84 Merge pull request #24475 from k82/k8s-24411
Automatic merge from submit-queue

Clarify `kubectl get service` output.

Pull request for #24411 .
2016-04-26 13:45:09 -07:00
k8s-merge-robot
95f2ca2ff6 Merge pull request #24766 from spxtr/shallow-ye
Automatic merge from submit-queue

Shallow clone for kubernetes-build and kubernetes-test-go jobs.

This should save us about 160M per clone.
2016-04-26 13:00:23 -07:00
k8s-merge-robot
773bb777f4 Merge pull request #24749 from andyzheng0831/enhance
Automatic merge from submit-queue

Trusty: Add retry in curl commands

This fix is for improving robustness in fetch critical metadata files when the metadata server is temporarily unreachable.

@roberthbailey @zmerlynn @dchen1107 please review it.

cc/ @fabioy @wonderfly FYI.
2016-04-26 13:00:21 -07:00
Doug Davis
231c4c8d9d Fix indentation of Note
Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-04-26 11:22:20 -07:00
k8s-merge-robot
c7a1e5da68 Merge pull request #24061 from timothysc/kvstore
Automatic merge from submit-queue

Renaming generic registry store from etcd->kvstore

This is part of issue #17546, in preparation for multiple backend storage facilities, renaming the registry structs to reflect.  

xref: #1957
2016-04-26 11:00:19 -07:00
k8s-merge-robot
96586e7c60 Merge pull request #23958 from petervo/byte-args
Automatic merge from submit-queue

kubectl: Allow []byte config fields to be set by the cli

Allows []byte config fields such as 'certificate-authority-data' to be set using `kubectl config set` commands.
2016-04-26 10:23:07 -07:00
k8s-merge-robot
55cb7cceb3 Merge pull request #23632 from stefwalter/parse-repository-tag-removed
Automatic merge from submit-queue

Fix use of docker removed ParseRepositoryTag() function

Docker has removed the ParseRepositoryTag() function in
leading to failures using the kubernetes Go client API.

Failure:

```
../k8s.io/kubernetes/pkg/util/parsers/parsers.go:30: undefined: parsers.ParseRepositoryTag
```
2016-04-26 09:49:25 -07:00
k8s-merge-robot
9b08bc62d1 Merge pull request #24623 from ixdy/kubemark-cluster-logs
Automatic merge from submit-queue

Use cluster/log-dump.sh to collect base cluster logs in kubemark

Fixes #24415.

cc @fejta @spxtr @wojtek-t
2016-04-26 09:13:42 -07:00
k8s-merge-robot
f79c7d12c6 Merge pull request #24382 from smarterclayton/fix_rlqt
Automatic merge from submit-queue

RateLimitedQueue TestTryOrdering could fail under load

Remove the possibility of contention in the test by providing a
synthetic Now() function.

Fixes #24125
2016-04-26 08:40:58 -07:00
k8s-merge-robot
d609e6cc98 Merge pull request #24676 from jeffvance/hack-pv
Automatic merge from submit-queue

added claim_binder sync period

simple addition to local-up-cluster to support pvclaimbinder-sync-period.
2016-04-26 08:07:15 -07:00
k8s-merge-robot
b8131feaf4 Merge pull request #24131 from fejta/cron
Automatic merge from submit-queue

Script to cache metadata requests on the jenkins master

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

Create an http server which caches most requests to the metadata server. Use special logic to cache access tokens such that the expires_on json field is correct. Add a script to simplify enabling/disabling the cache by editing `/etc/hosts`
2016-04-26 08:07:13 -07:00
Timothy St. Clair
24b4286960 In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
k8s-merge-robot
9db45590cf Merge pull request #24772 from nikhiljindal/newConfig
Automatic merge from submit-queue

Using genericapiserver.NewConfig() instead of initialising Config in example apiserver
2016-04-25 23:33:44 -07:00
Erick Fejta
7605ff0380 Script to cache metadata requests on the jenkins master 2016-04-25 23:15:27 -07:00
k8s-merge-robot
a586177360 Merge pull request #23740 from dcbw/kubenet-shaper
Automatic merge from submit-queue

kubenet: hook pod bandwidth resources up to shaper

@bprashanth @thockin Last bit for shaping.
2016-04-25 22:15:42 -07:00
k8s-merge-robot
cf38d68734 Merge pull request #23595 from vishh/image-accounting
Automatic merge from submit-queue

Collect and expose runtime's image storage usage via Kubelet's /stats/summary endpoint

This information is useful to users since docker images are typically not stored on the root filesystem.

Kubelet will also consume this feature in the future to decide is evicting images will help with disk usage on the nodes.

cc @kubernetes/sig-node
2016-04-25 21:34:30 -07:00
k8s-merge-robot
293b0d0815 Merge pull request #23493 from soltysh/move_job_internals
Automatic merge from submit-queue

Move internal types of job from pkg/apis/extensions to pkg/apis/batch

This addressed the job part of #23216, this is still WIP. Will notify once finished. I'd like to have it in before starting working on ScheduledJob. 

@lavalamp @erictune fyi
2016-04-25 20:58:49 -07:00
k8s-merge-robot
1cd93cb1d6 Merge pull request #23250 from huggsboson/patch-1
Automatic merge from submit-queue

Use kube-system namespace

Fixes #23153.

Sadly, kube-system isn't automatically created, so people need to make
sure to create it in their turnup scripts.  Also after creating
kube-system it can take 10+ seconds for master and proxy to show up.

I tested the equivalent of these changes locally, but not these changes
themselves as I don't have a dev/build env up, so please read carefully
and maybe try them out!
2016-04-25 20:23:36 -07:00
k8s-merge-robot
b04f6ffc48 Merge pull request #24646 from nikhiljindal/removeMasterDep
Automatic merge from submit-queue

Move SSHTunneler to genericapiserver and remove federated-apiserver's dependency on pkg/master

cc @jianhuiz
2016-04-25 19:50:37 -07:00
k8s-merge-robot
869580b593 Merge pull request #24280 from deads2k/quota-single-writer
Automatic merge from submit-queue

use single writer to improve quota performance

Performance improvement is comparable to https://github.com/openshift/origin/pull/6658, though I'm getting some crazy stalls during initial calculation on master (not on this branch), so there may be an existing problem.  This implementation won't scale out quite as well, but I don't think we'll need much more for a while and this one is easier to read.

This buckets based on namespace, then bunches updates where possible to avoid request fanout, and does fast notification when it can.  It correctly handles updating multiple quota docs.

@derekwaynecarr @kubernetes/rh-cluster-infra
2016-04-25 18:13:31 -07:00
k8s-merge-robot
f1686ef4da Merge pull request #24746 from ixdy/node-names
Automatic merge from submit-queue

Make detect-node-names less brittle for G{C,K}E

Use the `--format='value()'` option with `gcloud compute instance-groups managed list{,-instances}` instead of `--format=yaml` with a series of `grep`s and `cut`s. This is hopefully a bit more stable.

Fixes #24120.

cc @kubernetes/sig-testing @jlowdermilk @freehan
2016-04-25 17:32:49 -07:00
nikhiljindal
e17da8b493 Using genericapiserver.NewConfig() instead of initialising Config 2016-04-25 17:27:18 -07:00
k8s-merge-robot
44021747ab Merge pull request #24756 from euank/rkt-fix-os-arg
Automatic merge from submit-queue

rkt: Pass through os argument

This was lost in a rebase in #24496 and, while not required to build, is
required to function correctly under rkt (else panics!)

cc @yifan-gu
2016-04-25 16:05:18 -07:00
k8s-merge-robot
577fa2e2c8 Merge pull request #24752 from zmerlynn/1000nodes-3
Automatic merge from submit-queue

gke-large-cluster: Allow up to 1% of 1000 = 10 nodes

Per 2016/03/16 GKE release note, CreateCluster can return success with
only 99% success.
2016-04-25 16:05:16 -07:00
k8s-merge-robot
48a2d00981 Merge pull request #24724 from pyle/patch-1
Automatic merge from submit-queue

Incorrect attribute - docs - pod-security-context

Pod definition had incorrect spelling on attribute `securityContext`
Also fixed the flow of Motivation introduction paragraph.
2016-04-25 16:05:14 -07:00
Vishnu kannan
e566948a75 Track image storage usage for docker containers
add image fs info to summary stats API.
Adding node e2e test for image stats.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-25 16:00:34 -07:00
Joe Finney
5121ce3dc3 Shallow clone for kubernetes-build and kubernetes-test-go jobs. 2016-04-25 15:43:55 -07:00
Zach Loafman
a505882adb gke-large-cluster: Allow up to 1% of 1000 = 10 nodes
Per 2016/03/16 GKE release note, CreateCluster can return success with
only 99% success.
2016-04-25 14:16:26 -07:00
k8s-merge-robot
596c96da8a Merge pull request #24741 from zmerlynn/1000nodes-2
Automatic merge from submit-queue

Change kubernetes-e2e-gke-large-cluster to n1-highmem-2
2016-04-25 13:37:04 -07:00
k8s-merge-robot
71c19a7014 Merge pull request #24515 from k82/typo_in_hooks
Automatic merge from submit-queue

Corrected format in hooks/pre-commit.

Format enhancement.
2016-04-25 13:37:01 -07:00
Andy Zheng
72f3cb664f Trusty: Add retry in curl commands 2016-04-25 12:59:30 -07:00
Euan Kemp
941caa1372 rkt: Pass through os argument
This was lost in a rebase in #24496 and, while not required to build, is
required to function correctly.
2016-04-25 12:56:25 -07:00
Jeff Grafton
b69b94103c Make detect-node-names less brittle for G{C,K}E 2016-04-25 12:10:25 -07:00
Zach Loafman
cc7634f84a Change kubernetes-e2e-gke-large-cluster to n1-highmem-2
c.f. internal b/27776043
2016-04-25 11:19:42 -07:00
Jeff Vance
f4f6a53a3b added claim_binder sync period 2016-04-25 09:40:50 -07:00
deads2k
d3c6363093 use single writer to improve quota performance 2016-04-25 10:42:26 -04:00
Piotr Szczesniak
daf6be1a66 Merge pull request #24706 from jayunit100/redis-wait
Slow down redis polling to ensure no flakiness in kubectl
2016-04-25 12:13:01 +02:00
Stef Walter
481dbca8bc Fix use of docker removed ParseRepositoryTag() function
Docker has removed the ParseRepositoryTag() function in
leading to failures using the kubernetes Go client API.

Lets use github.com/docker/distribution reference.ParseNamed()
instead.

Failure:

../k8s.io/kubernetes/pkg/util/parsers/parsers.go:30: undefined: parsers.ParseRepositoryTag
2016-04-25 11:37:10 +02:00
Andy Goldstein
04da473594 Add docker/distribution to Godeps
Use docker/distribution to parse image refs

Signed-off-by: Stef Walter <stefw@redhat.com>
 * Added files required by hack/verify-godeps.sh
2016-04-25 11:27:07 +02:00
Wojciech Tyczynski
c0020aff59 Merge pull request #24539 from smarterclayton/unify_stream_and_serial
Unify Streaming and normal Serializers
2016-04-25 11:25:16 +02:00
Maciej Szulik
c470afc206 Generated changes for moving job internals from pkg/apis/extensions to pkg/apis/batch 2016-04-25 11:03:57 +02:00
Maciej Szulik
a3b4447305 Move internal types of job from pkg/apis/extensions to pkg/apis/batch 2016-04-25 11:03:54 +02:00
Clayton Coleman
08f136b8d9
RateLimitedQueue TestTryOrdering could fail under load
Remove the possibility of contention in the test by providing a
synthetic Now() function.
2016-04-24 20:03:04 -04:00
Adam Pyle
ea53fd7697 Incorrect attribute - docs - pod-security-context
Pod definition had incorrect spelling on attribute `securityContext`
Also fixed the flow of Motivation intro paragraph.
2016-04-25 09:18:26 +10:00
k8s-merge-robot
c5df0bf23e Merge pull request #24502 from cjcullen/subresource
Automatic merge from submit-queue

Add Subresource & Name to webhook authorizer.

Pass through the Subresource and Name fields from the `authorization.Attributes` to the `SubjectAccessReviewSpec.ResourceAttributes`.
2016-04-24 01:14:43 -07:00
k8s-merge-robot
39f62240db Merge pull request #24499 from gmarek/load
Automatic merge from submit-queue

Add Services to Load test
2016-04-23 23:03:53 -07:00