Commit Graph

28093 Commits

Author SHA1 Message Date
Timothy Chen
d218f55dd5 Add docs for podautoscaler package 2016-04-29 18:39:48 -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
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
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
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
k8s-merge-robot
8f9bff5b25 Merge pull request #24906 from smarterclayton/better_benchmark
Automatic merge from submit-queue

Slightly more effective conversion test (better variety)

Exercises more code paths for debugging memory allocations.
2016-04-28 23:17:57 -07:00
Morgan Bauer
d2caed3ecc
more explicit requirements for pre-commit hook 2016-04-28 18:45:20 -07:00
Erick Fejta
d8456690c0 Create OWNERS for jenkins data 2016-04-28 18:03:11 -07:00
k8s-merge-robot
492762d394 Merge pull request #24911 from pmorie/kubelet-godoc
Automatic merge from submit-queue

Add godoc for some kubelet funcs

Chipping away at that old boulder

@kubernetes/sig-node
2016-04-28 14:52:45 -07:00
Paul Morie
b9f0e8c610 Add godoc for some kubelet funcs 2016-04-28 17:03:37 -04: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
k8s-merge-robot
767f436665 Merge pull request #24939 from rmmh/fix-gen-json
Automatic merge from submit-queue

Fix test-history. RE objects aren't callable.
2016-04-28 12:33:27 -07:00
k8s-merge-robot
f44bb0360f Merge pull request #24839 from liggitt/immutable-deletion-timestamp
Automatic merge from submit-queue

Validate deletion timestamp doesn't change on update

Fixes https://github.com/kubernetes/kubernetes/issues/24828
2016-04-28 12:33:24 -07:00
chrislovecnm
e8ce426093 Refactored KubernetesSeedProvider and added unit tests. Updated Docker image and bumped Cassandra version 2016-04-28 13:26:45 -06: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
Abhishek Shah
8a3ed48808 Added Hostname and Subdomain field to Pod.Spec 2016-04-28 10:56:56 -07:00
Clayton Coleman
931f352fdf
Rename apps/v1alpha1/defaulting.go to be consistent 2016-04-28 12:20:17 -04:00
Clayton Coleman
3e36dd62c6
Move defaulter functions to public methods with a convention
Preparing to generate direct defaulter access.
2016-04-28 12:20:13 -04:00
Jordan Liggitt
1e5815872e Validate deletion timestamp doesn't change on update 2016-04-28 11:50:48 -04:00
k8s-merge-robot
7a725418af Merge pull request #24622 from derekwaynecarr/pod_qos_util
Automatic merge from submit-queue

Add utility for determining qos of a pod

@vishh - per slack chat.
2016-04-28 07:26:50 -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
k8s-merge-robot
97f1f5993e Merge pull request #24231 from mikebrow/design-docs-80col-updates
Automatic merge from submit-queue

Cleans up line wrap at 80 cols and some minor editing issues 

Address line wrap issue #1488.  Also cleans up other minor editing issues in the docs/design/* tree such as spelling errors. 

Signed-off-by: mikebrow <brownwm@us.ibm.com>
2016-04-28 06:49:46 -07:00
k8s-merge-robot
2347d0f047 Merge pull request #24601 from deads2k/qualify-admission-attributes
Automatic merge from submit-queue

fully qualify admission resources and kinds

Fully qualifies the `Kind` and `Resource` fields for admission attributes.  The information was getting filtered at the `RESTHandler` before.

@derekwaynecarr
2016-04-28 05:12:28 -07:00
k8s-merge-robot
537dedf684 Merge pull request #24796 from johscheuer/fix-vagrant
Automatic merge from submit-queue

Update Docker version after cockpit installation

Fixes https://github.com/kubernetes/kubernetes/issues/24530
The vagrant setup didn't worked for me because `cockpit cockpit-kubernetes` brings their own Docker version (1.7) which doesn't work and the master components doesn't come up. More information about this bug are in my [issue](https://github.com/kubernetes/kubernetes/issues/24530).

My test system:

```bash
$ uname -a                        
Darwin MyMacBook.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64

$ vagrant --version                                                                                                                                                             
Vagrant 1.8.1

$ VBoxManage --version                                                                                                                                                          
5.0.16r105871
```
2016-04-28 04:38:47 -07:00
k8s-merge-robot
410975ab82 Merge pull request #22627 from mdshuai/udpate-configmap-doc
Automatic merge from submit-queue

Update configmap design doc

1. Update ConfigMapSelector -> ConfigMapKeySelector
2. Update apiVersion to v1
3. Fix error validating data: expected type array, for field spec.containers[0].command, got string; if you choose to ignore these errors, turn validation off with --validate=false
2016-04-28 04:38:45 -07:00
k8s-merge-robot
a4e16319fd Merge pull request #24329 from liangchenye/refact
Automatic merge from submit-queue

refactor conformance test

@Random-Liu  Rebase the testing code.
 
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-04-28 03:53:59 -07:00
k8s-merge-robot
00308f7a9f Merge pull request #24598 from wojtek-t/improve_scheduler_predicates
Automatic merge from submit-queue

Store node information in NodeInfo

This is significantly improving scheduler throughput.

On 1000-node cluster:
- empty cluster: ~70pods/s
- full cluster: ~45pods/s
Drop in throughput is mostly related to priority functions, which I will be looking into next (I already have some PR #24095, but we need for more things before).

This is roughly ~40% increase.
However, we still need better understanding of predicate function, because in my opinion it should be even faster as it is now. I'm going to look into it next week.

@gmarek @hongchaodeng @xiang90
2016-04-28 02:17:59 -07:00
k8s-merge-robot
d0b887e4e0 Merge pull request #24595 from zhouhaibing089/httpserverclose
Automatic merge from submit-queue

Uncomment the code that caused by #19254

Fix https://github.com/kubernetes/kubernetes/issues/24546.

@lavalamp
2016-04-28 01:41:16 -07:00
liang chenye
aa3bf1faac refactor e2e_node conformance test
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-04-28 16:20:14 +08:00
k8s-merge-robot
04b70bc6c7 Merge pull request #24376 from resouer/fix-cache
Automatic merge from submit-queue

Do not update cache with so much effort

Fixes: #24298
1. Remove automatic update
2. Every time we check if we can get valid value from cache, if not, get the value directly from api

cc @Random-Liu
2016-04-28 01:00:33 -07:00
Wojciech Tyczynski
3175d18b14 Support Close() in streaming decoder 2016-04-28 09:46:33 +02:00
k8s-merge-robot
ae5065a2c2 Merge pull request #24365 from janetkuo/remove-t-for-tty
Automatic merge from submit-queue

Add flag -t as shorthand for --tty

`-t` was deprecated in #12813 (Aug. 2015, about 6+ months ago). 

Now remove `--template`'s shorthand `-t` and create a shorthand `-t` for `--tty` in `kubectl run`. 

@kubernetes/kubectl
2016-04-28 00:23:11 -07:00
k8s-merge-robot
8201f0bb6c Merge pull request #24665 from smarterclayton/protodocs
Automatic merge from submit-queue

Add protobuf documentation

First commit is in another PR, @wojtek-t review
2016-04-27 23:46:27 -07:00
k8s-merge-robot
19408e5575 Merge pull request #24893 from andyzheng0831/gci
Automatic merge from submit-queue

Add support for running clusters on GCI

Google Container-VM Image (GCI) is the next revision of Container-VM. See documentation at https://cloud.google.com/compute/docs/containers/vm-image/. This change adds support for starting a Kubernetes cluster using GCI.

With this change, users can start a kubernetes cluster using the latest kubelet and kubectl release binary built in the GCI image by running:

	$ KUBE_OS_DISTRIBUTION="gci" cluster/kube-up.sh

Or run a testing cluster on GCI by running:

	$ KUBE_OS_DISTRIBUTION="gci" go run hack/e2e.go -v --up

The commands above will choose the latest GCI image by default.
2016-04-27 23:46:26 -07:00
Clayton Coleman
d0a7b93050 Slightly more effective conversion test (better variety) 2016-04-27 23:11:25 -04:00