Commit Graph

3071 Commits (50ca5460d5a5b91bb14760472e1c41cb26287983)

Author SHA1 Message Date
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
Warren Strange 24b06d805a Add preemtible option to master 2016-02-03 19:34:27 -07:00
Paul Morie b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Paul Morie 05bd107301 Add boilerplate checks for Makefiles 2016-02-03 18:35:26 -05:00
Andy Zheng b103f0f279 Support master on Ubuntu Trusty
This change support running kubernetes master on Ubuntu Trusty.
It uses pure cloud-config and shell scripts, and completely gets
rid of saltstack or the release salt tarball.
2016-02-03 11:22:28 -08:00
Dan Williams fabb65c13f Add a network plugin that duplicates "configureCBR0" functionality 2016-02-03 10:08:08 -06:00
Piotr Szczesniak d7dd663d2a Merge pull request #20412 from gmarek/enable
Add a flag to allow non-fatal errors in validate-cluster
2016-02-03 09:33:17 +01:00
Piotr Szczesniak 0e396b2084 Merge pull request #20407 from gmarek/1000-kube-up
Allow some NotReady nodes in 1000 node clusters
2016-02-03 09:32:59 +01:00
Jeff Lowdermilk 4a9b046515 Merge pull request #20432 from brendandburns/flake5
Don't re-check with gcloud for a firewall's existence to fix a potential flake.
2016-02-02 11:59:54 -08:00
Jeff Lowdermilk ec4b94aabc Merge pull request #20509 from yujuhong/docker_health
Change docker health checker to using `docker ps`
2016-02-02 11:50:04 -08:00
Yu-Ju Hong 156d301140 Change docker health checker to using `docker ps`
`docker ps` is a more reliable health check than docker version from past
experiences.
2016-02-02 11:08:21 -08:00
k8s-merge-robot d082357259 Merge pull request #20138 from jetsanix/fix-ubuntu
Auto commit by PR queue bot
2016-02-02 05:20:31 -08:00
k8s-merge-robot d8047e7632 Merge pull request #20118 from erictune/chmod
Auto commit by PR queue bot
2016-02-02 04:50:54 -08:00
k8s-merge-robot ac24a68801 Merge pull request #20094 from mesosphere/jdef_mesos_026_godeps
Auto commit by PR queue bot
2016-02-02 03:19:25 -08:00
mqliang e9de110a5d fix the bug that ubuntu check-pods-torn-down doesn't take into account terminating pods nor pods in other namespaces 2016-02-02 14:22:16 +08:00
Justin Santa Barbara 0f6b3611d8 AWS: Fix e2e usage of find-tagged-master-ip
In the e2e tests detect-master is called directly.  In turn, it calls
find-tagged-master-ip, which assumed that find-master-pd has already already
been called.  But this wasn't true in the e2e case.

We add a call to find-master-pd; it is idempotent.
2016-02-01 22:49:31 +00:00
k8s-merge-robot 30375b21d6 Merge pull request #19776 from justinsb/aws_sync_kubeup_gce
Auto commit by PR queue bot
2016-02-01 14:44:18 -08:00
Brendan Burns 78c9a7718a Don't re-check with gcloud for a firewall's existence to fix a potential flake. 2016-02-01 14:17:36 -08:00
k8s-merge-robot b4d1c7541c Merge pull request #19870 from justinsb/salt_systemd_force
Auto commit by PR queue bot
2016-02-01 10:49:44 -08:00
k8s-merge-robot a5f03173c5 Merge pull request #19869 from justinsb/aws_fix_docker183_package_name
Auto commit by PR queue bot
2016-02-01 10:18:06 -08:00
k8s-merge-robot 0aca70016c Merge pull request #20066 from justinsb/aws_move_build_runtime_config
Auto commit by PR queue bot
2016-02-01 09:48:27 -08:00
k8s-merge-robot bea271a767 Merge pull request #19664 from yifan-gu/docker_restart
Auto commit by PR queue bot
2016-02-01 06:46:36 -08:00
gmarek efacc0435e Add a flag to allow non-fatal errors in validate-cluster 2016-02-01 14:26:31 +01:00
Kyle Gordon 63b61a7205 Use kube account to make changes via govc
Use -l kube:kube to login to VM and make changes before public key is inserted.

Fixes #14366
2016-02-01 11:41:49 +00:00
gmarek 6aaabc6f46 Allow some NotReady nodes in 1000 node clusters 2016-02-01 12:40:40 +01:00
Marcin Wielgus bdf563be4b Use Heapster v0.20.0-alpha3 2016-02-01 12:22:11 +01:00
Marcin Wielgus a14f791d8c Revert "Merge pull request #20329 from kubernetes/revert-20323-bump-influxdb"
This reverts commit b4188ec459, reversing
changes made to 28951bd66a.
2016-02-01 12:12:37 +01:00
Yifan Gu 05087612b9 salt: Try 'systemctl' if 'service' command fails when restarting docker. 2016-02-01 18:10:31 +08:00
Alex Robinson f684e80b1f Merge pull request #20067 from justinsb/aws_test_defaults
AWS: Change config-test defaults to match GCE
2016-01-30 17:42:28 -08:00
Alex Robinson a81e6c3f4f Merge pull request #20307 from dchen1107/test1
Deprecated soon: override /etc/init.d/docker file on containervm image,
2016-01-30 13:32:41 -08:00
k8s-merge-robot e953f4a074 Merge pull request #19628 from mikedanese/dns-headless
Auto commit by PR queue bot
2016-01-29 23:54:40 -08:00
k8s-merge-robot 40ff292294 Merge pull request #20286 from mikedanese/kube-ui-v5
Auto commit by PR queue bot
2016-01-29 10:51:00 -08:00
Filip Grzadkowski 13480c171d Revert "Yet another try to migrate to the new Heapster" 2016-01-29 15:03:49 +01:00
Piotr Szczesniak 7d4a948b1f Yet another try to migrate to the new Heapster 2016-01-29 09:56:49 +01:00
Piotr Szczesniak 0c5cc1bde1 Revert "Merge pull request #20215 from kubernetes/revert-20156-bump-influxdb"
This reverts commit 06996d5af9, reversing
changes made to b2f6e7d08f.
2016-01-29 09:19:03 +01:00
k8s-merge-robot 992a85950f Merge pull request #19326 from fgimenez/juju-allow-privileged
Auto commit by PR queue bot
2016-01-28 22:27:32 -08:00
Dawn Chen 5f6f6acec7 Deprecated soon: override /etc/init.d/docker file on containervm image,
so that we can unblock docker 1.10 validation.
2016-01-28 17:44:23 -08:00
Fabio Yeon 574f354b73 Merge pull request #20143 from roberthbailey/list-resources-gke
Fix list-resources.sh to work with the GKE provider
2016-01-28 13:48:05 -08:00
Mike Danese b1ca73a5b2 kube-ui: upgrade to v5 2016-01-28 13:02:25 -08:00
Justin Santa Barbara c556e8f0f5 kube-up: Refactor kube-env into common; use in AWS
Use kube-env on the AWS master also
2016-01-28 10:31:51 -08:00
Justin Santa Barbara 4d88a4ed2c kube-up: move sha1sum-file into common
Also hash the tar files in AWS kube-up
2016-01-28 10:19:38 -08:00
Justin Santa Barbara a70412099a AWS: add retries around apt-get install
Related to issue #17309
2016-01-28 10:19:38 -08:00
Justin Santa Barbara ae75a7d259 kube-up: move build-runtime-config from AWS & GCE into common 2016-01-28 10:19:38 -08:00
Justin Santa Barbara 0df6f5d8c5 kube-up: move yaml-quote from GCE & AWS to common 2016-01-28 10:19:38 -08:00
Prashanth B 952449585e Merge pull request #20164 from bprashanth/glbc_0.5.2
Bump glbc to 0.5.2
2016-01-28 08:21:32 -08:00
k8s-merge-robot 458eb5284a Merge pull request #19105 from smarterclayton/prepare_negotiate
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
k8s-merge-robot a95f1b84cb Merge pull request #17243 from yifan-gu/gce_coreos
Auto commit by PR queue bot
2016-01-27 13:02:20 -08:00
Brendan Burns 4f845ad6e1 Merge pull request #19642 from MikeSpreitzer/issue/19618
Introduce FLANNEL_OTHER_NET_CONFIG
2016-01-27 12:20:11 -08:00
Zach Loafman 9caf0a7e72 Merge pull request #20221 from zmerlynn/cvm-new-2
REALLY bump to container-vm-v20160127
2016-01-27 10:31:28 -08:00
Zach Loafman cb9afa65f0 REALLY bump to container-vm-v20160127 2016-01-27 10:28:04 -08:00
Brendan Burns 6f15b532f7 Merge pull request #20218 from zmerlynn/cvm-new
Bump to container-vm-v20160127
2016-01-27 10:24:24 -08:00
Zach Loafman 727fb1a97a Bump to container-vm-v20160127 2016-01-27 09:22:07 -08:00
James DeFelice 70a5cc462b updated cluster/mesos/docker and contrib/mesos for mesos-0.26 compat 2016-01-27 17:13:07 +00:00
Filip Grzadkowski 0dedf869c7 Revert "Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1" 2016-01-27 17:22:36 +01:00
Piotr Szczesniak e96993f2ce Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1 2016-01-27 11:09:18 +01:00
k8s-merge-robot 86dd321c73 Merge pull request #19489 from cloudnativeapps/vsphere-support-1
Auto commit by PR queue bot
2016-01-26 22:27:55 -08:00
k8s-merge-robot 738eae88f8 Merge pull request #19841 from marun/vagrant-fedora23
Auto commit by PR queue bot
2016-01-26 18:45:48 -08:00
Alex Robinson 6acf297231 Update the fluentd versions to include fixes for #19405. 2016-01-27 00:30:53 +00:00
Alex Robinson ac13e851e2 Don't let fluentd pipe its own logs directly back into itself. 2016-01-27 00:30:53 +00:00
Alex Robinson 95a4ea3fc8 Increase the fluentd buffer chunk size to improve write throughput.
Also reduce the max wait between retries, 30 seconds should be more than
enough backoff.
2016-01-27 00:30:50 +00:00
Robert Bailey a8cad507db Fix list-resources.sh to work with the GKE provider. Also update
the grep command to work for versions of grep that don't
understand '\s'.
2016-01-26 15:05:29 -08:00
Clayton Coleman 38c7eded99 Prepare for content-type negotiation
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.

Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Prashanth Balasubramanian eecfdc065b Bump glbc to 0.5.2 2016-01-26 10:40:07 -08:00
Zach Loafman 23b4bfb370 Merge pull request #20126 from kubernetes/revert-19957-container-vm-v20160121
Revert "Bump to container-vm-v20160121"
2016-01-26 10:38:32 -08:00
k8s-merge-robot 6c63acdd3d Merge pull request #19398 from justinsb/aws_elasticip_for_master
Auto commit by PR queue bot
2016-01-26 04:34:28 -08:00
k8s-merge-robot 8c821700f3 Merge pull request #19389 from justinsb/internal_cidr
Auto commit by PR queue bot
2016-01-26 03:58:48 -08:00
k8s-merge-robot 3f40fb7d0a Merge pull request #17923 from yuvipanda/kube2dns-pflag
Auto commit by PR queue bot
2016-01-26 02:13:44 -08:00
k8s-merge-robot 2286bd3a38 Merge pull request #19961 from mamikonyana/newrepo
Auto commit by PR queue bot
2016-01-25 19:51:23 -08:00
k8s-merge-robot bd97eec9b6 Merge pull request #19928 from jfchevrette/fix_ubuntu_sysv_init
Auto commit by PR queue bot
2016-01-25 19:50:47 -08:00
k8s-merge-robot 110f995484 Merge pull request #19748 from freehan/registry
Auto commit by PR queue bot
2016-01-25 19:48:10 -08:00
Maru Newby e709e91c64 Vagrant fixes for fedora 23
- wget is not installed by default on fedora 23.  Use curl instead
   since it is always available on recent Fedora.

 - The repo url for cockpit resulted in an http redirect message being
   saved as the repo file which broke deployment.  Update the url to
   url that was redirected to and ensure that future redirects will be
   handled correctly.

 - The main Fedora 23 repo includes salt packages, and there is no
   salt repo for 23.  The salt bootstrap still creates a repo file for
   a nonexistent repo, though, and this change removes it to avoid
   having dnf report an error on every update.
2016-01-26 00:33:01 +00:00
Dawn Chen 93168c1ede Merge pull request #20036 from ihmccreery/instance-prefix
Use INSTANCE_PREFIX to prefix uploaded binaries in GCE
2016-01-25 16:07:13 -08:00
Zach Loafman abfbf68287 Revert "Bump to container-vm-v20160121" 2016-01-25 15:54:41 -08:00
Mike Danese 69add2fb80 dns: don't die when a headless service declares no ports
Headless services are not required to declare ports.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-25 15:46:06 -08:00
Eric Tune f2df774ec9 Chmod password and token files.
Fixes #7808.
2016-01-25 15:14:17 -08:00
Piotr Szczesniak f93b1f1043 Bumped Heapster to v0.18.5 to fix issue with nil pointer panic 2016-01-25 21:55:16 +01:00
Quinton Hoole 10f7985dfb Merge pull request #19995 from justinsb/gce_label_pd
Ubernetes-Lite GCE: Label volumes with zone information
2016-01-25 10:34:10 -08:00
jet tsang zeon-git 9ea4f6b6d9 fix kube-up without DOCKER_OPTS 2016-01-25 07:15:20 +08:00
Dhawal Yogesh Bhanushali f7db2c6e99 vsphere support 2016-01-24 13:52:56 -08:00
Justin Santa Barbara a4d6801655 AWS: Change config-test defaults to match GCE
KUBE_ENABLE_DAEMONSETS & KUBE_ENABLE_DEPLOYMENTS default to true in
config-test in GCE, so we should do the same in AWS for e2e sanity.
2016-01-24 10:43:43 -05:00
Justin Santa Barbara 8a7afc459c AWS: Call build-runtime-config where it is used
build-runtime-config was being called in verify-prereqs, which didn't
match how GCE called it, and didn't seem to actually work.

Instead call it just before the master configuration is built.  Also
call it just before the node configuration is built, even though the
nodes don't _currently_ require the runtime_config.
2016-01-24 10:43:15 -05:00
Michael Faille ce7d5fe6e7 fix : openssl don't exist by default on CentOS docker image
To fix it, I just add openssl depedency on "generate-cert" state. It
should work on Debian-like and RedHat-Like systems. (and, Archlinux,
Opensuse, etc)

Fixed error :
$ sudo salt 'kubernetes-master' state.apply
----------
          ID: kubernetes-cert
    Function: cmd.script
      Result: False
     Comment: Command 'kubernetes-cert' run
     Started: 06:57:06.634203
    Duration: 208.719 ms
     Changes:
              ----------
              pid:
                  793
              retcode:
                  1
              stderr:
                  /tmpm24T3R.sh: line 22: openssl: command not found
                  chgrp: cannot access '/srv/kubernetes/server.key': No such file or directory
                  chgrp: cannot access '/srv/kubernetes/server.cert': No such file or directory
                  chmod: cannot access '/srv/kubernetes/server.key': No such file or directory
                  chmod: cannot access '/srv/kubernetes/server.cert': No such file or directory
              stdout:

After applying my patch (success) :
----------
          ID: kubernetes-cert
    Function: cmd.script
      Result: True
     Comment: Command 'kubernetes-cert' run
     Started: 07:17:04.172384
    Duration: 1041.092 ms
     Changes:
              ----------
              pid:
                  1045
              retcode:
                  0
              stderr:
                  Generating a 4096 bit RSA private key
                  ......................................................................++
                  ...............................................................................++
                  writing new private key to '/srv/kubernetes/server.key'
                  -----
              stdout:
----------
2016-01-24 02:18:11 -05:00