Commit Graph

27276 Commits

Author SHA1 Message Date
Jeff Lowdermilk
d427eeea10 Merge pull request #23842 from mml/gcloud
Set CLOUDSDK_CORE_PRINT_UNHANDLED_TRACEBACKS on GCE e2e runs.
2016-04-07 15:59:23 -07:00
Jeff Lowdermilk
75b01662e6 Merge pull request #23999 from mikedanese/flake
bump single call timeout in e2e tests
2016-04-07 15:04:42 -07:00
Mike Danese
476103a822 bump single call timeout in e2e tests 2016-04-07 14:12:38 -07:00
k8s-merge-robot
25ffc6ab03 Merge pull request #23984 from vishh/skip-tests-node-e2e
Automatic merge from submit-queue

Add an option to focus or skip tests in the node e2e makefile rule.

cc @kubernetes/sig-node
2016-04-07 14:09:12 -07:00
k8s-merge-robot
22f01f1041 Merge pull request #23891 from caesarxuchao/client-gen-cmd-doc
Automatic merge from submit-queue

Client-gen: show the command used to generate the package in doc.go

#22928 adds a comment in every generated file to show the arguments supplied to client-gen. I received comment (https://github.com/kubernetes/kubernetes/pull/22928#issuecomment-201078363) that it generates too many one-line changes every time the command line argument is changed. To address this problem, this PR only generates that line in doc.go.

@jianhuiz @krousey
2016-04-07 13:13:51 -07:00
Vishnu kannan
1e7e941dae Add an option to focus or skip tests in the node e2e makefile rule.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-07 10:22:22 -07:00
k8s-merge-robot
235f8f13c0 Merge pull request #22146 from luxas/binary_release_notes
Automatic merge from submit-queue

Add some info about binary downloads

This should be merged before `v1.2`. Useful information.
WDYT?
@wojtek-t @fgrzadkowski @zmerlynn @mikedanese @brendandburns @thockin
2016-04-07 04:03:09 -07:00
Minhan Xia
f690220b5c Merge pull request #23704 from freehan/kubenet
Update cni binary

#23712 is depending on this. Not sure why this one gets in first. Hand merging this
2016-04-06 15:47:42 -07:00
k8s-merge-robot
b141c6903e Merge pull request #23925 from luxas/go_version_support
Automatic merge from submit-queue

Add a note about supported go version

Broke out from #22149 
@wojtek-t
2016-04-06 15:33:52 -07:00
k8s-merge-robot
16d9df180e Merge pull request #23845 from wojtek-t/remove_shippable
Automatic merge from submit-queue

Remove Shippable

@spxtr @ixdy @kubernetes/goog-testing
2016-04-06 15:33:51 -07:00
k8s-merge-robot
7b0766ad67 Merge pull request #23712 from freehan/jenkins
Automatic merge from submit-queue

add jenkins project for kubenet

added a jenkins project for gce using kubenet as network provider


`k8s-jkns-e2e-gce-kubenet` has been created and configured
2016-04-06 15:33:49 -07:00
Saad Ali
d7b069fbcc Merge pull request #23793 from pmorie/configmap-nonroot
Make ConfigMap volume readable as non-root
2016-04-06 15:11:25 -07:00
Saad Ali
c9b6e89a39 Merge pull request #23929 from mikedanese/pending-running-ds
only include running and pending pods in daemonset should place calculation
2016-04-06 14:42:52 -07:00
Jeff Grafton
a437b8c78f Merge pull request #23936 from mml/storage-url
Stop using storage.cloud.google.com in test logs.
2016-04-06 13:38:18 -07:00
Matt Liggett
42b8fa8ca6 Stop using storage.cloud.google.com in test logs. 2016-04-06 12:59:53 -07:00
Mike Danese
14284291da only include running and pending pods in daemonset should place calculation 2016-04-06 12:30:50 -07:00
Chao Xu
db518cf4ff Generated code 2016-04-06 10:17:48 -07:00
Lucas Käldström
e9eaba3cbd Add a note about supported go version 2016-04-06 20:08:45 +03:00
Wojciech Tyczynski
57b76eff45 Remove Shippable 2016-04-06 01:06:38 +02:00
Chao Xu
027710baf5 client-gen now generates the "generated by" comment in doc.go 2016-04-05 15:24:31 -07:00
k8s-merge-robot
4f329516ae Merge pull request #22149 from luxas/onedotsix
Automatic merge from submit-queue

Up to golang 1.6

A second attempt to upgrade go version above `go1.4`
Merge ASAP after you've cut the `release-1.2` branch and feel ready.
`go1.6` should perform slightly better than `go1.5`, so this time it might work
@gmarek @wojtek-t @zmerlynn @mikedanese @brendandburns @ixdy @thockin
2016-04-05 13:26:18 -07:00
Isaac Hollander McCreery
9a7860855c Merge pull request #22962 from ihmccreery/split-upgrade-jobs
Add configuration for splitting upgrade jobs instead of using Jenkins steps
2016-04-05 13:05:25 -07:00
k8s-merge-robot
66bf12b0bf Merge pull request #23833 from vishh/cadvisor-e2e-owner
Automatic merge from submit-queue

Transfer ownership of cadvisor e2es to Tim St. Clair.

cc @pwittrock
2016-04-05 12:54:36 -07:00
Saad Ali
48fa998f58 Merge pull request #23717 from mml/until
Comment out racey part of the multi-scheduler test.
2016-04-05 11:34:32 -07:00
Paul Morie
e838ff2893 Make ConfigMap volume readable as non-root 2016-04-05 12:20:52 -04:00
k8s-merge-robot
b8d000853e Merge pull request #21617 from luxas/hyperkube_for_arm
Automatic merge from submit-queue

Cross-build hyperkube and debian-iptables for ARM. Also add a flannel image

We have to be able to build complex docker images too on `amd64` hosts.
Right now we can't build Dockerfiles with `RUN` commands when building for other architectures e.g. ARM.

Resin has a tutorial about this here: https://resin.io/blog/building-arm-containers-on-any-x86-machine-even-dockerhub/
But it's a bit clumsy syntax.

The other alternative would be running this command in a Makefile:
```
# This registers in the kernel that ARM binaries should be run by /usr/bin/qemu-{ARCH}-static
docker run --rm --privileged multiarch/qemu-user-static:register --reset
```
and 
```
ADD https://github.com/multiarch/qemu-user-static/releases/download/v2.5.0/x86_64_qemu-arm-static.tar.xz /usr/bin
```
Then the kernel will be able to differ ARM binaries from amd64. When it finds a ARM binary, it will invoke `/usr/bin/qemu-arm-static` first and lets `qemu` translate the ARM syscalls to amd64 ones.
Some code here: https://github.com/multiarch

WDYT is the best approach? If registering `binfmt_misc` in the kernels of the machines is OK, then I think we should go with that.
Otherwise, we'll have to wait for resin's patch to be merged into mainline qemu before we may use the code I have here now.

@fgrzadkowski @david-mcmahon @brendandburns @zmerlynn @ixdy @ihmccreery @thockin
2016-04-04 22:03:32 -07:00
k8s-merge-robot
52276bcc6c Merge pull request #23843 from cjcullen/dialtimeout
Automatic merge from submit-queue

Add a timeout to the sshDialer to prevent indefinite hangs.

Prevents the SSH Dialer from hanging forever. Fixes a problem where SSH Tunnels get stuck trying to open.

Addresses #23835.
2016-04-04 21:28:52 -07:00
k8s-merge-robot
02e0b29b6d Merge pull request #23769 from saad-ali/fixVolumeCloudProvider
Automatic merge from submit-queue

Ensure object returned by volume getCloudProvider incorporates cloud config

This PR addresses https://github.com/kubernetes/kubernetes/issues/23517.

**Problem**
The existing GCE PD and AWS EBS volume plugin code were fetching cloud provider without specifying a cloud config: `cloudprovider.GetCloudProvider("gce", nil)`
This caused the cloud provider to use default auth mechanism, which is not acceptable for the provisioning controller running on GKE master.

**Fix**
This PR does the following:
* Modifies the GCE PD and AWS EBS volume plugin code to use the cloud provider object pre-constructed by the binary with a cloud config.
* Enable provisioning E2E test for GKE (to catch future issues).

Thanks to @cjcullen for debugging and finding the root cause!  👍 

This should be cherry-picked into the v1.2 branch for the next release.
2016-04-04 20:52:13 -07:00
k8s-merge-robot
fd1923098b Merge pull request #23851 from gmarek/percentile
Automatic merge from submit-queue

Print 100th percentile of resource usage when gatherer is turned on.

Ref. #23820
2016-04-04 19:03:37 -07:00
gmarek
7a848eb03a Print 100th percentile of resource usage when gatherer is turned on. 2016-04-04 17:42:32 -07:00
CJ Cullen
cde4f6d613 Add a timeout to the sshDialer to prevent indefinite hangs. 2016-04-04 16:35:20 -07:00
k8s-merge-robot
4af44ec37b Merge pull request #23840 from gmarek/metrics
Automatic merge from submit-queue

Add container_spec_cpu_period metric
2016-04-04 16:00:26 -07:00
Matt Liggett
3a4beb1ef1 Set CLOUDSDK_CORE_PRINT_UNHANDLED_TRACEBACKS on GCE e2e runs.
This should help us debug the large number of gcloud crashes we are
seeing.
2016-04-04 15:07:53 -07:00
gmarek
7123076b97 Add container_spec_cpu_period metric 2016-04-04 23:53:54 +02:00
k8s-merge-robot
ce988c8d75 Merge pull request #23817 from matjohn2/pr_cni_vagrant
Automatic merge from submit-queue

support NETWORK_PROVIDER=cni for KUBERNETES_PROVIDER=vagrant

While trying to develop CNI plugins for K8's, I found the docs referenced the support of --network-plugin=cni for kubelet, but this wasn't surfaced up via salt to support env NETWORK_PROVIDER=cni before a kube-up deployment.

This PR is my attempt at adding CNI support to the kube-up happy path, following a lot of similar work for NETWORK_PROVIDER=kubenet which already exists.

Also, I've added the ability to consume CNI plugin's (binaries) and configuration files from the local cluster/network-plugins directory into the necessary locations as referenced here for CNI:
http://kubernetes.io/docs/admin/network-plugins 
This allows a local developer to easily work on CNI plugin development while following the existing kube-up.sh docs and process.

In general, i've struggled to find any authoritative information or answers to my questions in slack regarding CNI progress / correct integration, so comments encouraged here!
2016-04-04 14:30:22 -07:00
k8s-merge-robot
6173c43c80 Merge pull request #23724 from maciaszczykm/dashboard-release-v1.0.1
Automatic merge from submit-queue

Update Dashboard UI addon to v1.0.1

Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.1

CC @bryk
2016-04-04 14:30:20 -07:00
Isaac Hollander McCreery
873b499d90 Add ClusterUpgrade tests 2016-04-04 14:21:21 -07:00
Isaac Hollander McCreery
53c3a5626d Add configuration for splitting upgrade jobs instead of using Jenkins steps 2016-04-04 14:21:21 -07:00
Lucas Käldström
560268e036 Add a flannel image for arm and amd64. Cross-build debian-iptables for arm, arm64 and ppc64le. Build and push hyperkube for arm on every release 2016-04-04 23:33:32 +03:00
Vishnu kannan
a3cfe90b14 Transfer ownership of cadvisor e2es to Tim St. Clair.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-04 13:15:03 -07:00
k8s-merge-robot
6950fab441 Merge pull request #23786 from tnguyen-rh/fix-typo
Automatic merge from submit-queue

Fix typo
2016-04-04 12:55:00 -07:00
Marek Grabowski
ff08138128 Merge pull request #23826 from gmarek/master
Remove explicit docker api version from HollowNodes
2016-04-04 12:00:37 -07:00
gmarek
4788eefbe3 Remove explicit docker api version from HollowNodes 2016-04-04 20:39:09 +02:00
saadali
e7b14e721a Ensure volume GetCloudProvider code uses cloud config 2016-04-04 10:59:13 -07:00
Matt Johnson
ce220836c3 Allow for local CNI binaries and configuration files with KUBERNETES_PROVIDER=vagrant.
Files are taken from cluster/network-plugins/{bin,conf} to be consumed within a vagrant kube-up.sh environment.
Paths used for configuration files and the 'cni' name of the network provider are all from the kubernetes documentation, but the actual implementation in the salt automation doesn't seem to exist.
2016-04-04 14:38:00 +01:00
Matt Johnson
46e6df655f Support use of NETWORK_PROVIDER=cni with KUBERNETES_PROVIDER=vagrant for a kube-up.
Use of NETWORK_PROVIDER=cni is documented as useable (as well as it's affects on the runtime args of kubelet),
however the actual implimentation in the salt automation doesnt seem to exist.
this change attempts to fix that for the vagrant usecase.
2016-04-04 14:37:48 +01:00
Marcin Maciaszczyk
7250028484 Update Dashboard UI addon to v1.0.1
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.1
2016-04-04 09:13:31 +02:00
k8s-merge-robot
5470488aa5 Merge pull request #23797 from sttts/sttts-zsh-completion
Automatic merge from submit-queue

Add zsh completion for kubectl

This is based on the zsh emulation of the bash completion system (compare `bashcompinit` at http://zsh.sourceforge.net/Doc/Release/Completion-System.html). Because this emulation is not 100% complete, a number of functions are added or extended to work with the bash completion of kubectl.
2016-04-03 07:34:28 -07:00
k8s-merge-robot
a2145d7b1c Merge pull request #23613 from Random-Liu/remove-out-of-date-code
Automatic merge from submit-queue

Kubelet: Remove nsinit related code and bump up minimum docker apiversion

Docker has native exec support after 1.3.x. We never need this code now.

As for the apiversion, because Kubernetes supports 1.8.x - 1.10.x now, we should bump up the minimum docker apiversion.
@yujuhong I checked the [changes](https://github.com/docker/engine-api/blob/master/types/versions/v1p20/types.go), we are not relying on any of those changes. So #23506 should work with docker 1.8.x+
2016-04-03 07:34:26 -07:00
k8s-merge-robot
5be819b607 Merge pull request #23612 from mikedanese/addon-fix
Automatic merge from submit-queue

use apply instead of create to setup namespaces and tokens in addon manager

when the addon manager restarts, it takes ~15 minutes (1000 seconds) to start the sync loop because it retries creation of namespace and tokens 100 times. Create fails if the tokens already exist. Just use apply.
2016-04-03 05:50:12 -07:00