Commit Graph

3359 Commits (7b3d1b370f80b3087a36f8e383de65edbb048f80)

Author SHA1 Message Date
k8s-merge-robot a20d4f83ff Merge pull request #21379 from hlamer/hyperkube-apiserver-cert-fix
Auto commit by PR queue bot
2016-02-25 09:02:30 -08:00
Wojciech Tyczynski 506899008f Parallelization of namespace deletion 2016-02-25 16:33:25 +01:00
Marcin Wielgus 11fad31448 Heapster v0.20.0-alpha8 2016-02-25 16:26:32 +01:00
gmarek 98eb12e1ed Update memory requirements for influxdb 2016-02-25 16:15:54 +01:00
Olivier Lemasle 08541dc2ff Fix issue #21746
This was a regression due to commit e2c79ea1f1
(cf https://github.com/kubernetes/kubernetes/pull/20965)
2016-02-25 11:37:28 +01:00
Justin Santa Barbara 4e64c4586e AWS: Set OS defaults for kube 1.2
Default distro is jessie, due to the support situation with Ubuntu
distros.  Default ubuntu distro is wily.

Update the docs to reflect the recommended distros with kube-up, and to
encourage contributions for other distros.
2016-02-25 00:10:33 -05:00
Robert Bailey a238d90d49 Remove the SecurityContextDeny admission controller so that the
testing environment matches the production environment. This
was removed from config-default.sh in #16986.
2016-02-24 21:07:16 -08:00
k8s-merge-robot 9b62123b37 Merge pull request #21908 from justinsb/aws_spot_instance_timeout
Auto commit by PR queue bot
2016-02-24 17:25:16 -08:00
Alex Robinson cbcc25802e Merge pull request #21237 from justinsb/aws_jessie_support
AWS Debian Jessie Support
2016-02-24 14:34:48 -08:00
Alex Robinson af93275f13 Merge pull request #21482 from chrisleck/cle-sub-second-fluentd
Enable fluentd to parse the sub-second portion of timestamps coming from docker logs
2016-02-24 13:52:30 -08:00
Yifan Gu aff803bed9 gce/coreos: Refactor the downloading command to handle errors better. 2016-02-24 12:06:56 -08:00
Justin Santa Barbara 5d7ed4d6e7 AWS kube-up: Stop docker before moving /mnt/docker
On Jessie, we now preinstall Docker.  Before moving /mnt/docker, make
sure we stop the docker service.
2016-02-24 15:01:20 -05:00
Justin Santa Barbara 7f3bbe1dfe AWS kube-up: Bump to the latest Jessie image, allow overriding
Jessie image can be selected by name using AWS_IMAGE_NAME. This is a
little easier than specifying the AMI ID.
2016-02-24 14:34:40 -05:00
Justin Santa Barbara 41e2a4b0c3 AWS Jessie image: preinstall docker 1.9.1
Given the problems with docker's installation, we should be baking it
into the image.
2016-02-24 14:24:03 -05:00
Justin Santa Barbara 62898319df AWS kube-up: Increase timeout for spot instances
Spot instances take a lot longer to run; wait up to 15 minutes for the
nodes to launch when we're using spot instances.  (Previously we were
waiting 5 minutes).
2016-02-24 14:22:33 -05:00
k8s-merge-robot 8f3d7110d5 Merge pull request #21466 from mwielgus/heapster-alpha7
Auto commit by PR queue bot
2016-02-24 05:41:36 -08:00
gmarek 053e882622 kube-down looks for instance templates even if instance group does not exists 2016-02-24 11:15:45 +01:00
Joe Finney 372d1b6020 Remove check for rolling-updates gcloud subgroup. 2016-02-23 17:45:44 -08:00
Mike Spreitzer 6b8e7e158e Fixed typos, bash uses elif 2016-02-23 13:26:26 -05:00
k8s-merge-robot 58783bc256 Merge pull request #21684 from justinsb/fix_21200
Auto commit by PR queue bot
2016-02-23 07:06:08 -08:00
Justin Santa Barbara aa57beb885 AWS Jessie: Find image by name
This means we don't have to code the AMI ids for each region.
2016-02-23 00:02:54 -05:00
Justin Santa Barbara 977a4a56e4 AWS Debian Jessie: Install Docker 1.9.1 2016-02-22 22:55:11 -05:00
Justin Santa Barbara 91eb370931 AWS Debian: Only install linux-image-extra on Ubuntu
It isn't available (and hopefully not needed) on Debian
2016-02-22 22:54:41 -05:00
Prashanth B c833a14898 Merge pull request #21727 from dchen1107/test
Remove potential corrupted docker network checkpoint file before star…
2016-02-22 17:52:16 -08:00
Dawn Chen d922ddef8c Remove potential corrupted docker network checkpoint file before start docker
again.
2016-02-22 17:08:31 -08:00
k8s-merge-robot 789fd731d2 Merge pull request #21686 from justinsb/aws_kubeup_build_config_early
Auto commit by PR queue bot
2016-02-22 16:16:53 -08:00
k8s-merge-robot 8afccef608 Merge pull request #21632 from justinsb/docker_191
Auto commit by PR queue bot
2016-02-22 16:16:51 -08:00
Zach Loafman e85cf1bb97 Attempt to delete node-template before retry
I don't think we've seen this commonly, so I'm proposing a simplistic
fix for now.

Fixes #20878
2016-02-22 16:09:15 -08:00
Dhawal Yogesh Bhanushali e1a7441b36 restricting the version of docker to 1.9.x for vsphere support
for vsphere provider docker currently only supports 1.9.1 release.
The older versions of docker are failing on jessie due to issue https://github.com/docker/docker/issues/18793
and newer version 1.10.x is not properly tested.
2016-02-22 16:03:17 -08:00
Jeff Lowdermilk c406665b2b Plumb node labels through salt
Expose node-labels flag on kubelet for gce via a startup script
env var.
2016-02-22 15:31:34 -08:00
Dawn Chen 699c80b752 Merge pull request #21641 from bprashanth/promisc
Teach the kubelet about promiscuous mode, take 2
2016-02-22 15:08:18 -08:00
Dawn Chen 201d60b426 Merge pull request #21440 from bprashanth/glbc_name
Add image version to glbc name.
2016-02-22 14:48:48 -08:00
Dawn Chen b58826292a Merge pull request #21703 from dchen1107/test
Make sure docker is properly shutdown before startup.
2016-02-22 13:35:24 -08:00
Dawn Chen 6c5f07d58e Make sure docker is properly shutdown before startup. 2016-02-22 12:57:42 -08:00
k8s-merge-robot 347a509744 Merge pull request #21226 from justinsb/aws_jessie_image
Auto commit by PR queue bot
2016-02-22 11:04:49 -08:00
Justin Santa Barbara f117b26c07 AWS: Template for jessie image
Based on the official debian image, with the following changes:

* Switched extlinux -> grub, because we need to change kernel options
to enable the memory cgroup controller, and extlinux is harder and has
reboot problems
* Added packages that would otherwise be installed as part of the boot
(just an optimization)
* Also add the cloud-initramfs-growroot package; with it the root
volume will resize.
* We add panic=10 & oops=panic to kernel options
* We install the packages as per the base image, except we install
  awscli from pip, because the repo version is really old.
2016-02-22 12:47:34 -05:00
Mike Spreitzer 22246291e3 Support a CNI plugin as an alternative to Flannel
Resolves issue #20292
2016-02-22 11:29:55 -05:00
Justin Santa Barbara 050863cf93 AWS kube-up: Build kubeconfig asap
Once we've built the master, we can build kubeconfig.  By doing so, if
we time out waiting for the nodes, the system is still configured
correctly.

In particular, spot instances can be slow to launch.

Related to issue #21200
2016-02-22 10:46:56 -05:00
Justin Santa Barbara fb12c48cb7 AWS kube-up: Allow spot instances
I think we should probably leave this undocumented for now, until we
have a better way to launch multiple sets of nodes, but it's great for
cost savings while testing!

Fix #21200
2016-02-22 10:42:49 -05:00
k8s-merge-robot e629ee6bd3 Merge pull request #20704 from FujitsuEnablingSoftwareTechnologyGmbH/centos-support
Auto commit by PR queue bot
2016-02-22 02:35:22 -08:00
k8s-merge-robot 85018f728e Merge pull request #21258 from gmarek/heapster
Auto commit by PR queue bot
2016-02-22 01:24:58 -08:00
k8s-merge-robot 3868bb433d Merge pull request #21253 from gmarek/enable
Auto commit by PR queue bot
2016-02-22 01:24:57 -08:00
Lukasz Zajaczkowski 82be3d08f3 Add CentOS support 2016-02-22 07:41:35 +01:00
k8s-merge-robot facd8617ce Merge pull request #21505 from bprashanth/flannel-etcd
Auto commit by PR queue bot
2016-02-21 18:09:12 -08:00
Prashanth Balasubramanian c97e8df65b Stricter checking of HAIRPIN_FLAG in salt. 2016-02-21 14:43:43 -08:00
k8s-merge-robot 1ce188e557 Merge pull request #21430 from spxtr/e2e-internal
Auto commit by PR queue bot
2016-02-21 12:08:22 -08:00
k8s-merge-robot d6192dd152 Merge pull request #21342 from spxtr/remove-e2e-test
Auto commit by PR queue bot
2016-02-21 00:39:38 -08:00
Prashanth Balasubramanian 2e8ff81de1 Teach the kubelet about --hairpin-mode=promiscuous-bridge. 2016-02-20 22:40:54 -08:00
k8s-merge-robot 0f1043d6df Merge pull request #21299 from wojtek-t/always_event_etcd
Auto commit by PR queue bot
2016-02-20 21:03:27 -08:00
k8s-merge-robot 65b5d0cbf4 Merge pull request #21269 from gmarek/metrics-grabber
Auto commit by PR queue bot
2016-02-20 16:37:16 -08:00
Justin Santa Barbara dda792304d AWS Salt: Update to trusty, vivid, wily to Docker 1.9.1
This updates all of our recognized Ubuntu images to use Docker 1.9.1
2016-02-20 17:31:19 -05:00
k8s-merge-robot a12a2e984a Merge pull request #21233 from justinsb/aws_wily
Auto commit by PR queue bot
2016-02-20 13:28:08 -08:00
k8s-merge-robot fe18055adc Merge pull request #21165 from justinsb/aws_master_pd_in_fstab
Auto commit by PR queue bot
2016-02-20 00:29:46 -08:00
k8s-merge-robot 6c5bf89ed3 Merge pull request #21160 from justinsb/aws_bigger_master
Auto commit by PR queue bot
2016-02-20 00:29:45 -08:00
Daniel Smith a8b943dddd Revert "Put the container bridge in promiscuous mode." 2016-02-19 23:14:53 -08:00
Prashanth B b36e046fc8 Merge pull request #21326 from bprashanth/cbr0_promisc
Put the container bridge in promiscuous mode.
2016-02-19 17:52:34 -08:00
Joe Beda 11c7068b74 Merge pull request #21142 from justinsb/install_git_package
Salt: Make sure git is installed, for gitRepo volumes
2016-02-19 15:42:00 -08:00
Prashanth Balasubramanian a694a7ae4b Teach the kubelet about --hairpin-mode=promiscuous-bridge. 2016-02-19 14:59:16 -08:00
Brendan Burns 8bda033ef1 Merge pull request #21444 from dchen1107/test1
Log daemons' failure reasons to supervisord log files
2016-02-19 13:08:19 -08:00
k8s-merge-robot 9274783d62 Merge pull request #20965 from olivierlemasle/vagrant-bearertoken
Auto commit by PR queue bot
2016-02-19 12:08:08 -08:00
k8s-merge-robot ced1ddfcc7 Merge pull request #21428 from ArtfulCoder/fluentes
Auto commit by PR queue bot
2016-02-19 08:56:10 -08:00
k8s-merge-robot 841d3f8311 Merge pull request #21357 from WeixuZhuang/fix
Auto commit by PR queue bot
2016-02-19 02:14:51 -08:00
Andrei Kopats e5c321f6af Add internal API-server IP to the list of certificate SANs
Without this kube2sky fails to comunicate to the API server because
server TLS verification fails. DNS addon doesn't work on
docker setups
2016-02-19 11:37:24 +03:00
Phillip Wittrock 8151021369 Merge pull request #21508 from mml/slow-flake
Also retain docker and kubelet logs.
2016-02-18 18:53:20 -08:00
Zach Loafman 7f94e3ecdc Bump container-vm in 1.2 to container-v1-2-v20160218 (prerelease) 2016-02-18 15:00:50 -08:00
Zach Loafman 6fe3023a3d Revert "Upgrade gce cluster to docker 1.9.1"
This reverts commit f07070d129.
2016-02-18 14:28:13 -08:00
Prashanth Balasubramanian 1e3db8ef9e Don't impose a memory limit on flannel etcd. 2016-02-18 13:52:58 -08:00
Matt Liggett 58283aff67 Also retain docker and kubelet logs.
Still trying to debug #20916
2016-02-18 13:32:18 -08:00
Prashanth Balasubramanian 058db9a758 Add image version to glbc name, and fix e2e appropriately. 2016-02-18 13:03:01 -08:00
Phillip Wittrock be803eaf64 Merge pull request #21439 from zmerlynn/container-vm-v20160217
Bump GCE to container-vm-v20160217
2016-02-18 11:39:54 -08:00
Christopher Eck c34ecf7100 Enable fluentd to parse the sub-second portion of timestamps coming from docker logs. 2016-02-18 11:07:27 -08:00
k8s-merge-robot 5acdb92126 Merge pull request #21177 from laushinka/spelling-fixes
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
Justin Santa Barbara b70f1c1220 kube-up: install updates & reboot automatically on boot
We run unattened-upgrades manually, and then reboot automatically if we
find /var/run/reboot-required; then we check if any services need
restarting and restart them automatically using the needrestart tool.

This should mean we don't _have_ to build new images on every security
update, though we can do so to avoid a reboot.

Issue #21382
2016-02-18 12:52:43 -05:00
Marcin Wielgus d9c8f7fa5f Bump Heapster to v0.20.0-alpha7 2016-02-18 12:57:13 +01:00
k8s-merge-robot bcabc096f2 Merge pull request #21130 from madhusudancs/daemonset-enable-default
Auto commit by PR queue bot
2016-02-17 22:54:35 -08:00
k8s-merge-robot 10f3403536 Merge pull request #21362 from ArtfulCoder/fluentd
Auto commit by PR queue bot
2016-02-17 22:25:28 -08:00
k8s-merge-robot 78c294a66c Merge pull request #21164 from justinsb/aws_reboot_with_ephemeral
Auto commit by PR queue bot
2016-02-17 17:12:01 -08:00
Joe Finney 2b756ca56d Move E2E kube-up call into test-setup from e2e-internal. 2016-02-17 16:49:07 -08:00
Dawn Chen 14f8ae1340 Log kubelet /healthz failure reasons to supervisord log file 2016-02-17 16:42:47 -08:00
Zach Loafman c8d90f1a61 Bump GCE to container-vm-v20160217 2016-02-17 16:39:58 -08:00
laushinka 7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Madhusudan.C.S f06a195855 Remove all {KUBE_,}ENABLE_{DEPLOYMENT,DAEMONSET} variables from all our bash scripts. 2016-02-17 15:04:28 -08:00
Madhusudan.C.S e647804ba4 Replica set is enabled by default now, so it is not necessary to explicitly enable it in the test config script. 2016-02-17 15:03:15 -08:00
Madhusudan.C.S ab1e9c200f Graduate DaemonSet to v1beta1 API, enable it by default. 2016-02-17 15:03:12 -08:00
Phillip Wittrock a8744279eb Merge pull request #21347 from yujuhong/health_check
Switch to using `docker version` as health check
2016-02-17 14:48:44 -08:00
Abhishek Shah e46b17044f Disable fluent-es on kubernetes-master 2016-02-17 14:01:20 -08:00
Abhishek Shah 51fba282ec Fluentd on GCE master should not use ClusterFirst 2016-02-17 11:32:41 -08:00
Justin Santa Barbara 4d2c580781 AWS kube-up: Add support for wily
vivid is technically no longer supported now, so we should support
wily.
2016-02-17 10:45:21 -05:00
Justin Santa Barbara a16372ce40 AWS: Change master to m3.medium by default
m3.large for > 150 nodes.

t2.micro often runs out of memory.  The t2 class has very
difficult-to-understand behaviour when it runs out of CPU.  The
m3.medium is reasonably affordable, and avoids these problems.

Fix #21151

Issue #18975
2016-02-17 10:24:14 -05:00
Justin Santa Barbara c68c019150 AWS: Add comments to explain the symlink logic 2016-02-17 09:57:37 -05:00
Justin Santa Barbara affffdc9ab AWS kube-up: Put the master-pd into /etc/fstab, to mount it early
Otherwise we risk services coming up on the master before the backing
volume is ready.

If we then see the master-pd is already mounted, don't try to remount
it.

Issue #21155
2016-02-17 09:47:01 -05:00
k8s-merge-robot 22ad56dded Merge pull request #21161 from justinsb/aws_bootstrap_on_every_boot
Auto commit by PR queue bot
2016-02-17 06:45:24 -08:00
k8s-merge-robot 207b90ae63 Merge pull request #19578 from quinton-hoole/2016-01-04-ube-lite-e2e
Auto commit by PR queue bot
2016-02-17 04:29:48 -08:00
k8s-merge-robot 237105fd0e Merge pull request #21372 from gmarek/gather
Auto commit by PR queue bot
2016-02-17 03:57:12 -08:00
k8s-merge-robot a5bb33bb4a Merge pull request #21356 from vishh/gce-salt
Auto commit by PR queue bot
2016-02-17 03:29:35 -08:00
gmarek 024322a651 Fix getting last command result in kube-up 2016-02-17 11:12:06 +01:00
Vishnu kannan 202578ebe5 enable for *real* new runtime and kubelet cgroup configs in GCE salt configs.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 16:08:57 -08:00
weixu b3f3a80667 Set the default value for DEBUG in cluster/saltbase/salt/generate-cert/make-ca-cert.sh
In commit 07d7cfd3, people add ${DEBUG} == "true" in file
cluster/saltbase/salt/generate-cert/make-ca-cert.sh
But the default value for DEBUG is not set. In that commit, it set the value
of DEBUG in cluster/ubuntu/util.sh where it call this script. When using this
script in saltstack to bring up cluster in other cloud platforms, it will fail
to generate the cert since we set set -o nounset in make-ca-cert.sh and var DEBUG
does not set. Set a default value for DEBUG here will fix this problem.
2016-02-16 16:03:20 -08:00
Dawn Chen 1af5c9f7b2 Disable REGISTER_MASTER_KUBELET for gce default configuration since
no one is working on e2e tests.
2016-02-16 15:32:32 -08:00
Yu-Ju Hong b92e2903fa Switched to using `docker version` as health check
`docker ps` can sometimes take a long time to finish, and restarting
docker in this case doesn't help.
2016-02-16 15:10:15 -08:00
Joe Finney 6f7182e500 Remove hack/e2e-test.sh in favor of hack/e2e.go. 2016-02-16 14:54:50 -08:00
Quinton Hoole b4a3559807 Add Jenkins e2e test job for multi-zone Ubernetes Lite 2016-02-16 13:07:17 -08:00
k8s-merge-robot a0489cb54b Merge pull request #21297 from yifan-gu/add_dashborad_addons
Auto commit by PR queue bot
2016-02-16 13:00:11 -08:00
k8s-merge-robot 13b2a8a60b Merge pull request #21191 from zmerlynn/change-motd
Auto commit by PR queue bot
2016-02-16 06:07:35 -08:00
k8s-merge-robot 62474f1fbf Merge pull request #21298 from gmarek/validate
Auto commit by PR queue bot
2016-02-16 05:37:28 -08:00
k8s-merge-robot 2299547ca5 Merge pull request #21183 from mml/slow-flake
Auto commit by PR queue bot
2016-02-16 05:12:50 -08:00
k8s-merge-robot 4f3c89ce81 Merge pull request #21132 from petermd/kubeaddon-api-status
Auto commit by PR queue bot
2016-02-16 02:57:17 -08:00
Wojciech Tyczynski f6dc06bdc7 Always enable second etcd for events 2016-02-16 11:48:46 +01:00
gmarek 433e855aca Fix validate cluster 2016-02-16 11:34:57 +01:00
Yifan Gu c2c3ccdaa7 cluster/gce/coreos: Replace kube-ui with dashboard in configure-node.sh 2016-02-16 16:46:33 +08:00
k8s-merge-robot db758dda64 Merge pull request #21046 from MikeSpreitzer/issue/20992
Auto commit by PR queue bot
2016-02-15 21:54:18 -08:00
gmarek 63dd014412 Update SchedulerMetrics 2016-02-15 16:52:41 +01:00
k8s-merge-robot b1dedc0900 Merge pull request #21058 from gmarek/fix
Auto commit by PR queue bot
2016-02-15 06:12:27 -08:00
gmarek 9c722ba98e Update memory requirements for new Heapster 2016-02-15 14:05:47 +01:00
k8s-merge-robot 138cb09aea Merge pull request #20795 from luxas/remove_dev
Auto commit by PR queue bot
2016-02-15 03:52:26 -08:00
gmarek 92f60159ec Default EXIT_ON_WEAK_ERROR 2016-02-15 11:09:58 +01:00
k8s-merge-robot 48caef3576 Merge pull request #21243 from gmarek/master
Auto commit by PR queue bot
2016-02-15 01:15:21 -08:00
k8s-merge-robot 396287aad9 Merge pull request #21110 from MikeSpreitzer/issue/21037
Auto commit by PR queue bot
2016-02-15 01:15:20 -08:00
gmarek 2288b31b99 Fix kube-up 2016-02-15 08:34:00 +01:00
André Martins 97acdf4cd8 fixing docker -d deprecation
Signed-off-by: André Martins <aanm90@gmail.com>
2016-02-14 23:07:32 +01:00
k8s-merge-robot b017ce602f Merge pull request #20988 from golvteppe/kube-up_output
Auto commit by PR queue bot
2016-02-14 03:38:53 -08:00
k8s-merge-robot 3d93b594e3 Merge pull request #20062 from mikefaille/master
Auto commit by PR queue bot
2016-02-13 10:36:57 -08:00
k8s-merge-robot 784f555fd9 Merge pull request #18821 from rastut/add_aws_detect_root_device
Auto commit by PR queue bot
2016-02-13 10:09:20 -08:00
k8s-merge-robot 44a8ca9fa7 Merge pull request #21170 from MikeSpreitzer/issue/21168
Auto commit by PR queue bot
2016-02-13 08:33:54 -08:00
k8s-merge-robot f2e845dd6d Merge pull request #21144 from justinsb/aws_fix_project_not_defined
Auto commit by PR queue bot
2016-02-13 08:33:53 -08:00
Justin Santa Barbara 69300c51b3 AWS kube-up: Reboot support with ephemeral storage
If the ephemeral volume is present and mounted, don't try to reinitialize
them.

Don't block the boot if the ephemeral volume is corrupt / missing -
this enables us to cope with a stop/start & presumably also corruption.
In this case, we'll reformat the ephemeral storage.

Fix #21157
2016-02-12 20:31:56 -05:00
Justin Santa Barbara 19cf622e88 AWS kube-up: make the bootstrap script run every boot
This is so we have the same behaviour as on GCE.

This also lets us change the bootstrap script or the config, which is
nice.  Instance data is immutable on AWS once it is booted.

Fix #21150
2016-02-12 20:30:47 -05:00
Matt Liggett c25331f251 Save the master logs to separate files rather than dumping to stdout. 2016-02-12 17:30:45 -08:00
Zach Loafman db01dec0a4 Reset /etc/motd to include version, a pointer to source image and GitHub
Companion to #21031
2016-02-12 17:29:23 -08:00
Mike Danese b8aa23f0fa Merge pull request #21194 from dchen1107/test1
Make master component pods burstable, instead of guaranteed.
2016-02-12 17:08:27 -08:00
Mike Spreitzer 4d55dbe69f Introduced envar KUBE_PROXY_EXTRA_OPTS
Resolves #21168
2016-02-12 18:42:51 -05:00
Dawn Chen 64ca54c2cc Make master component's manifest consistent with the ones on debian 2016-02-12 14:56:12 -08:00
Dawn Chen 11a6d7df26 Make coreos's master component manifest consistent with debian ones. 2016-02-12 14:55:28 -08:00
Dawn Chen 54933902b2 Make master component pods burstable, instead of guaranteed. 2016-02-12 14:28:48 -08:00
Janet Kuo 2874f30c05 Enable Deployments by default 2016-02-12 12:29:14 -08:00
golvteppe 62292341ff Added ZONE variable to the info string which informs what provider is being used
Fixed unbound ZONE variable issue for kube-up.sh

Added curlys
2016-02-12 20:53:10 +01:00
Mike Danese 2172e0dea0 Merge pull request #21108 from mml/slow-flake
Include some debug output when the API server never appears.
2016-02-12 11:27:12 -08:00
Mike Spreitzer 07d7cfd346 Fetch hacked easyrsa in kube-up instead of command run on master
This is good because it removes an obstacle to using the
cluster/ubuntu scripting to install Kubernetes into a restricted
environment where the machines can not open connections to arbitrary
external locations.

Also add debuggability to make-ca-cert.sh

Resolves #21037
Resolves #21092
2016-02-12 14:11:53 -05:00
Justin Santa Barbara f0d6fd10bc Salt: Make sure git is installed, for gitRepo volumes
Seems to be included in the GCE base image, but not on the images we use
on AWS (Ubuntu images).

Fix #20957
2016-02-12 12:51:08 -05:00
Mike Spreitzer 43285f872e Deploy dashboard instead of extiinct kube-ui
Updated cluster/ubuntu/deployAddons.sh to deploy the UI that exists
rather than the old one that no longer exists.

Resolves #20992
2016-02-12 11:47:18 -05:00
Justin Santa Barbara 1852fab029 AWS: Fix kube-up generation of kubeconfig
We were assuming the PROJECT env var was set, which the e2e tests do.
But PROJECT is normally not set on AWS (it is set on GCE); this broke as
part of the harmonization.

Revert to the pre-existing behaviour here, where we use "aws_" as the
prefix.

Fix #21141
2016-02-12 09:53:22 -05:00
Matt Liggett 7a2e649745 Include some debug output when the API server never appears.
Helps with #20916
2016-02-11 16:33:35 -08:00
gmarek aa79f04aed Fix #21027 2016-02-11 22:25:08 +01:00
k8s-merge-robot f6ae6b47ae Merge pull request #20687 from vishh/systemd-support
Auto commit by PR queue bot
2016-02-11 13:06:29 -08:00
k8s-merge-robot 798b88e512 Merge pull request #20960 from andyzheng0831/fix
Auto commit by PR queue bot
2016-02-11 06:51:13 -08:00
k8s-merge-robot c1eb987a41 Merge pull request #21040 from MikeSpreitzer/issue/21039
Auto commit by PR queue bot
2016-02-11 04:53:00 -08:00
Piotr Szczesniak 917a34a2aa Bumped Heapster to v0.20.0-alpha6 2016-02-11 11:44:29 +01:00
gmarek 918ddbe5f0 Small cleanup 2016-02-11 10:08:24 +01:00
Mike Spreitzer 5dc3daf9a8 Update Kubernetes release version from 1.1.4 to 1.1.7 in download-release.sh
.. in cluster/ubutuntu/download-release.sh

Resolves issue #21039
2016-02-10 23:08:59 -05:00
Vishnu kannan c3b5d5774c Update flag values for cgroups managed by kubelet.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 17:33:29 -08:00
Vishnu kannan 51e4ccf106 Updating the default values for the cgroups hierarchies that kubelet
creates for managing the nodes.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 16:02:36 -08:00
k8s-merge-robot 646cb70fe3 Merge pull request #20905 from yifan-gu/add_command_in_templates
Auto commit by PR queue bot
2016-02-10 07:11:20 -08:00
k8s-merge-robot c0dd58c001 Merge pull request #20811 from mwielgus/cm-scripts
Auto commit by PR queue bot
2016-02-10 04:50:06 -08:00
k8s-merge-robot 372c9271ee Merge pull request #20871 from andyzheng0831/kube-addon
Auto commit by PR queue bot
2016-02-10 04:24:27 -08:00
Marcin b7d72ef36d Startup scripts for custom metrics 2016-02-10 12:32:04 +01:00
Wojciech Tyczynski 9682227649 Merge pull request #20920 from mwielgus/heapster-v0.20.0-alpha5
Heapster v0.20.0-alpha5 + gcm-autoscaling sink for googleinfluxdb
2016-02-10 11:34:44 +01:00
Olivier Lemasle e2c79ea1f1 Add bearer token authentication to Vagrant clusters
This does not remove basic authentication in Vagrant clusters.
Users will still be able to authenticate with username=vagrant, password=vagrant
2016-02-10 10:35:13 +01:00
k8s-merge-robot e5a61c038b Merge pull request #20622 from wstrange/master
Auto commit by PR queue bot
2016-02-09 23:26:29 -08:00
Andy Zheng 126f3c4784 Fix kubelet and kube-proxy log level in Trusty
This change corrects how we determine the log level. Moreover, it explicitly redirects kubelet log to /var/log/kubelet.log, as we noticed it may miss sometimes.
2016-02-09 19:20:20 -08:00
Prashanth B f0620a5efd Merge pull request #20883 from bprashanth/kubelet_flag
Kubelet flag for disabling hairpin mode
2016-02-09 17:31:30 -08:00
k8s-merge-robot d7bef3cc87 Merge pull request #20896 from kinvolk/ckuehl/replace-rocket-with-rkt
Auto commit by PR queue bot
2016-02-09 16:05:01 -08:00
Greg Swallow 646c22e47c Use local_ipv4 when public_ipv4 is not present. 2016-02-09 16:35:38 -05:00
Prashanth Balasubramanian c3a3a2bacd Pipe hairpin-mode flag through kubelet, enable on soak. 2016-02-09 12:12:19 -08:00
Marcin eb19f3a977 Heapster v0.20.0-alpha5 + gcm-autoscaling sink for googleinfluxdb 2016-02-09 20:31:43 +01:00
k8s-merge-robot 494186f40e Merge pull request #20867 from dchen1107/docker
Auto commit by PR queue bot
2016-02-09 10:02:44 -08:00
Yifan Gu 9f2d219331 cluster/gce/coreos: Add command in addon templates.
As appc spec only has one field for executable path
(Exec v.s. ENTRYPOINT + CMD), specifying only args
will override the image's original ENTRYPOINT.
2016-02-09 23:29:43 +08:00
k8s-merge-robot 8e4a821ab3 Merge pull request #20821 from olivierlemasle/fix-dnf-vagrant
Auto commit by PR queue bot
2016-02-09 07:04:24 -08:00
Chris Kühl 7fcc40bb27 docs: replace Rocket with rkt 2016-02-09 13:52:25 +01:00
k8s-merge-robot 0fe5499fbc Merge pull request #20794 from bprashanth/etcd_config
Auto commit by PR queue bot
2016-02-09 04:07:26 -08:00
k8s-merge-robot 68a165cda9 Merge pull request #20681 from justinsb/aws_sync_kubeup_gce_step3
Auto commit by PR queue bot
2016-02-09 02:08:48 -08:00
Andy Zheng 20444558a3 Fix two issues of master on Trusty
This change moves the code of running and monitoring addon pods in a daemon type upstart job, so that addon manifest monitoring can be restarted automatically upon failure. Second, it updates the usage of "kube-ui" to "dashboard" to match the change in PR #20330.
2016-02-08 16:46:18 -08:00
Dawn Chen f07070d129 Upgrade gce cluster to docker 1.9.1 2016-02-08 15:58:29 -08:00
derekwaynecarr 512154f25e Unbound cluster ip range in vagrant 2016-02-08 17:38:36 -05:00
Olivier Lemasle 0bf3f3ef09 Fix Vagrant issue with Salt
Package manager "dnf" does not work correctly with Salt
(cf https://github.com/saltstack/salt/issues/31001)

It causes Salt to consider that some packages (python, git, curl, etc.) are not
installed, which breaks the Vagrant Kubernetes setup.

Updating dnf and dnf-plugins-core to their latest version solves the issue.

Additionally, I've added the "fastestmirror" to dnf, which is useful if a
RPM mirror is broken or very slow. (In my case, dnf used a broken mirror which
froze the Kubernetes setup).
2016-02-08 17:29:19 +01:00
gmarek 208e98b58e Fix #20788 2016-02-08 10:21:04 +01:00
Michael Nikitochkin 55e2906f79 AWS: Allow to configure master ip and services mask
Fix script for case when neeed to setup cluster
in an existen VPC and subnet with ip mask example: 10.0.0.0/8.

Fixed bug to detect ip of master if provided MASTER_RESERVED_IP.

For some reason detecting master ip was moved to volumes and only when MASTER_RESERVED_IP=auto.
If specify IPv4 for MASTER_RESERVED_IP like `52.1.1.1`, than we could
not detect ip even during last steps of setuping cluster.
step the KUBE_MASTER_IP is reseted because there are no tag for the
volume.
2016-02-07 21:59:00 +01:00
Lucas Käldström d5b7fd7f95 Remove -v /dev:/dev from docker and docker-multinode 2016-02-07 22:15:20 +02:00
Jan Chaloupka 4389b3f0d6 Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01:00
Prashanth B 86b6fdf5ea Sanitize flannel config. 2016-02-07 05:19:50 +00:00
Justin Santa Barbara 63743e9c1c AWS kube-up: Use the cert we generated in kubeconfig 2016-02-06 22:52:01 -05:00
Justin Santa Barbara 270fae4d66 kube-up: Support multiple additional IPs for SSL cert
And pass the public IP when setting up AWS
2016-02-06 22:52:01 -05:00
Justin Santa Barbara fd5c44c72e kube-up: Finish refactor of AWS to reuse GCE script
We override key functions in the GCE script with AWS equivalents.
2016-02-06 22:52:01 -05:00
k8s-merge-robot f2ed6f6ce8 Merge pull request #20474 from mqliang/ununtu-check-pods-torn-down
Auto commit by PR queue bot
2016-02-06 15:12:43 -08:00
k8s-merge-robot a08ac362a9 Merge pull request #19839 from madhusudancs/replicaset-e2e-enable
Auto commit by PR queue bot
2016-02-06 12:54:34 -08:00
k8s-merge-robot 9d981b696c Merge pull request #20642 from justinsb/aws_sync_kubeup_gce_step2
Auto commit by PR queue bot
2016-02-06 11:56:47 -08:00
k8s-merge-robot d1b7fb3025 Merge pull request #20630 from a-robinson/logparse
Auto commit by PR queue bot
2016-02-06 11:28:08 -08:00
Madhusudan.C.S 48c4173f5f Enable ReplicaSets in e2e tests. 2016-02-06 03:46:17 -08:00
k8s-merge-robot fe269474ca Merge pull request #20330 from bryk/kubernetes-dashboard
Auto commit by PR queue bot
2016-02-06 00:15:10 -08:00
Daniel Smith 75c1dcaacd Merge pull request #20463 from andyzheng0831/trusty-master
Support master on Ubuntu Trusty
2016-02-05 15:49:28 -08:00
Marek Grabowski e8f341cb40 Merge pull request #20650 from mwielgus/heapster-alpha4
Bump heapster from v0.20.0-alpha3 to v.0.20.0-alpha4
2016-02-05 16:04:41 +01:00
Marcin Wielgus 6c2b338af0 Bump heapster from v0.20.0-alpha3 to v.0.20.0-alpha4 2016-02-05 15:33:09 +01:00
bryk 46f51d74bb Set kubernetes-dashboard as the default UI addon
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0

This replaces kube-ui addon
2016-02-05 13:36:37 +01:00
Daniel Smith 9a76c022ec Merge pull request #20408 from kylegordon/patch-1
Use kube account to make changes via govc
2016-02-04 23:16:44 -08:00
k8s-merge-robot 5b046cccdb Merge pull request #20448 from justinsb/aws_fix_e2e_detect_master
Auto commit by PR queue bot
2016-02-04 16:24:20 -08:00
Warren Strange fed1d947bc added shell guard in case var is not set 2016-02-04 16:45:20 -07:00
Alex Robinson e5c5f76402 Update the default fluentd images to parse system logs. 2016-02-04 23:29:27 +00:00
Justin Santa Barbara ba415c1f39 kube-up: Add brackets to variable name 2016-02-04 12:43:09 -05:00
Justin Santa Barbara 732e76fb4e kube-up: Refactor SSL cert helpers into common
Next step in the the GCE/AWS harmonization
2016-02-04 09:10:41 -05:00
Alex Robinson 592da85a81 Parse system logs into structured messages in fluentd.
This allows you to filter based on components of the log,
like their severity, in the developers console or elasticsearch.
2016-02-04 08:14:59 +00:00
k8s-merge-robot dbd7b83d93 Merge pull request #20545 from pmorie/boilerplate
Auto commit by PR queue bot
2016-02-03 19:46:26 -08:00