Commit Graph

3240 Commits (da1178696898849e64a262014c5ad50981a51521)

Author SHA1 Message Date
k8s-merge-robot 0ef4c6407b Merge pull request #24902 from cjcullen/webhookAuthn
Automatic merge from submit-queue

Webhook Token Authenticator

Add a webhook token authenticator plugin to allow a remote service to make authentication decisions.
2016-05-11 22:08:58 -07:00
k8s-merge-robot b1560f36c3 Merge pull request #25477 from gmarek/e2e_dump
Automatic merge from submit-queue

Add a flag to disable dumpig logs after e2e test failure

cc @kubernetes/sig-testing
2016-05-11 20:34:58 -07:00
saadali 07f1e58d9a Modify verify-godeps to use v63 and hack 2016-05-11 17:59:29 -07:00
Mike Metral 1737736960 fix filepath for cert_data 2016-05-11 13:07:45 -07:00
Isaac Hollander McCreery 3f3e2d9b9a Add infra to e2e-runner to allow running tests with a skewed kubectl 2016-05-11 11:08:19 -07:00
k8s-merge-robot 7ae1dab280 Merge pull request #25172 from pwittrock/kubectl-apiversion
Automatic merge from submit-queue

Kubectl support for validating nested objects with different ApiGroups

## Pull Request Guidelines

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
1. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
1. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below.

```release-note
kubectl now supports validation of nested objects with different ApiGroups (e.g. objects in a List)
```


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

#24089
2016-05-11 10:11:55 -07:00
gmarek 2696e35be3 Add a flag to disable dumpig logs after e2e test failure 2016-05-11 16:53:30 +02:00
Eric Chiang 6a1f46895e pkg/apis: rbac types added 2016-05-11 12:01:06 +02:00
nikhiljindal 754848cf52 Updating update-codegen to update federation_clientset as well 2016-05-10 17:20:21 -07:00
CJ Cullen eb3b0e78b4 Add a webhook token authenticator plugin. 2016-05-10 14:54:35 -07:00
Maciej Szulik a31ca0dc98 enable batch/v2alpha1 tests 2016-05-10 22:40:24 +02:00
Maciej Szulik 5ef870d4c7 Added JobTemplate, a preliminary step for ScheduledJob and Workflow 2016-05-10 21:48:39 +02:00
Jay Vyas 801c968fff Standard input for kubectl tests
rebased to include gobindata as well.
2016-05-10 14:16:50 -04:00
Phillip Wittrock 680b2b9d09 Kubectl support for validating nested objects with different ApiGroups (e.g. Lists containing objects in different api groups). Closes #24089 2016-05-09 19:38:40 -07:00
Rudi Chiarito 362c763fca WIP v0 NVIDIA GPU support
Implements part of #24071

I am not familiar with the scheduler enough to know what to do with the scores. Punting for now.

Missing items from the implementation plan: limitranger, rkt support, kubectl
support and user docs
2016-05-09 19:20:05 -04:00
Jeff Grafton 5c77a3bd7c dockerized e2e: explicitly mount public and private ssh keys 2016-05-09 15:50:55 -07:00
k8s-merge-robot e973b5d27a Merge pull request #25354 from wojtek-t/fix_protobuf_generator
Automatic merge from submit-queue

Fix script for updating protobufs.

Fix #25351

@thockin
2016-05-09 09:24:58 -07:00
k8s-merge-robot 58ccbffb82 Merge pull request #25303 from ingvagabund/hack-update-all-remove-dollar-symbol
Automatic merge from submit-queue

Hack update all remove dollar symbol

When not running ./hack/update in silent mode, the script fails due to undefined ``$Updating`` variable.
2016-05-09 08:36:10 -07:00
Wojciech Tyczynski 9a8e4f69cd Fix script for updating protobufs. 2016-05-09 15:57:26 +02:00
k8s-merge-robot 06e2a3543f Merge pull request #25310 from swagiaal/cloud-provder
Automatic merge from submit-queue

Add cloud-provider setting to local-up-cluster.sh
2016-05-09 01:08:19 -07:00
k8s-merge-robot fa95788e56 Merge pull request #24242 from thockin/godep_vendor_dir
Automatic merge from submit-queue

Move godeps to vendor/

This is a first-step towards glide support, maybe we don't want or need to take this, but it was easy to try.

This fails to compile, not sure why:

```
# k8s.io/kubernetes/pkg/apis/extensions/v1beta1
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2703: undefined: extensions.ClusterAutoscaler
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2703: undefined: ClusterAutoscaler
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2719: undefined: extensions.ClusterAutoscaler
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2719: undefined: ClusterAutoscaler
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2723: undefined: extensions.ClusterAutoscalerList
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2723: undefined: ClusterAutoscalerList
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:3468: Convert_extensions_JobSpec_To_v1beta1_JobSpec redeclared in this block
	previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:328
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:3845: Convert_extensions_ScaleStatus_To_v1beta1_ScaleStatus redeclared in this block
	previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:98
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:4737: Convert_v1beta1_JobSpec_To_extensions_JobSpec redeclared in this block
	previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:380
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:5186: Convert_v1beta1_ScaleStatus_To_extensions_ScaleStatus redeclared in this block
	previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:120
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2723: too many errors
!!! Error in /home/thockin/tmp/godep-vendor/src/k8s.io/kubernetes/hack/lib/golang.sh:417
```
2016-05-08 22:20:09 -07:00
k8s-merge-robot 5dd087040b Merge pull request #24511 from pbx0/kubelet-symlink
Automatic merge from submit-queue

cluster/images/hyperkube: create symlink for each server

Add a kubelet symlink so that the hyperkube image can appear as a kubelet image. https://github.com/kubernetes/kubernetes/issues/24510
2016-05-08 21:31:23 -07:00
Tim Hockin 2100016e0f Don't set the golang env for ginkgo
a) it doesn't need it

b) changing CWD to a path with symlinks breaks deep within ginkgo, where it
crafts a relative path to ../../../../../../platforms/amd64/whatever which then
traverses the physical path not the symlinked one, and breaks.
2016-05-08 20:32:09 -07:00
Tim Hockin 18e7a3eb24 Get rid of hack/after-build scripts
The build is now fast enough to not need them.
2016-05-08 20:32:06 -07:00
Tim Hockin 833770d9ac Fix verify-godeps 2016-05-08 20:30:39 -07:00
Tim Hockin bfabdb05c5 Fix update-generated-swagger-docs 2016-05-08 20:30:39 -07:00
Tim Hockin 3facb3522b Godeps licenses
Fix the licenses script and run it.
2016-05-08 20:30:39 -07:00
Tim Hockin 537602d296 Get rid of _workspace in jenkins 2016-05-08 20:30:38 -07:00
Tim Hockin 79e2e5c108 Make *-generated-protobuf work with vendor 2016-05-08 20:30:38 -07:00
Tim Hockin 9a83015e60 Fix path munging funcs and usage
Our `realpath` and `readlink -f` functions (required only because of MacOS,
thanks Steve) were poor substitutes at best.  Mostly they were downright
broken.  This thoroughly overhauls them and adds a test (in comments, since we
don't seem to have shell tests).  For all the interesting cases I could think
of, the fakes act just like the real thing.

Then use those and canonicalize KUBE_ROOT.  In order to make recursive calls of
our shell tool not additively grow `pwd` we have to essentially make the
sourcing of init.sh idempotent.
2016-05-08 20:30:38 -07:00
Tim Hockin 527cb50583 Demand at least go1.6 2016-05-08 20:30:37 -07:00
Tim Hockin cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
k8s-merge-robot 41b7b04faf Merge pull request #24554 from ingvagabund/dhodovska-events-flag-for-describers
Automatic merge from submit-queue

Introduce events flag for describers

Printing events for a given object is not always needed. Thus, introducing --show-events=false to ``kubectl describe`` to skip events printing.

Fixes: #24239
2016-05-08 14:41:28 -07:00
k8s-merge-robot f46f35a9df Merge pull request #23600 from mikedanese/addon-manager
Automatic merge from submit-queue

run kube-addon-manager in a static pod

Depends on https://github.com/kubernetes/kubernetes/pull/23605 and https://github.com/kubernetes/kubernetes/pull/24108

Ref #23233
2016-05-08 11:30:44 -07:00
k8s-merge-robot 8a04506546 Merge pull request #23009 from uluyol/c-pause
Automatic merge from submit-queue

Reimplement 'pause' in C - smaller footprint all around

Statically links against musl. Size of amd64 binary is 3560 bytes.

I couldn't test the arm binary since I have no hardware to test it on, though I assume we want it to work on a raspberry pi.

This PR also adds the gcc5/musl cross compiling image used to build the binaries.

@thockin
2016-05-08 09:29:32 -07:00
k8s-merge-robot f2f3b49f58 Merge pull request #22575 from MikaelCluseau/wip-issue-20466
Automatic merge from submit-queue

Add subPath to mount a child dir or file of a volumeMount

Allow users to specify a subPath in Container.volumeMounts so they can use a single volume for many mounts instead of creating many volumes. For instance, a user can now use a single PersistentVolume to store the Mysql database and the document root of an Apache server of a LAMP stack pod by mapping them to different subPaths in this single volume.

Also solves https://github.com/kubernetes/kubernetes/issues/20466.
2016-05-08 08:45:15 -07:00
Sami Wagiaalla e9045bea22 Verify that openssl is installed in local-up-cluster.sh 2016-05-07 12:59:17 -04:00
Sami Wagiaalla dc6f36634d Add cloud-provider setting to local-up-cluster.sh 2016-05-07 12:57:58 -04:00
Jan Chaloupka 8f6b8923f0 Remove superfluous dollar causing hack/update-all.sh to fail when not running in silent mode 2016-05-07 10:15:32 +02:00
Matt Liggett c00fa39eee Define PodDisruption API types. 2016-05-06 17:24:53 -07:00
Jeff Grafton bc7922c374 Replace awkward bash pipelines with gcloud's --format='value()'
Also remove old `gcloud compute instance-groups managed get-operation`
code. This command doesn't even exist in gcloud anymore.
2016-05-06 15:49:57 -07:00
Robert Bailey f0d4437fc7 Merge pull request #24769 from smarterclayton/testcmd_on_mac
Allow test-cmd to run on non-Linux OS
2016-05-06 13:54:43 -07:00
Robert Bailey 2f65d2e617 Merge pull request #24666 from smarterclayton/munge_upstream
mungedocs should not assume upstream remote
2016-05-06 13:37:35 -07:00
Robert Bailey 828b4f8240 Merge pull request #24825 from kubernetes/revert-23157-fix-tags
Revert "Always use long format in git tag."
2016-05-06 13:34:32 -07:00
Mike Danese 3e1c0b5951 run kube-addon-manager in a pod 2016-05-06 11:01:06 -07:00
k8s-merge-robot a64ef4d3df Merge pull request #25042 from wonderfly/trusty_beta_to_1_2
Automatic merge from submit-queue

Update e2e-runner.sh so it can fetch multiple types of Trusty images

Trusty beta images now work with k8s 1.2.

@spxtr, @andyzheng0831 Can you review this?
2016-05-06 04:51:57 -07:00
k8s-merge-robot 346ddc52c2 Merge pull request #24748 from Random-Liu/cleanup-with-new-engine-api
Automatic merge from submit-queue

Kubelet: Cleanup with new engine api

Finish step 2 of #23563

This PR:
1) Cleanup go-dockerclient reference in the code.
2) Bump up the engine-api version.
3) Cleanup the code with new engine-api.

Fixes #24076.
Fixes #23809.

/cc @yujuhong
2016-05-06 03:16:53 -07:00
Jan Chaloupka dd2c9c578d Introduce kubectl describe --show-events
Introduce DescriberSettings for Describer display options
Introduce --show-events flag and DescriberSettings in Describer methods
Introduce unit-tests
Regenerated kubectl describe docs
Add events flag tests to test-cmd.sh

Signed-off-by: dhodovsk@redhat.com
Signed-off-by: jchaloup@redhat.com
2016-05-06 11:40:11 +02:00
Kevin 82ba4f077e implement inter pod topological affinity and anti-affinity 2016-05-06 06:46:23 +00:00
Wojciech Tyczynski 28a8a23471 Merge pull request #25240 from thockin/fix-codecgen-sort
Fix codecgen sort
2016-05-06 08:28:51 +02:00
k8s-merge-robot 9a1b2540b0 Merge pull request #24739 from zmerlynn/1000nodes
Automatic merge from submit-queue

Jenkins: Clean up even if we can't bring cluster up

We're gathering all the cluster logs, go ahead and clean up the
resources.
2016-05-05 23:16:41 -07:00
Mikaël Cluseau 06900a934d Introduce subPath in VolumeMount 2016-05-06 15:08:41 +11:00
Tim Hockin 24f9beb1ff remove DBG and old code 2016-05-05 20:11:16 -07:00
Tim Hockin 457b27d25f Fix codecgen sort 2016-05-05 20:10:38 -07:00
k8s-merge-robot ab36e0e35e Merge pull request #24710 from smarterclayton/store_proto_in_etcd
Automatic merge from submit-queue

Allow etcd to store protobuf objects

Split storage serialization from client negotiation, and allow API server to take flag controlling serialization.

TODO:

* [x] API server still doesn't start - range allocation object doesn't seem to round trip correctly to etcd
* [ ] Verify that third party resources are ignoring protobuf (add a test)
* [ ] Add integration tests that verify storage is correctly protobuf
* [ ] Add a global default for which storage format to prefer?
2016-05-05 19:00:20 -07:00
k8s-merge-robot ba7dc5e6e6 Merge pull request #25118 from ixdy/dockerized-e2e
Automatic merge from submit-queue

Map secret files into dockerized e2e

Rather than copying the GCE and AWS private keys/credentials to each Jenkins VM, we can put them in credentials and map them through.

This is one half of the change; if the relevant environment variables are set, we'll mount the files in.

cc @fejta @rmmh @apelisse
2016-05-05 16:52:05 -07:00
Patrick Baxter 4d35231bd6 cmd/hyperkube: add make-symlinks flag 2016-05-05 21:36:18 +00:00
Clayton Coleman e0ebcf4216
Split the storage and negotiation parts of Codecs
The codec factory should support two distinct interfaces - negotiating
for a serializer with a client, vs reading or writing data to a storage
form (etcd, disk, etc). Make the EncodeForVersion and DecodeToVersion
methods only take Encoder and Decoder, and slight refactoring elsewhere.

In the storage factory, use a content type to control what serializer to
pick, and use the universal deserializer. This ensures that storage can
read JSON (which might be from older objects) while only writing
protobuf. Add exceptions for those resources that may not be able to
write to protobuf (specifically third party resources, but potentially
others in the future).
2016-05-05 12:08:23 -04:00
Piotr Szczesniak caa96f4cf3 Merge pull request #25133 from jayunit100/c2fix
flake fix for cassandra:cassandra
2016-05-05 10:00:00 +02:00
Muhammed Uluyol f3690e2d5e
build/pause: write in C
Builds statically against glibc. References to the old pause
image have been updated.
2016-05-04 21:45:52 -04:00
jay vyas 7a824aaf49 Cassandra de-flake 2016-05-04 21:11:56 -04:00
k8s-merge-robot 83c121e921 Merge pull request #25108 from lavalamp/master
Automatic merge from submit-queue

Fix verify codecgen

Fixes #25103.
2016-05-04 14:44:16 -07:00
Daniel Smith 8ac89346db Fix codecgen
* Make verify call update
* Make update's topological sort not confused about the "io" package
2016-05-04 13:01:43 -07:00
Jeff Grafton 6a0c152476 Map secret files into dockerized e2e 2016-05-04 12:29:04 -07:00
k8s-merge-robot bacb12a112 Merge pull request #25001 from gmarek/jenkins
Automatic merge from submit-queue

Default KUBEMARK_TEST_ARGS
2016-05-04 10:16:40 -07:00
k8s-merge-robot 1642083e60 Merge pull request #24645 from jlowdermilk/rolling-update
Automatic merge from submit-queue

kubectl rolling-update support for same image

Fixes #23497.

Enables `kubectl rolling-update --image` to the same image, adding a `--image-pull-policy` flag to remove ambiguity. This allows rolling-update to behave as an "update and/or restart" (https://github.com/kubernetes/kubernetes/issues/23497#issuecomment-212349730), or as a forced update when the same tag can mean multiple versions (e.g. `:latest`). cc @janetkuo @nikhiljindal
2016-05-04 07:24:22 -07:00
k8s-merge-robot 43b644ea6f Merge pull request #24998 from spxtr/remove-test-history
Automatic merge from submit-queue

Move test-history code into the test-infra repository.

~~Waiting on https://github.com/kubernetes/test-infra/pull/3~~ ready to go
2016-05-03 17:41:24 -07:00
k8s-merge-robot cfd7a99fe3 Merge pull request #25046 from dlorenc/boilerplate
Automatic merge from submit-queue

Add several arguments to boilerplate.py

This commit makes the root directory and boilerplate content directory configurable.

The defaults have remained the same, so no behavior changes should be expected.

cc @eparis 
ref https://github.com/kubernetes/minikube/pull/37
2016-05-03 11:26:29 -07:00
k8s-merge-robot f29d597d02 Merge pull request #25052 from ixdy/build-image-name-in-docker
Automatic merge from submit-queue

Use HOSTNAME in Docker build image tag hash

Fixes #24661 by including `$HOSTNAME` when generating the build image tag hash.

When running the verification checks under Docker, the `$KUBE_ROOT` will be identical across builds, so tags will collide unless we add additional uniqueness. By default, the hostname inside a Docker container is its ID, which should be unique enough for us.

I also deleted a misleading error message from the same check.

@kubernetes/sig-testing
2016-05-03 02:00:52 -07:00
dlorenc bc9877be3e Make flags hyphenated instead of using underscores. 2016-05-02 21:45:09 -07:00
dlorenc e1c5791631 Add several arguments to boilerplate.py
This commit makes the root directory, boilerplate content directory and
the directories to skip configurable.

The defaults have remained the same, so no behavior changes should be expected.
2016-05-02 21:45:04 -07:00
Jeff Grafton 83ac3ea0c9 Make comment explain why we need sudo
Also make the check more correct and quieter.
2016-05-02 16:25:03 -07:00
Jeff Grafton 0f041382ee Use HOSTNAME in Docker build image tag hash
Additionally, use REPO_DIR in update-generated-protobuf, since this
should be more unique (when set).
2016-05-02 16:03:27 -07:00
Joe Finney 3da5c69307 Move test history into the test-infra repo. 2016-05-02 15:31:00 -07:00
Daniel Wang f355222060 e2e-runner.sh: Ability to fetch multiple types of Trusty images 2016-05-02 15:20:19 -07:00
Joe Finney 60d50d7253 Update Jenkins README to point to test-infra. 2016-05-02 13:43:35 -07:00
Joe Finney df832d15ce Remove Jenkins Job Builder scripts and configs. 2016-05-02 13:43:35 -07:00
k8s-merge-robot 708c1a5c95 Merge pull request #24636 from ixdy/dockerized-e2e
Automatic merge from submit-queue

Run Kubemark builds inside Docker

Since Docker-in-Docker is tricky to get right (esp. wrt volume mounts), I'm only enabling it when necessary for a build (e.g. for kubemark).

cc @spxtr @fejta @wojtek-t
2016-05-02 13:16:18 -07:00
zhouhaibing089 09d4d5ed78 let type struct,array,slice also being considerred when sorting kubectl output 2016-05-02 23:17:18 +08:00
k8s-merge-robot f500194d92 Merge pull request #23673 from metral/multiple-resources
Automatic merge from submit-queue

allow kubectl subcmds to process multiple resources

~~autoscale, expose & patch~~ Many kubectl subcommands were limited to processing one resource at a time.

This PR allows those subcommands to process multiple resources.

This PR is in reference to https://github.com/kubernetes/kubernetes/pull/23116#issuecomment-202360784 by @deads2k
2016-05-02 07:09:44 -07:00
k8s-merge-robot c6157a2356 Merge pull request #24266 from spxtr/1.6.1
Automatic merge from submit-queue

Up to go 1.6.2 for build and test.

~~1.6.1 contains some security fixes. 1.6.2 should be out soon.~~ 1.6.2 is out :D

Images aren't pushed yet.
2016-05-02 05:23:16 -07:00
k8s-merge-robot 66730c53c5 Merge pull request #24445 from vishh/framework-node-e2e
Automatic merge from submit-queue

Framework support for node e2e.

This should let us port existing e2e tests to the node e2e suite, if the tests are node specific.
2016-05-02 02:17:48 -07:00
k8s-merge-robot 8fba6de835 Merge pull request #24117 from XiaoningDing/federation-client
Automatic merge from submit-queue

Federation client for cluster

generate v1alpha1 and unversioned client for federation/clusters

#23653, requires #23847, #23998

@nikhiljindal @quinton-hoole @caesarxuchao
2016-05-02 01:41:08 -07:00
Mike Metral 999c8e211e allow kubectl subcmds to process multiple resources
- use resource.Visit() to recursively process resources, as well as, aggregate
errors where possible
2016-05-01 20:27:37 -07:00
gmarek 07f1b2f4c5 Default KUBEMARK_TEST_ARGS 2016-04-30 01:33:10 +02:00
Vishnu kannan fa476b8044 Framework support for node e2e.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-29 15:37:35 -07:00
Random-Liu 3876972d3f Clean up go-dockerclient reference. 2016-04-29 13:32:19 -07:00
Joe Finney 4c298678af Remove metadata-cache. 2016-04-29 11:50:55 -07:00
k8s-merge-robot 11298d02e0 Merge pull request #24455 from hongchaodeng/fl
Automatic merge from submit-queue

Provide flags to use etcd3 backed storage

ref: #24405

What's in this PR?
- Add a new flag "storage-backend" to choose "etcd2" or "etcd3". By default (i.e. empty), it's "etcd2".
- Take out etcd config code into a standalone package and let it create etcd2 or etcd3 storage backend given user input.
2016-04-29 08:49:04 -07:00
k8s-merge-robot f1fca6fd9d Merge pull request #24969 from gmarek/jenkins
Automatic merge from submit-queue

Fix zone in kubemark-100
2016-04-29 03:08:34 -07:00
gmarek f53ba39a7a Fix zone in kubemark-100 2016-04-29 10:43:11 +02:00
k8s-merge-robot b16fb60c87 Merge pull request #24956 from fejta/own
Automatic merge from submit-queue

Create OWNERS for jenkins data

Assigne jenkins changes to more precise owners.
2016-04-28 23:17:59 -07:00
Arvinderpal 1a92f2b9de Adds --network-plugin-dir argument to hack/local-up-cluster.sh
to allow local deploys to specify cni plugin directory.
2016-04-28 21:03:33 -07:00
Erick Fejta d8456690c0 Create OWNERS for jenkins data 2016-04-28 18:03:11 -07:00
jianhuiz d169fa6864 generate v1alpha and unversioned clientset for federation/clusters 2016-04-28 16:27:22 -07:00
k8s-merge-robot 5fc5967059 Merge pull request #24941 from gmarek/jenkins
Automatic merge from submit-queue

Move kubemark-100 to us-central
2016-04-28 12:33:29 -07:00
Jeff Grafton 03934a9081 Enable docker-in-docker and run Kubemark tests in dockerized-e2e. 2016-04-28 11:53:49 -07:00
Jeff Grafton 0db145c15d Support docker-in-docker in containerized e2e when needed. 2016-04-28 11:52:47 -07:00
gmarek 89c39bc3eb Move kubemark-100 to us-central 2016-04-28 20:11:28 +02:00
Ryan Hitchman a563c0173c Fix test-history. RE objects aren't callable. 2016-04-28 11:11:11 -07:00
k8s-merge-robot 8179a0d30e Merge pull request #24616 from gmarek/jenkins
Automatic merge from submit-queue

Add kubemark-100 for testing out new performance measurements

cc @spxtr
2016-04-28 06:49:48 -07:00
Hongchao Deng c0071a1595 add flags to enable etcd3 2016-04-28 09:48:16 +08:00
Clayton Coleman 4636af5b87
mungedocs should not assume upstream remote
The standard Git convention is "origin", not "upstream", so make it
flexible in the scripts for those who are set up differently.
2016-04-27 21:33:09 -04:00
k8s-merge-robot bc1756c56c Merge pull request #24370 from fejta/crit
Automatic merge from submit-queue

Add blocking suites to daily summary

Add a section for blocking suites, and refactor some of the code.

![blocking](https://cloud.githubusercontent.com/assets/940341/14578274/40415830-0338-11e6-8d8e-9434c87a7288.png)


/cc @rmmh
2016-04-27 17:24:23 -07:00
gmarek b5dcf822c8 Add bi-hourly kubemark-100 for testing out new performance measurements 2016-04-27 22:17:48 +02:00
CJ Cullen 3253739505 Use ABAC authz instead of AllowAll. 2016-04-27 11:38:15 -07:00
k8s-merge-robot 3a19ad7908 Merge pull request #24559 from derekwaynecarr/eviction_flags
Automatic merge from submit-queue

Add kubelet flags for eviction threshold configuration

This PR just adds the flags for kubelet eviction and the associated generated code.

I am happy to tweak text, but we can also do that later at this point in the release.

Since this causes codegen, I wanted to stage this first.

/cc @vishh @kubernetes/sig-node
2016-04-27 10:25:48 -07:00
Zach Loafman d1dadf70f4 Jenkins: Clean up even if we can't bring cluster up
We're gathering all the cluster logs, go ahead and clean up the
resources.
2016-04-27 09:44:14 -07:00
k8s-merge-robot 9db40b6b8d Merge pull request #24345 from gmarek/enable_gatherer
Automatic merge from submit-queue

Enable resource gatherer in Kubemark tests

Depends on #24291

Ref. #23820

cc @jlowdermilk
2016-04-27 08:32:20 -07:00
k8s-merge-robot 3fa84134cd Merge pull request #24124 from vmware/photon-controller
Automatic merge from submit-queue

Initial kube-up support for VMware's Photon Controller

This is for: https://github.com/kubernetes/kubernetes/issues/24121

Photon Controller is an open-source cloud management platform. More
information is available at:
http://vmware.github.io/photon-controller/

This commit provides initial support for Photon Controller. The
following features are tested and working:
- kube-up and kube-down
- Basic pod and service management
- Networking within the Kubernetes cluster
- UI and DNS addons

It has been tested with a Kubernetes cluster of up to 10
nodes. Further work on scaling is planned for the near future.

Internally we have implemented continuous integration testing and will
run it multiple times per day against the Kubernetes master branch
once this is integrated so we can quickly react to problems.

A few things have not yet been implemented, but are planned:
- Support for kube-push
- Support for test-build-release, test-setup, test-teardown

Assuming this is accepted for inclusion, we will write documentation
for the kubernetes.io site.

We have included a script to help users configure Photon Controller
for use with Kubernetes. While not required, it will help some
users get started more quickly. It will be documented.

We are aware of the kube-deploy efforts and will track them and
support them as appropriate.
2016-04-27 01:02:03 -07:00
k8s-merge-robot b7e4672db9 Merge pull request #23847 from XiaoningDing/federation-apiobject-cluster
Automatic merge from submit-queue

Federation apiobject cluster

add federation api group
add cluster api object and registry
~~generate cluster client~~ moved to #24117
update scripts to generate files for /federation

#19313 #23653 #23554
@nikhiljindal  @quinton-hoole, @deepak-vij, @XiaoningDing, @alfred-huangjian @mfanjie @huangyuqi @colhom
2016-04-27 00:26:22 -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
Jeff Grafton 6367cd135f Only remove day+ old containers in Jenkins daily cleanup 2016-04-26 17:08:23 -07: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
Isaac Hollander McCreery 215872613b Revert "Always use long format in git tag." 2016-04-26 15:03:15 -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 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
gmarek 24bf07cc20 Enable resource gatherer in Kubemark tests 2016-04-26 21:53:05 +02: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 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 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
jianhuiz 3bdd4130cd add protobuf generation 2016-04-26 02:08:10 -07:00
jianhuiz 1c1ad1ad3f add cluster registry 2016-04-26 02:06:47 -07:00
Erick Fejta 7605ff0380 Script to cache metadata requests on the jenkins master 2016-04-25 23:15:27 -07:00
Clayton Coleman 4752d1a181
Allow test-cmd to run on non-Linux OS 2016-04-25 19:40:25 -04: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
Alain Roy fa9d79df75 Initial kube-up support for VMware's Photon Controller
This is for: https://github.com/kubernetes/kubernetes/issues/24121

Photon Controller is an open-source cloud management platform. More
information is available at:
http://vmware.github.io/photon-controller/

This commit provides initial support for Photon Controller. The
following features are tested and working:
- kube-up and kube-down
- Basic pod and service management
- Networking within the Kubernetes cluster
- UI and DNS addons

It has been tested with a Kubernetes cluster of up to 10
nodes. Further work on scaling is planned for the near future.

Internally we have implemented continuous integration testing and will
run it multiple times per day against the Kubernetes master branch
once this is integrated so we can quickly react to problems.

A few things have not yet been implemented, but are planned:
- Support for kube-push
- Support for test-build-release, test-setup, test-teardown

Assuming this is accepted for inclusion, we will write documentation
for the kubernetes.io site.

We have included a script to help users configure Photon Controller
for use with Kubernetes. While not required, it will help some
users get started more quickly. It will be documented.

We are aware of the kube-deploy efforts and will track them and
support them as appropriate.
2016-04-25 13:24:16 -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
Chao Xu 5cd4929764 update codegen before update codecgen 2016-04-25 11:15:53 -07:00
Jeff Vance f4f6a53a3b added claim_binder sync period 2016-04-25 09:40:50 -07:00
Jeff Lowdermilk 1baa473ef2 kubectl rolling-update support for same image 2016-04-25 09:20:15 -07:00
derekwaynecarr 1ff0a793d7 Add generated artifacts for kubelet flags 2016-04-24 19:03:23 -04:00
k8s-merge-robot 945daaae91 Merge pull request #24626 from nikhiljindal/kubeapiversions
Automatic merge from submit-queue

Removing KUBE_API_VERSIONS from our test scripts

We dont need to specify them.
Its an unnecessary extra change that people have to make while adding a group.

We also need this change for ubernetes.

cc @caesarxuchao @jianhuiz
2016-04-22 16:36:19 -07:00
petervo 4f9d3ace5d 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-22 15:53:24 -07:00
k8s-merge-robot 2e9bcb8311 Merge pull request #24025 from ZJU-SEL/fix-working-dirctory-mistake
Automatic merge from submit-queue

fix relative working dirctory of KUBE_ROOT

fix relative working dirctory of `KUBE_ROOT`, do not need to change to `KUBE_ROOT` in the first place

Signed-off-by: Crazykev <zcq8989@gmail.com>
2016-04-22 15:01:16 -07:00
Joe Finney 009ea19bf6 Up to go 1.6.2. 2016-04-22 14:21:52 -07:00
k8s-merge-robot 19a106f61e Merge pull request #24274 from euank/configurable-release-bucket
Automatic merge from submit-queue

jenkins: Allow configuration of release bucket

This allows others to leverage the existing E2E code to test some
patched kube binary by simply overriding the bucket and reusing many of
the existing scripts
2016-04-21 23:09:05 -07:00
k8s-merge-robot 7acb5db00f Merge pull request #24637 from caesarxuchao/disable-linkcheck-jenkins
Automatic merge from submit-queue

disable linkcheck jenkins job

I don't have time to fix linkcheck any soon, so temporarily disable the job.

ref #23162
2016-04-21 19:04:00 -07:00
Chao Xu 68e474381e disable linkcheck jenkins job 2016-04-21 16:07:47 -07:00
k8s-merge-robot c9ab0ebbd4 Merge pull request #24627 from zmerlynn/1000nodes
Automatic merge from submit-queue

First pass at a GKE large cluster Jenkins job

Runs a 1000 node GKE parallel e2e test. On demand only. We'll add more
tests as I see what actually works - this is going to have some
flakiness on its own.
2016-04-21 15:40:54 -07:00
k8s-merge-robot e73606b974 Merge pull request #24574 from nikhiljindal/buildFederatedServer
Automatic merge from submit-queue

update hack/build-go to build federation/cmd/federated-apiserver as well

federation/cmd/federated-apiserver was added in https://github.com/kubernetes/kubernetes/pull/23509

cc @jianhuiz
2016-04-21 15:00:06 -07:00
Jeff Grafton 308692a0c5 Use cluster/log-dump.sh to collect base cluster logs in kubemark 2016-04-21 14:39:10 -07:00
Zach Loafman fa2a516fce First pass at a GKE large cluster Jenkins job
Runs a 1000 node GKE parallel e2e test. On demand only. We'll add more
tests as I see what actually works - this is going to have some
flakiness on its own.
2016-04-21 14:36:56 -07:00
nikhiljindal 75b0842388 Removing KUBE_API_VERSIONS from our test scripts 2016-04-21 13:56:04 -07:00
k8s-merge-robot 34fc7f0401 Merge pull request #24461 from wojtek-t/enable_components_to_use_protobufs
Automatic merge from submit-queue

Allow components to use protobufs while talking to apiserver.
2016-04-21 12:46:17 -07:00
nikhiljindal aa4cdac005 hack/build-go tp build federation/cmd/federated-apiserver as well 2016-04-21 12:38:53 -07:00
k8s-merge-robot de3ce4f465 Merge pull request #24519 from fejta/heapster
Automatic merge from submit-queue

 Disable heapster job which has been broken for a month

https://github.com/kubernetes/kubernetes/issues/23538

This job is no longer producing a useful signal. http://kubekins.dls.corp.google.com/ shows that the last pass was nearly two months ago. I would like to disable the job until someone has the chance to fix it so we are not wasting jenkins resources, contributing to system instability.
2016-04-21 11:29:19 -07:00
Wojciech Tyczynski 43f5102903 Verify protobufs 2016-04-21 16:22:52 +02:00
Wojciech Tyczynski 31e2f8e485 Regenerate files 2016-04-21 14:12:13 +02:00
Erick Fejta e5dfba496d Disable heapster job which has been broken for a month 2016-04-20 20:09:09 -07:00
Prashanth Balasubramanian 0ac10c6cc2 PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
k8s-merge-robot 2599607a64 Merge pull request #24521 from fejta/flannel
Automatic merge from submit-queue

Disable flannel job until it works

https://github.com/kubernetes/kubernetes/issues/24520

See bug, this job is fails every time and has done so for two months. Until someone has time to investigate and fix disable the job on jenkins so we're not wasting resources and reducing system stability.
2016-04-20 18:27:28 -07:00
k8s-merge-robot cee4273e43 Merge pull request #24374 from smarterclayton/proto_default_on
Automatic merge from submit-queue

Enable protobuf compilation by default

Enables protobuf compilation, build verification checks, and generates all initial code.

kubectl is now 47M on OSX, build time from clean on a 2014 MBP (4 core) on Go 1.6 is ~150s.

@wojtek-t
2016-04-20 18:27:26 -07:00
Erick Fejta 7c2eb2c43e Disable flannel job until it works 2016-04-20 17:18:01 -07:00
k8s-merge-robot 49741c71aa Merge pull request #24270 from gtank/swaggergen-defaults
Automatic merge from submit-queue

hack: change update-swagger-spec.sh apiserver defaults

Removing the explicit list of KUBE_API_VERSIONS will cause the apiserver
to enable all APIs by default. This change reduces the amount of script
hacking needed to add new API groups in the future.
2016-04-20 17:13:34 -07:00
goltermann 3fa6c6f6d9 Enable vet 2016-04-20 09:48:24 -07:00
Clayton Coleman befe95869b Add generated-protobuf to hack/update-all.sh 2016-04-20 12:13:10 -04:00
Clayton Coleman ddb7b54006 Ensure a newline at the end of all API docs 2016-04-20 12:13:08 -04:00
Clayton Coleman cea4c010a6 Strip the proto build guard 2016-04-20 12:12:29 -04:00
k8s-merge-robot 86544c2288 Merge pull request #24426 from pwittrock/flaky
Automatic merge from submit-queue

Incremental improvements to kubelet e2e tests

- Add keep-alive to ssh connection
- Don't try to stop services on image-based runs
- Increase jenkins ci timeout to 90 minutes to accomadate unpredictable go build times
- Remove spammy log statement
2016-04-19 22:36:40 -07:00
CJ Cullen 760568796f Masquerade traffic from off-cluster going through kube-proxy. 2016-04-19 21:39:34 -07:00
k8s-merge-robot 265c7df39e Merge pull request #24232 from spxtr/e2e-docs
Automatic merge from submit-queue

Add some more info to the Jenkins README.

This is a bit of a work-in-progress, and I'd appreciate feedback on what to add or remove. I'm not sure that I need to say so much about the GCS format, and I should probably say some more about JJB.

@kubernetes/sig-testing
2016-04-19 16:37:15 -07:00
k8s-merge-robot c1fe51c7f8 Merge pull request #24439 from nikhiljindal/fixVerifySwaggerDocs
Automatic merge from submit-queue

Removing call to update-swagger-spec.sh from update-generated-swagger-docs.sh

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

Right now `update-generated-swagger-docs.sh` calls `update-swagger-spec.sh`, but `verify-generated-swagger-docs.sh` does not verify swagger spec (that is done by `verify-swagger-spec.sh`).
Hence, `verify-swagger-spec` breaks if it is called after `verify-generated-swagger-docs`.

Fixing it by removing the call to `update-swagger-spec.sh` from `update-generated-swagger-docs.sh`.
This will require users to run both `update-swagger-spec` and `update-generated-swagger-docs` when they update api types, but they already need to run many more scripts (`update-api-reference-docs`, `update-codegen`). 
People should mostly be running hack/update-all.sh directly :)
2016-04-19 15:07:10 -07:00
Jeff Lowdermilk d5425708a6 Merge pull request #24425 from jlowdermilk/list-resources
Always pull list-resources.sh from head
2016-04-19 14:54:49 -07:00
k8s-merge-robot d01939e604 Merge pull request #24283 from andyzheng0831/e2e
Automatic merge from submit-queue

Shorten cluster names in GKE Jenkins on Trusty

We identified an issue that the PD tests in GKE Jenkins on Trusty fail because the PD name is longer than the limit of 63 characters. The PD name embeds the "E2E_NAME" env variable exported in the Jenkins job configuration. This PR shortens that string for all GKE Jenkins on Trusty. As a result, the PD name will meet the limit requirement.
2016-04-19 14:31:30 -07:00
k8s-merge-robot 02a133e21f Merge pull request #24468 from johscheuer/fix-kube-root-codegen
Automatic merge from submit-queue

Remove double assignment of KUBE_ROOT

`KUBE_ROOT` got assigned twice in the codegen script.
2016-04-19 13:51:16 -07:00
k8s-merge-robot d1c5ae65d8 Merge pull request #24480 from spxtr/bump-test-go
Automatic merge from submit-queue

Bump kubernetes-test-go timeout.

It looks like the run times got more inconsistent because of load on the VM. Adding another Jenkins slave improved things so we're not constantly timing out, but it still gets a little close to timing out at times.

Average runtime is ~45 mins so I went with a 100 min timeout.

Fixes #24285
2016-04-19 13:03:30 -07:00
k8s-merge-robot 705837683a Merge pull request #24346 from spxtr/remove-1-1-soak
Automatic merge from submit-queue

Remove soak and disruptive 1.1 Jenkins jobs.

They're both in the kubernetes-jenkins project, not their own. The disruptive one isn't a critical build, and I don't think the soak should be critical at all, since it's never green for a week anyway and I don't think we ever plan for it to be.
2016-04-19 13:03:28 -07:00
Jeff Lowdermilk 4402cbc289 Always pull list-resources.sh from head
This should fix tag-pinned GKE tests that are currently broken
because #24058 doesn't exist for v1.2.2.
2016-04-19 11:40:59 -07:00
k8s-merge-robot c9c2a252f6 Merge pull request #24477 from ihmccreery/bump-timeout
Automatic merge from submit-queue

Bump upgrade test timout to 10 hours

@spxtr is it reasonable to expect that running the v1.2 tests in serial would take longer than ~ 5 hours (assuming the upgrade beforehand takes < 1 hour)?
2016-04-19 10:48:46 -07:00
Joe Finney 999ee9a222 Bump kubernetes-test-go timeout. 2016-04-19 10:02:31 -07:00
Isaac Hollander McCreery 59dfea62cc Bump upgrade test timout to 10 hours 2016-04-19 09:35:34 -07:00
Johannes Scheuermann 38cb577cd3 Remove double assignment of KUBE_ROOT 2016-04-19 16:18:16 +02:00
k8s-merge-robot b1aabc794d Merge pull request #24448 from a-robinson/multizone
Automatic merge from submit-queue

Use 3 nodes per zone in the GKE multizone test instead of 1

@quinton-hoole @saad-ali
2016-04-19 03:47:10 -07:00
k8s-merge-robot c37e3cc6b9 Merge pull request #24435 from spxtr/fix-test-go
Automatic merge from submit-queue

Run test-go less often on release branches.

I made 1.2 run every 3 hours and 1.1 run every 6 hours. They'll still run right away once a build completes.

I'm going to have to lower the number of executors on the Jenkins slaves that run test-go jobs, since running 3 at a time makes them use up all the CPU and flake.
2016-04-19 03:47:09 -07:00
k8s-merge-robot 9ae35f875d Merge pull request #23774 from cjdrake/master
Automatic merge from submit-queue

Replace tab with eight spaces

This file only uses spaces for indentation, and my text editor highlighted the one tab.
2016-04-19 03:47:06 -07:00
Alex Robinson 27096ccf5c Use 3 nodes per zone in the GKE multizone test instead of 1 2016-04-18 21:32:52 -07:00
nikhiljindal be5b842eb3 Adding note regarding which script requires another script to be run before that 2016-04-18 17:58:02 -07:00
nikhiljindal ff06f1e200 removing call to update-swagger-spec.sh from update-generated-swagger-docs.sh 2016-04-18 17:58:02 -07:00
k8s-merge-robot 5abbc24a86 Merge pull request #24432 from ihmccreery/upg-num-node-fix
Automatic merge from submit-queue

Export NUM_MINIONS and MINION_SIZE for experimental upgrade tests

This has precedent in `e2e.sh`: https://github.com/kubernetes/kubernetes/blob/release-1.1/hack/jenkins/e2e.sh#L811
2016-04-18 16:51:25 -07:00
Joe Finney 8436b9dc72 Run test-go less often on release branches. 2016-04-18 16:15:53 -07:00
Isaac Hollander McCreery 36d46e6464 Export NUM_MINIONS=3 and MINION_SIZE='n1-standard-2' for experimental upgrade tests starting in v1.1. 2016-04-18 16:02:16 -07:00
Phillip Wittrock 90d2f9ad5e Incremental improvements to kubelet e2e tests
- Add keep-alive to ssh connection
- Don't try to stop services on image-based runs
- Increase jenkins ci timeout to 90 minutes to accomadate unpredictable go build times
- Remove spammy log statement
2016-04-18 13:56:07 -07:00
Joe Finney f3b2490c90 Kubemark tests need to run on the Jenkins master. 2016-04-18 09:56:02 -07:00
Joe Finney f815be2c72 Revert "Revert "Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker""""
This reverts commit e0f585ae93.
2016-04-18 09:55:09 -07:00
k8s-merge-robot a275a045d1 Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable
Automatic merge from submit-queue

Make etcd cache size configurable

Instead of the prior 50K limit, allow users to specify a more sensible size for their cluster.

I'm not sure what a sensible default is here. I'm still experimenting on my own clusters. 50 gives me a 270MB max footprint. 50K caused my apiserver to run out of memory as it exceeded >2GB. I believe that number is far too large for most people's use cases.

There are some other fundamental issues that I'm not addressing here:
- Old etcd items are cached and potentially never removed (it stores using modifiedIndex, and doesn't remove the old object when it gets updated)
- Cache isn't LRU, so there's no guarantee the cache remains hot. This makes its performance difficult to predict. More of an issue with a smaller cache size.
- 1.2 etcd entries seem to have a larger memory footprint (I never had an issue in 1.1, even though this cache existed there). I suspect that's due to image lists on the node status.

This is provided as a fix for #23323
2016-04-17 00:06:31 -07:00
k8s-merge-robot bfc953cd4b Merge pull request #23890 from pmorie/kubectl-describe-envs
Automatic merge from submit-queue

Correctly handle secret and configMap envs in kubectl describe

Fixes #23679 

cc @kubernetes/kubectl @jwforres
2016-04-16 17:08:58 -07:00
k8s-merge-robot 957ee1d50a Merge pull request #23819 from rrati/controller-manager-startup-delay
Automatic merge from submit-queue

Added optional delays to starting controller managers. #22669
2016-04-16 15:33:32 -07:00
Andy Zheng b2b738eed3 Shorten cluster names in GKE Jenkins on Trusty 2016-04-16 08:56:43 -07:00
k8s-merge-robot e87d8bacc4 Merge pull request #24273 from gtank/local-up-advertise
Automatic merge from submit-queue

hack: specify --advertise-address in hack/local-up-cluster.sh

This fixes the bug where the script fails to launch an apiserver on a
machine without active networking (issue #24272).
2016-04-16 07:31:14 -07:00
k8s-merge-robot d40bf503ed Merge pull request #24256 from porridge/fix-newlines
Automatic merge from submit-queue

Fix spacing in usage_from_stdin and info_from_stdin (issue #24186).

If "a" is a bash array, then the syntax to append the contents of $line as a
new element to the array is a+=("$line"), not messages+=$line

Using the former syntax just seems to append to the first element, creating a
long string and thus losing newline information.

Fixing this allows us to drop some empty lines from invocations of
usage_from_stdin.
2016-04-16 07:31:12 -07:00
k8s-merge-robot 8a44115cc5 Merge pull request #24338 from spxtr/linkcheck
Automatic merge from submit-queue

Move cmd/linkcheck to test targets.

https://github.com/kubernetes/kubernetes/issues/24285#issuecomment-210306681
2016-04-16 00:00:30 -07:00
k8s-merge-robot 7bc49fb085 Merge pull request #24243 from hodovska/master
Automatic merge from submit-queue

Remove --api-version usage in test-cmd.sh.

Kubectl flag `--api-version` has been deprecated.

Fixes #24053
2016-04-16 00:00:27 -07:00
Joe Finney e0f585ae93 Revert "Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker"""
This reverts commit 93ea0252fd.
2016-04-15 18:41:40 -07:00
Joe Finney 009b0f051d Merge pull request #24356 from spxtr/revert-revert
Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker""
2016-04-15 16:02:30 -07:00
k8s-merge-robot 985b5f14e2 Merge pull request #24168 from ixdy/jenkins-daily-maintenance-job
Automatic merge from submit-queue

Rename "gcloud-update" jobs to "daily-maintenace" and add Docker cleanup

I'm guessing Jenkins Job Builder won't delete the old job, and we'll need to do that manually?

@spxtr @fejta
2016-04-15 15:41:03 -07:00
k8s-merge-robot 03f48e730e Merge pull request #22810 from amygdala/cassandra2
Automatic merge from submit-queue

phase 2 of cassandra example overhaul

Here's the next iteration in overhauling this example, towards https://github.com/kubernetes/kubernetes/issues/20961.  This removes the pod adoption part, but doesn't (yet) otherwise change any of the resources used.

It also includes some README cleanup, and removes some explicit specification of labels in the rc yaml.

This PR doesn't yet add any commentary on how we're using the seed provider (re: https://github.com/kubernetes/kubernetes/issues/20961#issuecomment-190405959 etc.).  Maybe we should add that.

Also: LMK if this PR should include any changes to the links out to the docs.

cc @bgrant0607 @johndmulhausen
2016-04-15 15:41:01 -07:00
Joe Finney 93ea0252fd Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker""
This reverts commit b2f8b1962f.
2016-04-15 14:56:48 -07:00