Commit Graph

4430 Commits (47e45739436ea9023a5961f5ccf8cbacf5706c92)

Author SHA1 Message Date
Jeff Grafton 47e4573943 Print a more helpful error message when rolling-updates fail. 2016-09-20 15:31:57 -07:00
Kubernetes Submit Queue 12ecc60833 Merge pull request #32264 from dshulyak/enable_hostpath_provisioner
Automatic merge from submit-queue

Enable hostpath provisioner for vagrant environment

This flag is required to run e2e tests for certain features (petset), and for manual tests and debugging.

related: https://github.com/kubernetes/kubernetes/issues/32119
2016-09-20 00:30:42 -07:00
Wojciech Tyczynski 8a942e65fd Show errors in tars_from_version 2016-09-19 16:26:07 +02:00
Kubernetes Submit Queue 87c2650038 Merge pull request #32873 from jszczepkowski/ha-delete-nodes2
Automatic merge from submit-queue

Implemented KUBE_DELETE_NODES flag in kube-down.

Implemented KUBE_DELETE_NODES flag in kube-down script.
It prevents removal of nodes when shutting down a HA master replica.
2016-09-19 01:08:18 -07:00
Kubernetes Submit Queue a5e35eb887 Merge pull request #32886 from freehan/bump-master-cidr
Automatic merge from submit-queue

bump master cidr range from /30 to /29

Fixes P1 item in the 1.4 milestone

ref: https://github.com/kubernetes/kubernetes/issues/32844
2016-09-17 11:27:46 -07:00
Michael Taufen 2a536bf6f5 Revert "Merge pull request #31023 from vishh/gci-default"
This reverts PR #31023, which had made GCI the default node image for
open source. This revert makes container-vm the default for open source again.
2016-09-16 15:16:53 -07:00
Minhan Xia 879a2dcdbd bump master cidr range from /30 to /29 2016-09-16 13:41:58 -07:00
Kubernetes Submit Queue 9bc7e36f4b Merge pull request #32517 from luxas/fix_arm_ppc64le
Automatic merge from submit-queue

Use a patched golang version for building linux/arm

Fixes: #29904

Right now, linux/arm is broken because of an internal limitation in Go.
I've filed an issue for it here: https://github.com/golang/go/issues/17028

The affected binaries of this limitation are hyperkube and kube-apiserver, which are the largest binaries.

And when we now have a patched go 1.7.1 version for building "unsupported" but important architectures (ref: https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/multi-platform.md), we should also include the patch for ppc64le and start building ppc64le again. 

As soon as @laboger has the patch I need up on Github, I'll include ppc64le to this PR and we'll merge it

TODO:
 - [ ] ~~Update the PR with patches for ppc64le at the same time @luxas~~
 - [x] Push the new kube-cross image @ixdy 
 - [x] Run a full `make release` before to verify nothing breaks @luxas + @ixdy 
 - [ ] Cherrypick into the 1.4 branch @luxas + (who?)

@lavalamp @smarterclayton @ixdy @rsc @davecheney @wojtek-t @jfrazelle @bradfitz @david-mcmahon @pwittrock
2016-09-16 12:52:17 -07:00
Wojciech Tyczynski 07476fa658 Copy rotated logs in e2e tests 2016-09-16 19:12:18 +02:00
Jerzy Szczepkowski 58c8992590 Implemented KUBE_DELETE_NODES flag in kube-down.
Implemented KUBE_DELETE_NODES flag in kube-down script.
It prevents removal of nodes when shutting down a HA master replica.
2016-09-16 16:51:52 +02:00
Kubernetes Submit Queue 60840140ab Merge pull request #31437 from jszczepkowski/ha-poc-debian2
Automatic merge from submit-queue

Implemented creation of HA master for GCE on debian.
2016-09-16 05:44:18 -07:00
Kubernetes Submit Queue 5a8d0a198c Merge pull request #32855 from wojtek-t/extend_logs_for_upgrade
Automatic merge from submit-queue

Extend logs for debugging upgrade test failures
2016-09-16 03:17:30 -07:00
Marek Grabowski 5fc62c2333 Merge pull request #32814 from bprashanth/kubeup
Retrieve username/password from basicauth section of kubeconfig
2016-09-16 11:41:17 +02:00
Wojciech Tyczynski ed88a03944 Extend logs for debugging upgrade test failures 2016-09-16 10:52:14 +02:00
Vishnu kannan ff5081cce5 support image type override for real in upgrade.sh script
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-09-15 23:16:44 -07:00
Random-Liu bb233e2249 Change the upgrade script to keep os distro during upgrade. 2016-09-15 21:14:40 -07:00
bprashanth bfd4485317 Retrieve username/password from basicauth section of kubeconfig 2016-09-15 12:57:18 -07:00
Kubernetes Submit Queue e0345a1b1a Merge pull request #32422 from MrHohn/dnsmasq-log
Automatic merge from submit-queue

Added --log-facility flag to enhance dnsmasq logging

Fix #31010.

Dnsmasq in kube-dns pod is logging in default setting, which is somehow hard to locate. Add --log-facility=- flag to redirect logs to std.

@girishkalele
2016-09-15 01:46:49 -07:00
Kubernetes Submit Queue 641682c002 Merge pull request #32666 from bryk/release-1.4-final
Automatic merge from submit-queue

Set Dashboard UI to final 1.4 version

Release info: https://github.com/kubernetes/dashboard/releases/tag/v1.4.0

Diff since beta2: a few bug fixes.

This is final release for this quarter.
2016-09-15 00:28:15 -07:00
Kubernetes Submit Queue d1256498ff Merge pull request #32686 from fangyuanziti/add_glusterfs_client
Automatic merge from submit-queue

Add glusterfs-client in hyperkube image.

When we run kubernete in a docker container, the glusterfs volume doesn't work.
This PR add glusterfs-client package in hyperkube image to fix the bug.
2016-09-14 23:47:18 -07:00
Kubernetes Submit Queue 7419e27e98 Merge pull request #32658 from jszczepkowski/ha-kubedown-fix
Automatic merge from submit-queue

Fixed #32366: wrong master pd name during kube-down.
2016-09-14 14:36:46 -07:00
Harry Fei fe411b0a61 Add glusterfs-client in hyperkube image.
To make glusterfs volume workable when running kubernetes in a docker container.
2016-09-15 01:50:27 +08:00
Lucas Käldström f89d5006a9 Fix a wrong revert; the etcd version should be 2.2.5 in the hyperkube manifest 2016-09-14 18:03:33 +03:00
Dmitry Shulyak c59eb6275f Enable hostpath provisioner for vagrant environment
It is required to run automated tests for certain features (petset),
and for manual tests and debugging.

Change-Id: I9203aab6d67c8ff0cc4574473e8d0af888fe1804
2016-09-14 16:58:04 +03:00
bryk 3f67af659c
Set Dashboard UI to final 1.4 version
Release info: https://github.com/kubernetes/dashboard/releases/tag/v1.4.0

Diff since beta2: a few bug fixes.

This is final release for this quarter.
2016-09-14 15:11:13 +02:00
Jerzy Szczepkowski 529818c9c1 Fixed #32366: wrong master pd name during kube-down.
Fixed #32366: wrong master pd name during kube-down.
2016-09-14 14:21:19 +02:00
Kubernetes Submit Queue 75e09a892f Merge pull request #32161 from hongchaodeng/rb
Automatic merge from submit-queue

etcd: data rollback tool of v3 -> v2

ref: https://github.com/kubernetes/features/issues/44
ref #20504

What?
This provides a rollback tool for some users to rollback etcd data from v3 to v2.
2016-09-14 04:12:02 -07:00
Piotr Szczesniak 0f40f94dd9 Bumped Heapster to v1.2.0 2016-09-14 09:16:09 +02:00
Kubernetes Submit Queue c4893df894 Merge pull request #32151 from bboreham/fix-cni-on-gci
Automatic merge from submit-queue

Add flag to set CNI bin dir, and use it on gci nodes

**What this PR does / why we need it**:

When using `kube-up` on GCE, following #31023 which moved the workers from debian to gci, CNI just isn't working.  The root cause is basically as discussed in #28563: one flag (`--network-plugin-dir`) means two different things, and the `configure-helper` script uses it for the wrong purpose.

This PR adds a new flag `--cni-bin-dir`, then uses it to configure CNI as desired.

As discussed at #28563, I have also added a flag `--cni-conf-dir` so users can be explicit 

**Which issue this PR fixes** : fixes #28563

**Special notes for your reviewer**:

I left the old flag largely alone for backwards-compatibility, with the exception that I stop setting the default when CNI is in use.  The value of `"/usr/libexec/kubernetes/kubelet-plugins/net/exec/"` is unlikely to be what is wanted there.

**Release note**:
```release-note
Added new kubelet flags `--cni-bin-dir` and `--cni-conf-dir` to specify where CNI files are located.
Fixed CNI configuration on GCI platform when using CNI.
```
2016-09-13 16:42:06 -07:00
Kubernetes Submit Queue 2dc4c26f76 Merge pull request #32330 from euank/e2e-kern-log
Automatic merge from submit-queue

e2e/log-dump: Collect kernel log with journald

Related to #31928

The kern.log file does not exist on journald distros typically.

cc @vishh @Random-Liu
2016-09-12 19:47:23 -07:00
Marcin Wielgus 0bee184681 Bump cluster autoscaler to 0.3 2016-09-12 18:56:54 +02:00
Jerzy Szczepkowski 196a442e26 Implemented creation of HA master for GCE on debain.
Implemented creation of HA master for GCE on debain.
2016-09-12 16:42:20 +02:00
Kubernetes Submit Queue a062d9fe3b Merge pull request #32477 from wojtek-t/fix_etcd3_suite
Automatic merge from submit-queue

Fix etcd3 suite
2016-09-12 02:02:00 -07:00
Kubernetes Submit Queue af325ee7bf Merge pull request #31797 from aveshagarwal/master-dapi-volume-tests-image-update
Automatic merge from submit-queue

Update container image version for downward api volume tests

Some tests were using 0.7, and some were using 0.6, so updating all to 0.7.
@kubernetes/rh-cluster-infra
2016-09-12 01:22:27 -07:00
Marek Grabowski cc330692ba Merge pull request #32452 from MrHohn/revert-32018-kubedns-deployment
Revert "Use a Deployment for kube-dns"
2016-09-12 09:59:06 +02:00
Wojciech Tyczynski 7a9802d49f Fix etcd3 suite 2016-09-12 09:44:45 +02:00
Kubernetes Submit Queue 8a77e3fdb7 Merge pull request #32155 from euank/update-root-size
Automatic merge from submit-queue

cluster/gce: Update master root disk size

As part of #29213, the hyperkube image will be deployed alongside
existing dependencies.

This ends up just running over the root disk size of 10 during
extraction.

cc @yifan-gu @aaronlevy
2016-09-11 23:28:08 -07:00
Kubernetes Submit Queue 8f350198a9 Merge pull request #32204 from jszczepkowski/ha-port-fix
Automatic merge from submit-queue

Updated port for HA master etcd.
2016-09-11 15:43:34 -07:00
Kubernetes Submit Queue 2076319020 Merge pull request #32362 from piosz/heap
Automatic merge from submit-queue

Bumped Heapster to v1.2.0-beta.3

The new version contains Kubernetes deps in version `1.4.0-beta.0`
2016-09-11 13:47:44 -07:00
Kubernetes Submit Queue 8306fba9b0 Merge pull request #28469 from asalkeld/local-e2e
Automatic merge from submit-queue

Add detect-master to local provider to get e2e working

Make it possible to run some e2e tests using the local provider (./hack/local-up-cluster.sh)

This will now work for tests that don't need more than one node:
export  KUBERNETES_PROVIDER=local
go run hack/e2e.go -v -test --check_node_count=false --check_version_skew=false --test_args="--ginkgo.focus=Cadvisor"

Note: without this commit, the port and ip address are wrong and require the --host option (which is inconsistent with the other providers).
2016-09-11 05:44:47 -07:00
Kubernetes Submit Queue 2673ce4c21 Merge pull request #26244 from asalkeld/kconfig-common.sh
Automatic merge from submit-queue

Teach create-kubeconfig() to deal with multi path KUBECONFIG

When KUBECONFIG is in the form "A:B:C" make sure each file is
created.

fixes #17778
2016-09-10 23:51:37 -07:00
Zihong Zheng dce1c06ad3 Revert "Use a Deployment for kube-dns" 2016-09-10 20:29:00 -07:00
Kubernetes Submit Queue fdd3cf89a2 Merge pull request #32018 from MrHohn/kubedns-deployment
Automatic merge from submit-queue

Use a Deployment for kube-dns

Attempt to fix #31554 

Switching kube-dns from using Replication Controller to Deployment.

The outdated kube-dns YAML file in coreos and juju dir is also updated. Most of the specific memory limit in the files remain unchanged because it seems like people were modifying it explicitly(c8d82fc2a9). Only the memory limit for healthz is increased due to this pending investigation(#29688).

YAML files stay in *-rc.yaml format considering there are a lots of scripts in cluster and hack dirs are using this format. But it may be fine to changed them all.

@bprashanth @girishkalele
2016-09-10 19:16:03 -07:00
Kubernetes Submit Queue 859737fa0d Merge pull request #30847 from bmoylan/fix/centos-docker-download
Automatic merge from submit-queue

Fix/centos docker download

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**: The CentOS cluster provider attempts to download docker from a location that 404's.

**Which issue this PR fixes**: addresses https://github.com/kubernetes/kubernetes/issues/27572#issuecomment-226690177

**Special notes for your reviewer**: I don't know how Kubernetes decides docker compatibility, but it was previously pulling `latest` so I chose the most recent release. Is there any mechanism for keeping things like this up to date?

What is the status of kubernetes rpm's? As far as I could tell there aren't any 1.3 rpm's published. Are those officially supported or a community project?

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
CentOS Cluster Provider: fix docker download location & use docker 1.12.0
```
2016-09-10 16:35:20 -07:00
Kubernetes Submit Queue 43710a8714 Merge pull request #30845 from YuPengZTE/master
Automatic merge from submit-queue

The first letter should be capitalized
2016-09-10 00:22:10 -07:00
Kubernetes Submit Queue a400a8b7f4 Merge pull request #32397 from luxas/etcd_fix_makefile
Automatic merge from submit-queue

Fix etcd2 cross-build in the Makefile

fixes https://github.com/kubernetes/kubernetes/issues/32328

Make it possible to compile both etcd2 and etcd3 in the Makefile and compile attachlease for multiple arches as well.

@lavalamp The etcd build-from-source semantics changed between etcd2 and etcd3.
I updated it to etcd3 in my last PR, and didn't think we were gonna build etcd2 more.
However, I've now fixed it to build for both versions.
Thanks!
2016-09-09 18:00:09 -07:00
Kubernetes Submit Queue 4d244ff169 Merge pull request #32404 from caesarxuchao/etcd-2.2.1
Automatic merge from submit-queue

Stick to 2.2.1 etcd

Fixes #32253. See https://github.com/kubernetes/kubernetes/issues/32253#issuecomment-245974746. We are sticking with etcd 2.2.1 until we have a recommended rollforward/rollback process for etcd.

See https://github.com/kubernetes/kubernetes/issues/32253#issuecomment-245735209 for etcd roadmap.

I guess I also need to build the image like https://github.com/kubernetes/kubernetes/issues/32253#issuecomment-245744295, and update build/build-image/cross/VERSION?

@lavalamp @timothysc
2016-09-09 18:00:04 -07:00
Kubernetes Submit Queue 8a8ebbbc60 Merge pull request #32424 from bprashanth/glbc_version
Automatic merge from submit-queue

Fix glbc name to match image version

Risk is low, we should get it into 1.4 to avoid confusion. Image is 0.7.1 (bumped in 1.3.6) so name and label should match.
2016-09-09 17:59:57 -07:00
Chao Xu 7e92025cfd stick to 2.2.1 etcd 2016-09-09 16:35:05 -07:00
bprashanth 46dae270ef Fix glbc name to match image version 2016-09-09 16:00:20 -07:00