Commit Graph

28137 Commits (9ecbb0ae05d1e61b33c0dc67ce2bd4ed76434063)

Author SHA1 Message Date
Isaac Hollander McCreery 9ecbb0ae05 s/testDuringUpgrade/testDuringDisruption 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery c4479c5b74 gofmt and add comment about waitForReadyOrDone 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery 27fb17e785 Poll much more frequently, remove wait for pods to be ready, and do one final check 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery 4e5e1b8ac5 Create chaosmonkey package, use ServiceTestJig for upgrade tests 2016-05-03 09:22:58 -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
k8s-merge-robot 9ded9cd936 Merge pull request #25029 from mikedanese/dns-fix
Automatic merge from submit-queue

revert the vsphere change to skydns plugin

Fixes #25020
2016-05-03 01:25:42 -07:00
k8s-merge-robot 49bf9d39bc Merge pull request #25044 from XiaoningDing/federation-apiserver-change-test-port
Automatic merge from submit-queue

change port of tests for federated-apiserver to avoid conflict

fix #24952, change port to 8082 on test
@nikhiljindal

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-05-02 21:33:39 -07:00
k8s-merge-robot 60db507b27 Merge pull request #24942 from ihmccreery/130-alpha3
Automatic merge from submit-queue

Update CHANGELOG.md for v1.3.0-alpha.3.
2016-05-02 19:18:22 -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
Jeff Grafton 3a4f179c75 Merge pull request #24949 from spxtr/remove-jjb
Remove JJB scripts and configs.
2016-05-02 15:04:18 -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 879c1807c8 Merge pull request #24821 from freehan/kubenetmutex
Automatic merge from submit-queue

add mutex for kubenet

I saw a bunch of weird cases in kubenet suite. For instance, SetUpPod return successfully, but right after that, kubelet cannot retrieve podIP from podCIDR map.


cc: @dcbw @thockin 

ref: #24211
2016-05-02 13:16:23 -07:00
k8s-merge-robot 926ee5b90f Merge pull request #24641 from caesarxuchao/pods-test
Automatic merge from submit-queue

move pods.go to pods_test.go

fix #24635
2016-05-02 13:16:20 -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
jianhuiz e5bb7559b5 change port of tests for federated-apiserver to avoid conflict 2016-05-02 11:25:45 -07:00
k8s-merge-robot 928990730e Merge pull request #24457 from leokhoa/master
Automatic merge from submit-queue

AWS: Add support for ap-northeast-2 region (Seoul)

This PR does:
- Support AWS Seoul region: ap-northeast-2. 
Currently, I can not setup Kubernetes on AWS Seoul.  
Error Messages: 

> 
> ip-10-0-0-50 core # docker logs 0697db
> I0419 07:57:44.569174       1 aws.go:466] Zone not specified in configuration file; querying AWS metadata service
> F0419 07:57:44.570380       1 controllermanager.go:279] Cloud provider could not be initialized: could not init cloud provider "aws": not a valid AWS zone (unknown region): ap-northeast-2a
2016-05-02 09:46:47 -07: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 cbb0d32868 Merge pull request #24113 from timstclair/docker11-godeps
Automatic merge from submit-queue

Update cAdvisor & go-dockerclient for docker v1.11 compatability
2016-05-02 04:46:05 -07:00
k8s-merge-robot c66b2b4e05 Merge pull request #23865 from rhcarvalho/unify-signal-handling
Automatic merge from submit-queue

Unify termination signal handling across platforms

The signals are used to ensure proper execution of cleaning up actions to restore a terminal in:
- [pkg/kubectl/cmd/attach.go#L163-L226](b8d000853e/pkg/kubectl/cmd/attach.go (L163-L226))
- [pkg/kubectl/cmd/util/editor/editor.go#L112-L137](b8d000853e/pkg/kubectl/cmd/util/editor/editor.go (L112-L137))

All supported platforms can handle the same set of signals we're interested in, thus we don't need build contraints to use a set of signals on Linux, while restricting ourselves to only SIGINT on Darwin and Windows.

According to the documentation of os/signal, similar to SIGINT and SIGTERM, SIGHUP causes the program to exit, therefore add it to the list of handled signals.

The fist commit is part of #23643.
2016-05-02 04:09:25 -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
Mike Danese 181e95c073 rever the vspeher change to skydns plugin 2016-05-01 14:56:57 -07:00
k8s-merge-robot b930d58fcb Merge pull request #24994 from pmorie/kubectl-configmap
Automatic merge from submit-queue

Fix `kubectl create configmap` help

Resurrection of #23290

cc @bgrant0607 @janetkuo @ncdc
2016-04-29 23:09:42 -07:00
k8s-merge-robot ee2a0694b6 Merge pull request #24872 from smarterclayton/propogate_int_types
Automatic merge from submit-queue

Convert internal types to use exact precision integers

This makes conversion more suitable for future optimizations, and we need to stop pretending for some of our internal types that the width of the int doesn't matter.

@wojtek-t
2016-04-29 18:50:37 -07:00
k8s-merge-robot f8196d9048 Merge pull request #24834 from ixdy/node-names
Automatic merge from submit-queue

Fix detect-node-names to not error out if there are no nodes

Fixes #21564.

Teardown was not working correctly in rare cases because `detect-node-names` was failing before any of the actual cleanup was run. I'm pretty sure the issue was that there was an instance group, but no instances in the instance group, so we bailed out when we tried to expand the bash array.

This PR adds a guard so we don't bail if the array is empty.

cc @jlowdermilk @spxtr
2016-04-29 16:37:41 -07: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
k8s-merge-robot 54b62b6000 Merge pull request #24987 from andyzheng0831/image
Automatic merge from submit-queue

GCI: Update the command to get the image

When we announced public GCI, we used the project google-containers to host GCI release images. However, later we encountered a licence issue and the administrators of google-containers project decided to remove this project from gcloud commands. According, we should list GCI images with the flag "--project google-containers". But the same image is listed twice during this transient period. This PR updates the code of getting the GCI image, which works during the transient period and after the google-containers project change finishes.

@roberthbailey @dchen1107 @zmerlynn please review it.

cc/ @wonderfly @fabioy FYI
2016-04-29 15:01:50 -07:00
k8s-merge-robot c53d3e1e26 Merge pull request #24993 from spxtr/remove-metadata-cache
Automatic merge from submit-queue

Remove metadata-cache.

It's moving to kubernetes/test-infra. See https://github.com/kubernetes/test-infra/pull/2.
2016-04-29 14:14:05 -07:00
Clayton Coleman fdb110c859
Fix the rest of the code 2016-04-29 17:12:10 -04:00
Clayton Coleman 8d0187add2
Generation changes 2016-04-29 17:12:09 -04:00
Clayton Coleman cf133ee03a
Convert remaining int types to fixed
Having internal and external integer types being different hides
potential conversion problems. Propagate that out further (which will
also allow us to better optimize conversion).
2016-04-29 17:12:04 -04:00
Andy Goldstein 8858d20044 Fix `kubectl create configmap` help
Remove "generic" from the help text, as that was an inadvertent carry-over from `kubectl create
secret generic`.
2016-04-29 16:31:24 -04:00
k8s-merge-robot 871487378b Merge pull request #24990 from vishh/disable-coreos-node-e2e
Automatic merge from submit-queue

Disable coreos nodes from node e2e due to issues with ssh on coreos.

Fixes #24423
2016-04-29 13:18:08 -07:00
k8s-merge-robot ad86986c87 Merge pull request #24958 from MHBauer/pre-commit-hook-reqs
Automatic merge from submit-queue

more explicit requirements for pre-commit hook

I don't know if using the pre-commit hook is still a best-practice, but godep and etcd are requirements for it to succeed.
2016-04-29 12:24:51 -07:00
k8s-merge-robot bf661537d6 Merge pull request #24945 from chrislovecnm/cassandra-updates-docker-n-java
Automatic merge from submit-queue

Refactored SeedProvider and Updated Docker

This is a redo of the last PR that I munged 😄 

- fixed maven build folder structure
- updated build to C* 3.4
- refactored Seed Provider - improved error handling, updated default SeedProvider code
- added start of unit tests.  Not as comprehensive as I would like
- updated docker image to debian:jessie
- installed openjdk 8
- added some docker fu to make the image smaller
- updated docker to C* 3.4 and update yaml
- updated README content.  Added a section about the docker, and the SeedProvider

Have not had a chance to test the docker on k8s, because I do not have a local docker repo.

NOTE: someone needs to push the docker image into the google repo. Not sure what the process is ...  I will submit another PR request with changes to the yaml files.
2016-04-29 12:24:49 -07:00
Joe Finney 4c298678af Remove metadata-cache. 2016-04-29 11:50:55 -07:00
Vishnu kannan 33a46e0ed6 Disable coreos nodes from node e2e due to issues with ssh on coreos.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-29 10:52:41 -07:00
k8s-merge-robot e6295f165a Merge pull request #22869 from jayunit100/iperf-e2e
Automatic merge from submit-queue

[Networking] [E2E]  n-to-1 iperf client->server throughput benchmarking
2016-04-29 10:03:29 -07:00
k8s-merge-robot 2b7021add0 Merge pull request #17030 from csrwng/pf_cmd_streams
Automatic merge from submit-queue

Port-forward: use out and error streams instead of glog

Switches use of glog with command out and error streams
2016-04-29 09:27:47 -07:00
Andy Zheng 967fd495e0 GCI: Update the command to get the image 2016-04-29 09:15:27 -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 c0fca43260 Merge pull request #24915 from wojtek-t/read_closer_in_streaming_decoder
Automatic merge from submit-queue

Support Close() in streaming decoder

[This would be useful for changes in clients to support protobufs.]
2016-04-29 07:21:23 -07:00
k8s-merge-robot 46a6cae14e Merge pull request #24907 from smarterclayton/default_inliners
Automatic merge from submit-queue

Make all defaulters public

Will allow for generating direct accessors in conversion code instead of using reflection.

@wojtek-t
2016-04-29 06:36:09 -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 ad67363c12 Merge pull request #24362 from ArtfulCoder/hostname-field
Automatic merge from submit-queue

Promote Pod Hostname & Subdomain to fields (were annotations)

Deprecating the podHostName, subdomain and PodHostnames annotations and created corresponding new fields for them on PodSpec and Endpoints types.

Annotation doc: #22564
Annotation code: #20688
2016-04-29 01:06:45 -07:00