Commit Graph

27659 Commits

Author SHA1 Message Date
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
goltermann
696423e044 Vet fixes, mostly pass lock by value errors. 2016-04-06 11:27:40 -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
Paul Morie
b98ff213a9 Add godoc to kubelet/volumes.go 2016-04-06 02:16:36 -04:00
Preet Bhinder
d178d78013 Fixed typo: kuberntes -> kubernetes
"Kubernetes" was misspelled in a couple of places.
2016-04-05 16:20:08 -07: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
Jordan Liggitt
bef1d6e82e Externalize immortal namespaces 2016-04-05 16:28:00 -04: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
Mike Danese
7b8dbf4876 use kubectl delete in kube-addon-manager instead of stop
stop has been deprecated for about a year
2016-04-05 09:31:45 -07:00
Paul Morie
e838ff2893 Make ConfigMap volume readable as non-root 2016-04-05 12:20:52 -04:00
Clayton Coleman
1f012a2bb3 Implement a simpler unversioned.Time serialization
Time is the number of seconds since the unix epoch and is consistent
with our JSON fields.
2016-04-05 11:19:24 -04:00
Mike Danese
32426d6e97 don't ship kube-registry-proxy and pause in tars.
pause is built into containervm. if it's not on the machine we should just pull
it. nobody that I'm aware of uses kube-registry-proxy and it makes build/deployment
more complicated and slower.
2016-04-05 07:32:07 -07:00
Tim Hockin
3eec0a9a47 Render the logo name in blue
Also shrink SVG documents to size.
2016-04-05 01:06:08 -07: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
Clayton Coleman
529bd2bf98 Support protobuf.as=Message for aliasing
In order to allow a Go type to have a different internal representation,
provide the comment `// +protobuf.as=MESSAGENAME` which substitutes the
current message's members with the named message's members. Used by the
unversioned.Time type to have the same fields as unversioned.Timestamp
and to have an alternate serialization.
2016-04-04 23:00:35 -04: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
Janet Kuo
0335f1c2cd Revert "rolling update will check whether the image is distinct or not, however the image with tag latest should be excluded"
This reverts commit d27a30df29.
2016-04-04 18:36:02 -07:00
gmarek
7a848eb03a Print 100th percentile of resource usage when gatherer is turned on. 2016-04-04 17:42:32 -07:00
Random-Liu
8fb7ee38b0 Set fake docker client to minimum required version. 2016-04-04 17:41:01 -07:00
Wojciech Tyczynski
49d3c3962c Small improvements in conversion generator 2016-04-05 02:10:23 +02:00
dagnello
cd7e99af1c Add OpenStack Cloud Provider Instance Tests
Adding OpenStack cloud provider instance unit tests for externalID and
instanceID.
2016-04-04 17:06:17 -07:00
dagnello
28590781c1 Extend OpenStack Cloud Provider Volume Tests
Adding test coverage for:
getVolume
AttachDisk
DetachDisk
2016-04-04 17:01:42 -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
David McMahon
c7c7d6c0aa Fix valid CI version regex in kube::release::parse_and_validate_release_version(). 2016-04-04 12:14:15 -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
derekwaynecarr
9e0ebc2773 Remove SecurityContextDeny from vagrant setup 2016-04-04 14:43:21 -04:00