Commit Graph

28943 Commits

Author SHA1 Message Date
Peeyush Gupta
1a9f7e9a0c Adding version.Info in apiserver.go 2016-06-06 14:15:24 +05:30
k8s-merge-robot
a57fd9adfb Merge pull request #25651 from 249043822/249043822-patch-1
Automatic merge from submit-queue

MatchingCache lock optimize
2016-05-17 01:56:03 -07:00
k8s-merge-robot
e6ada45793 Merge pull request #25576 from k82/k8s-24411-doc
Automatic merge from submit-queue

Update document for kubectl service output.

Fix for #24411, Update document for kubectl service output
2016-05-17 01:55:59 -07:00
k8s-merge-robot
576df2b300 Merge pull request #24564 from azell/newrelic-daemonset
Automatic merge from submit-queue

Newrelic daemonset

1. base64 on Mac does not support the **wrap** option. Easy to support on both Mac and Linux by using **tr** to remove the newline.
2. DaemonSet definition does not conform to latest schema:

> $ kubectl create -f ./newrelic-daemonset.yaml 
error validating "./newrelic-daemonset.yaml": error validating data: found invalid field privileged for v1.PodSecurityContext; if you choose to ignore these errors, turn validation off with --validate=false

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24564)
<!-- Reviewable:end -->
2016-05-17 01:55:55 -07:00
Wojciech Tyczynski
2f2d650150 Merge pull request #25667 from wojtek-t/higher_list_nodes_limit
Bump threshold for listing nodes
2016-05-17 10:46:30 +02:00
Wojciech Tyczynski
dd080de4d2 Merge pull request #25721 from wojtek-t/fix_services_in_load
Fix services in load test
2016-05-17 10:46:00 +02:00
Piotr Szczesniak
bff4e12903 Merge pull request #25722 from kubernetes/jszczepkowski-ca-bump
Bumped cluster autoscaler version.
2016-05-17 10:27:44 +02:00
Jerzy Szczepkowski
57425bd44d Bumped cluster autoscaler version.
Bumped cluster autoscaler version.
2016-05-17 09:44:48 +02:00
k8s-merge-robot
b7151cf4cd Merge pull request #25706 from andyzheng0831/find-cmd
Automatic merge from submit-queue

GCI/Trusty: Fix an issue in using 'find' commands

This PR makes the logic of 'find' command consistent with the 'cp' command afterwards, i.e., only check one layer of a given dir. Without this fix, we have seen a recent breakage after PR #25309 added the file cluster/addons/fluentd-elasticsearch/es-image/template-k8s-logstash.json. The 'find' command discovers this json file, but the 'cp' command fails. 

@roberthbailey @dchen1107 @zmerlynn please review this fix, and mark it as a cherry pick candidate. I already verified this fix can resolve the breakage.

cc/ @wonderfly @fabioy @kubernetes/goog-image FYI
2016-05-17 00:42:11 -07:00
k8s-merge-robot
ae15eff4ac Merge pull request #25687 from mattyw/01-fix-url-in-charm-readme
Automatic merge from submit-queue

cluster/juju: Updated the url for the getting started doc

Minor change to update the URL pointing at the "Running Kubernetes locally via Docker" document
2016-05-17 00:42:07 -07:00
k8s-merge-robot
ced2b65046 Merge pull request #25609 from andyzheng0831/log
Automatic merge from submit-queue

GCI: Enable the log of upstart jobs

This PR enables the log of upstart jobs in master.yaml and node.yaml. By default, log of upstart jobs are enabled in Trusty and placed in /var/log/upstart, but not enabled in GCI. This change explicitly directs the log to the system logger. For trusty, they are in /var/log/syslog file. In GCI, we can check it using "journalctl". This change will be useful for debugging if cluster initialization fails.

@roberthbailey @maisem @dchen1107 please review it. This will be useful for issues like #23634. We should also cherry pick it in release-1.2

cc/ @fabioy @zmerlynn @wonderfly FYI.
2016-05-17 00:42:03 -07:00
Wojciech Tyczynski
022f510312 Fix services in load test 2016-05-17 09:17:51 +02:00
Adam Zell
45261f4462 The Mac version of base64 does not support the wrap option. Use tr to delete the trailing newline for Mac and Linux runs.
Move the security context tag under containers.

Run hack/update-generated-docs.sh
2016-05-17 00:14:58 -07:00
k8s-merge-robot
e43ec4c445 Merge pull request #25665 from ursuad/patch-1
Automatic merge from submit-queue

Fixed namespace name to spark-cluster

Just changed the namespace from **default** to **spark-cluster** in the spark example docs.
2016-05-16 23:49:46 -07:00
k8s-merge-robot
8cab7d574d Merge pull request #25633 from philips/fixup-guestbook-go-to-work-again
Automatic merge from submit-queue

examples: guestbook-go: fix the redis-master version
2016-05-16 23:49:42 -07:00
k8s-merge-robot
6376b52b90 Merge pull request #25271 from euank/fix-missing-resttest-call
Automatic merge from submit-queue

test: Call forgotten resttest test

PR #3789 introduced this test, but it was never called.

This test was created, but never called.
Written, but never run.
It has neither flaked nor asserted. At its inception it was deserted.
My change gives this test a chance, to at long last finally pass.

The resttest stuff is a bit complicated and I'm not totally sure I put it in the right place  @smarterclayton, want to double check this change makes sense?
2016-05-16 23:49:39 -07:00
Wojciech Tyczynski
abe8259a30 Bump threshold for listing nodes 2016-05-17 08:45:53 +02:00
k8s-merge-robot
059980e3d9 Merge pull request #25670 from gmarek/root-disk
Automatic merge from submit-queue

Make bigger master root disks in GCE for large clusters

Ref. #25660

cc @zmerlynn @wojtek-t
2016-05-16 23:06:22 -07:00
k8s-merge-robot
fee8a55943 Merge pull request #25686 from thockin/godeps-docs
Automatic merge from submit-queue

Document godep updates better

`godep update` doesn't work.  It just says 'nothing to update'.  Drop it, and
use The Big Hammer instead.

@quinton-hoole @lavalamp
2016-05-16 20:22:35 -07:00
k8s-merge-robot
f4bda73477 Merge pull request #25648 from wojtek-t/smaller_resync_in_rc
Automatic merge from submit-queue

Explicitly enqueue controllers on failures and increase resync period

Ref #25563
2016-05-16 20:22:32 -07:00
k8s-merge-robot
7a089c3e4f Merge pull request #25695 from Random-Liu/skip-runtime-conformance-test
Automatic merge from submit-queue

Node E2E: Shorten consistently check timeout of runtime conformance test

#24191 increased the node e2e running time by almost half an hour. It makes the test running time exceed 60 minutes timeout, which causes quite a few issues (See https://github.com/kubernetes/kubernetes/issues/25639).

As a quite fix, we'll skip all the runtime conformance test. @liangchenye We should remove redundant test cases in #24191 such as https://github.com/kubernetes/kubernetes/pull/24191#discussion_r62968819, and reduce the test running time as much as possible.
2016-05-16 19:38:47 -07:00
k8s-merge-robot
445deb21e6 Merge pull request #25043 from spxtr/node-name
Automatic merge from submit-queue

Add NODE_NAME to started.json.

Sometimes a single Jenkins node gets borked. Lets upload what node we're on before running tests. See [this list of env vars that Jenkins sets for us.](https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariables) I think this info should be added to gubernator.
2016-05-16 18:58:03 -07:00
Andy Zheng
f8739cd0c2 GCI:Trusty: Fix an issue in using 'find' commands 2016-05-16 17:48:29 -07:00
k8s-merge-robot
11cd07ef22 Merge pull request #25366 from Jollyturns/ubuntu-download-latest
Automatic merge from submit-queue

Automatically download the latest stable release version of Kubernetes.

The ubuntu version of download-release.sh included in the binary release downloads the released .tar.gz file again. Right now the version of the downloaded file is manually encoded within the script. This change fetches the released version automatically, similar to the shell script available on the main Kubernetes site below:

https://get.k8s.io/

Ideally the installation on bare metal ubuntu should work with the files available in the already downloaded package.

@mikedanese
2016-05-16 16:59:37 -07:00
Random-Liu
d1ab3b7f01 Change consistently check timeout to 20 seconds. 2016-05-16 16:38:40 -07:00
Joe Finney
52f758e38a Add NODE_NAME to started.json. 2016-05-16 16:21:45 -07:00
k8s-merge-robot
a6812d18a5 Merge pull request #25684 from kubernetes/revert-24852-fix-hyperkube-makefile
Automatic merge from submit-queue

Revert "OS X: Fix hyperkube build by adding empty string to sed invocation"

Reverts kubernetes/kubernetes#24852

This breaks the Linux build.

cc @johscheuer @zmerlynn
2016-05-16 15:17:31 -07:00
Ovidiu Predescu
dd203087ef Automatically download the latest stable release version of
Kubernetes. Echo error to stderr. Simplify expression for
KUBE_VERSION. Explicitly match beginning of string.
2016-05-16 13:52:10 -07:00
Tim Hockin
915655a2eb Document godep updates better
`godep update` doesn't work.  It just says 'nothing to update'.  Drop it, and
use The Big Hammer instead.
2016-05-16 13:15:39 -07:00
mattyw
3c44752931 cluster/juju: Updated the url for the getting started doc 2016-05-16 20:56:17 +01:00
David McMahon
57247a672b Revert "OS X: Fix hyperkube build by adding empty string to sed invocation" 2016-05-16 12:25:54 -07:00
k8s-merge-robot
835a2577f8 Merge pull request #25661 from errordeveloper/fix-client-example
Automatic merge from submit-queue

Update basic example in client docs

This appeared to be out of date...
2016-05-16 11:06:50 -07:00
k8s-merge-robot
9fe3f47ea5 Merge pull request #24633 from Random-Liu/fix-downward-api-ip
Automatic merge from submit-queue

Fix downward api for pod using host network.

Fixes #24576

@yujuhong @yifan-gu 
I still can't find a cleaner way to fix this, so send this for discussion.

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24633)
<!-- Reviewable:end -->
2016-05-16 11:06:45 -07:00
gmarek
64618c3311 Make bigger master root disks in GCE for large clusters 2016-05-16 15:57:56 +02:00
k8s-merge-robot
a0cc59f28a Merge pull request #25658 from jszczepkowski/kac-test
Automatic merge from submit-queue

Updated e2e tests for cluster autoscaling.

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

Updated e2e tests for cluster autoscaling to work with the new cluster autoscaler.
2016-05-16 06:56:30 -07:00
Adrian Ursu
ca24ee02aa Update README.md 2016-05-16 14:32:33 +01:00
Adrian Ursu
a7b2c5783c Fixed namespace name to spark-cluster 2016-05-16 14:06:07 +01:00
Jerzy Szczepkowski
96818874f4 Updated e2e tests for cluster autoscaling.
Updated e2e tests for cluster autoscaling to work with the new cluster autoscaler.
2016-05-16 14:49:43 +02:00
Ilya Dmitrichenko
a95ec884c5 Update basic example in client docs 2016-05-16 13:12:32 +01:00
Wojciech Tyczynski
8d90427c34 Merge pull request #25653 from wojtek-t/better_traces
Tune traces thresholds in etcdHelper
2016-05-16 12:43:38 +02:00
Wojciech Tyczynski
7452bc3f5b Tune traces thresholds in etcdHelper 2016-05-16 11:10:31 +02:00
k8s-merge-robot
c20dcfc406 Merge pull request #25641 from ping035627/master
Automatic merge from submit-queue

Improve fatal error description in plugins.go of scheduler

The PR add more information for the fatal error in plugins.go of scheduler.
2016-05-16 01:45:58 -07:00
k8s-merge-robot
0985f847ea Merge pull request #25311 from swagiaal/check-openssl
Automatic merge from submit-queue

Verify that openssl is installed in local-up-cluster.sh
2016-05-16 01:45:54 -07:00
k8s-merge-robot
61f383e5d1 Merge pull request #23785 from ajohnstone/23784-aws-vpc-key-error
Automatic merge from submit-queue

AWS kube-down: don't fail if ELB not in VPC - #23784

Prevent python undefined key error.

```
Traceback (most recent call last):
  File "<string>", line 1, in <module>
KeyError: 'VPCId'
```

Fixes #23784

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/23785)
<!-- Reviewable:end -->
2016-05-16 01:45:49 -07:00
k8s-merge-robot
c5d85c7822 Merge pull request #25221 from krousey/dynamic_client
Automatic merge from submit-queue

Adding patch and cleaning up namespace code

cc @kubernetes/sig-api-machinery
2016-05-16 01:45:45 -07:00
k8s-merge-robot
9aa1a59443 Merge pull request #25568 from wojtek-t/namespaces_in_load_test
Automatic merge from submit-queue

Introduce namespaces in load test

Ref #25563
2016-05-16 01:01:29 -07:00
k8s-merge-robot
7fdfe1b387 Merge pull request #25309 from keontang/es-patch
Automatic merge from submit-queue

add index template for es aggregations

This index template helps us to do es aggregations of namespace_name, pod_name and container_name. Then after doing eggs, we will get the whole name not all the spilt pieces.  
fix #25127
2016-05-16 01:01:24 -07:00
zhangke
49f4f242a8 Update lookup_cache.go
MatchingCache struct hold a RWLock, so Get operation of Cache should use RLock properly, nor WLock
2016-05-16 15:26:30 +08:00
k8s-merge-robot
1cba05574b Merge pull request #25619 from skrassiev/bug/aws_invalid_endpoint_24020
Automatic merge from submit-queue

Fixed 'Invalid endpoint: https://ec2.us-east-.amazonaws.com'. #24420 #24420

Addresses:

- https://github.com/kubernetes/kubernetes/issues/24020

- https://github.com/kubernetes/kubernetes/issues/24420
2016-05-16 00:04:04 -07:00
k8s-merge-robot
c044b5e93b Merge pull request #25402 from kubevirt/master
Automatic merge from submit-queue

Add nfs support for vagrant nodes.

## 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
* Use the release-note-* labels to set the release note state 
* Clear this block to use the PR title as the release note 
-OR-
* Enter your extended release note here
```


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

This will allow to use NFS volumes on those nodes
2016-05-16 00:04:00 -07:00