Commit Graph

35 Commits (09e42764483ecd1c1a71863518beba5b98241f71)

Author SHA1 Message Date
Dmitry Shulyak 1ec4295266 Increate memory for vagrant slave nodes to 2048
With current default number (1024) i am not able to spawn all required for
e2e tests kube-system containers. I had problems with heapster replicas, and
it was obvious from kube-scheduler logs that it is in Pending exaclty because of
insufficient memory.

To reproduce:
1. KUBERNETES_PROVIDER=vagrant ./cluster/kube-up.sh
2. Run any e2e test

Change-Id: I963347e86c7129607f07ce1cea8cc0b536b09b72
2016-09-15 15:16:29 +03:00
Erik Hollensbe eec97a7e66 Vagrantfile: Remove unused variables
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2016-09-05 02:30:28 -07:00
Erik Hollensbe da3a2d78e7 Vagrantfile: do not insert invalid ssh key when provisioning VMs on vagrant 1.8.5
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2016-09-05 02:29:54 -07:00
Roman Dembitsky 2117c068bb added vagrant vsphere support
updated vsphere-dummy box for the vagrant vsphere using vagrant vsphere plugin

added solution for cases when the NETWORK_IF_NAME was left empty
2016-03-30 22:55:08 +03:00
sondabar b1d1ae8c21 Avoid certificate invalid messages for vagrant with parallels provider 2016-03-17 18:51:30 +01:00
mfanjie d433632cd2 add proxy settings for vagrant 2016-03-07 09:57:26 +08:00
André Martins 0515b4c7c9 Updated Vagrant VMs to Fedora 23
Signed-off-by: André Martins <aanm90@gmail.com>
2016-01-19 16:52:54 +00:00
Brad Erickson 88e6cac544 Minion->Name rename: cluster/vagrant, docs and Vagrantfile 2015-12-02 12:45:12 -08:00
Brad Erickson 53172a5356 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
Brad Erickson 6fe68a737e Minion->Node rename: NODE_IP_BASE, NODE_IP_RANGES, NODE_IP_RANGE, etc
NODE_IPS
NODE_IP
NODE_MEMORY_MB
2015-11-25 00:45:09 -08:00
Brad Erickson a36d3390bf Minion->Node rename: KUBERNETES_NODE_MEMORY, VAGRANT_NODE_NAMES, etc
ENABLE_NODE_PUBLIC_IP
NODE_ADDRESS
NODE_BLOCK_DEVICE_MAPPINGS
NODE_CONTAINER_ADDRS
NODE_CONTAINER_NETMASKS
NODE_CONTAINER_SUBNET_BASE
NODE_CONTAINER_SUBNETS
NODE_CPU
2015-11-25 00:43:52 -08:00
derekwaynecarr 8d07624fe0 Bump memory to increase tmpfs size for salt-provision 2015-09-30 16:46:17 -04:00
Lénaïc Huard 9ffa70a8be Move the vagrant+libvirt cluster from Fedora 20 to 21 2015-09-24 15:22:57 +02:00
Fred Jean 1305f54645 Booting a Kubernetes cluster on Vagrant
* Using Fedora 21 as the base box
* Discover the active network interfaces in the box to avoid hardcoding
  them in configuration.
* Use the master IP for the certificate.
2015-08-27 21:43:36 -06:00
Maru Newby 5ab9d2cc94 Vagrant: Add support for nfs synced folders
nfs synced folders do not require guest additions and are faster than
vmware and virtualbox's shared folders.  This change configures the
default /vagrant synced folder to use nfs if the
KUBERNETES_VAGRANT_USE_NFS environment variable is set to 'true'.
2015-07-01 13:12:42 -07:00
Nikolai Prokoschenko f204a0ff01 Actually ignore hyperthreading
`uniq` only works with sorted input, i.e. we need to sort, before we filter out duplicate CPU IDs
2015-06-09 15:41:21 +02:00
derekwaynecarr 2168cee414 Upgrade to Fedora 21, Docker 1.6, clean-up SDN 2015-06-04 10:59:23 -04:00
Derek Carr 4753021167 Merge pull request #7617 from pronix/add_libvirt_vagrant_provider
Add libvirt provider for vagrant
2015-05-18 08:27:51 -04:00
dima 3519e83001 Add libvirt provider for vagrant
typo. thanks @fodoj
add short desc and link to docs
2015-05-14 10:37:49 +02:00
BenTheElder e6b6813015 Fix vagrant cpu count on linux.
Corrects error in 19224deb04 on linux cpus with hyperthreading (we need to pass the results of `cat /proc/cpuinfo | grep 'core id'` through uniq before counting the lines).
Also checks that we found more than 0 lines (cores) and defaults to the result of nproc in case we didn't (necessary for processors without the core id field, so far only observed on a raspberry pi).
2015-05-11 21:57:42 -04:00
BenTheElder 19224deb04 Accurately get hardware cpu count in Vagrantfile.
In Vagrantfile replace hack that assumed hyper threading was enabled on
the host and divided ncpu by 2 with methods of getting the actual
hardware core count.
2015-05-09 19:21:58 -04:00
Bearnard Hibbins 7f0ecb84a7 Prevent Virtualbox Guest Additions from being updated, gcc is not installed on the image. 2015-04-25 06:33:40 +02:00
Matt Bogosian e8672e2242 Fix #2741. Add support for alternate Vagrant providers: VMWare Fusion, VMWare Workstation, and Parallels. 2015-04-17 11:26:29 -07:00
Ryan Fowler 749ae3d661 Vagrant VM memory environment variable.
Has Vagrant try to read `KUBERNETES_MEMORY` environment varilable when setting
$vm_mem.

fixes #3792
2015-03-04 14:45:01 -06:00
derekwaynecarr 883962e36b Kubernetes master needs more than 512MB of ram 2015-02-23 19:37:07 -05:00
James Kyle 34abf43707 Resolves #4633.
Fixes broken vagrant ssh commands
2015-02-20 08:31:51 -08:00
derekwaynecarr 2d9977cf1a Reduce number of minions to improve user experience 2015-01-09 13:00:48 -05:00
Joe Beda 428aeacf6d Rework vagrant cluster set up.
* Have a single config file that mirrors other cluster providers
* Warn users not to use 'vagrant up' directly
* Allow 'extra' parameters to the docker daemon.  Fixes #2685
* Renumbers things so that they are more sane.  Master/minions are 10.245.1.x, container subnets are 10.246.x.1/24, portal is 10.247.0.0/16
2014-12-17 13:23:39 -08:00
resouer 7bbfec0f4a Add kuber box location env to make it faster. 2014-12-15 14:23:48 +08:00
Joe Beda 7a6743808a Make Vagrant CPU usage be more sane on hyperthreaded systems.
Fixes #2359
2014-11-13 17:09:59 -08:00
Ilya Dmitrichenko db3c9a3507 Fix indentation in Vagrantfile 2014-10-14 12:15:04 +01:00
Joe Beda 38d5906044 Clean up READMEs and broken stuff.
Move all support for clouds that are broken with this change into an `icebox` directory.  We'll move that stuff back out as we fix it up.
2014-10-10 12:33:36 -07:00
Joe Beda 881cf80182 Vagrant now using pre-built binaries. 2014-10-10 12:30:12 -07:00
Rajat Chopra 2dd57898d4 add ip per pod across vagrant minions 2014-08-26 11:29:35 -07:00
derekwaynecarr 69ae2fe4bb Initial vagrant setup and e2e testing support 2014-07-24 16:32:36 -04:00