Commit Graph

28274 Commits (60324ff884e3f38e482ab571a931d613369602b0)

Author SHA1 Message Date
Paul Morie c386850d23 Reduce LOC in third party controller test 2016-04-27 02:50:46 -04:00
Erick Fejta 08c5af6e45 Use tagged redis image for kubectl test, move json test file out of deprecated examples 2016-04-26 21:43:19 -07:00
k8s-merge-robot af71fa72e7 Merge pull request #23574 from deads2k/add-extra
Automatic merge from submit-queue

add user.Info.GetExtra

I found myself wanting this field (or something like it), when trying to plumb the information about which scopes a particular token has.

Only the token authenticators have that information and I don't want tokens to leak past the authenticator.  I thought about extending the `authenticator.Token` interface to include scopes (`[]string`), but that felt a little specific for what I wanted to do.  I came up with this as an alternative.

It allows the token authenticator to fill in the information and authorizers already get handed the `user.Info`.  It means that implementors can choose to tie the layers together if they wish, using whatever data they think is best.  

@kubernetes/kube-iam
2016-04-26 21:14:53 -07:00
Erick Fejta e01825bfee Add blocking suites to daily summary
Add title and optional script to html header
2016-04-26 20:15:25 -07:00
k8s-merge-robot c195610847 Merge pull request #24832 from ixdy/jenkins-daily-maintenance-job
Automatic merge from submit-queue

Only remove day+ old containers in Jenkins daily cleanup

Docker has no way to filter by age, so we have to do it with grep instead.

Fixes #24661, I hope.

cc @fejta @spxtr
2016-04-26 18:53:43 -07:00
k8s-merge-robot 573ece20a2 Merge pull request #24830 from yujuhong/dummy_env
Automatic merge from submit-queue

e2e: add a dummy environment variable in the service tests

This works around the docker bug:
https://github.com/docker/docker/issues/14203
2016-04-26 18:53:41 -07:00
Jeff Grafton 5487a3f8f6 Fix detect-node-names to not error out if there are no nodes 2016-04-26 17:48:25 -07:00
Joe Finney 7059717c78 Use zone from the test context for static IPs. 2016-04-26 17:39:48 -07:00
Alex Robinson ed15931935 Fix DeletingLoadBalancer event generation.
Also patch up a log statement to log the service's namespace and name
rather than potentially just logging `kind:"" apiVersion:""`.
2016-04-27 00:27:55 +00:00
David McMahon f095d9fae5 Rename PULL_REQUEST_TEMPLATE to PULL_REQUEST_TEMPLATE.md.
Rename header.  Remove some extra text that wasn't meant for the original PR.
2016-04-26 17:21:25 -07:00
Jeff Grafton 6367cd135f Only remove day+ old containers in Jenkins daily cleanup 2016-04-26 17:08:23 -07:00
Yu-Ju Hong bdadaefe3b e2e: add a dummy environment variable in the service tests
This works around the docker bug:
https://github.com/docker/docker/issues/14203
2016-04-26 16:25:26 -07:00
k8s-merge-robot 3b09c64161 Merge pull request #24818 from deads2k/deflake-quota-int
Automatic merge from submit-queue

deflake quota master init order

fixes https://github.com/kubernetes/kubernetes/issues/24816

blocks serving until the Handler is available

@smarterclayton
2016-04-26 15:55:53 -07:00
Jay Vyas 95e315e427 E2E Network performance run which uses iperf.
generic pod-per-node functionality for testing - 2 node test only
- update framework to decompose pod vs svc creation for composition.
- remove hard coded 2 and pointer to --scale
2016-04-26 18:42:19 -04:00
k8s-merge-robot 64fbb4a81e Merge pull request #24740 from caesarxuchao/change-update-all-order
Automatic merge from submit-queue

update codegen before update codecgen

Currently if I remove an API field, update-codecgen will complain generated deepcopy functions referring to invalid fields. Running update-codegen before update-codecgen solves the problem.
2016-04-26 15:13:40 -07:00
Minhan Xia 0d36dc7000 added test for revertPorts 2016-04-26 14:23:06 -07:00
Minhan Xia 56ad718008 only close new ports upon iptables-restore failure 2016-04-26 14:23:06 -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
Minhan Xia c8470c49ac add mutex for kubenet 2016-04-26 13:58:10 -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
deads2k e8ce9852e1 deflake quota master init order 2016-04-26 16:37:56 -04: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
gmarek 24bf07cc20 Enable resource gatherer in Kubemark tests 2016-04-26 21:53:05 +02:00
deads2k b4ebfd47c5 add user.Info.GetExtra 2016-04-26 15:08:34 -04: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
Johannes Scheuermann e13a2c1d5b Update Docker version after cockpit installation 2016-04-26 15:30:54 +02:00
deads2k 0061479890 fully qualify admission resources and kinds 2016-04-26 07:55:33 -04:00
jianhuiz 3bdd4130cd add protobuf generation 2016-04-26 02:08:10 -07:00
jianhuiz 384f801cb0 replace cluster phase with conditions 2016-04-26 02:06:47 -07:00
jianhuiz b195732a59 register federation/clusters to federated-apiserver 2016-04-26 02:06:47 -07:00
jianhuiz 1c1ad1ad3f add cluster registry 2016-04-26 02:06:47 -07:00
jianhuiz fcb241d05c add api group 'federation' and 'cluster' object 2016-04-26 02:05:51 -07: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