Merge pull request #1094 from retr0h/vagrant-flannel

Ensure vagrant uses flannel
pull/712/merge
Antoine Legrand 2017-03-01 00:07:24 +01:00 committed by GitHub
commit 1122740bd7
1 changed files with 8 additions and 6 deletions

14
Vagrantfile vendored
View File

@ -94,12 +94,14 @@ Vagrant.configure("2") do |config|
ip = "#{$subnet}.#{i+100}"
host_vars[vm_name] = {
"ip" => ip,
#"access_ip" => ip,
"flannel_interface" => ip,
"flannel_backend_type" => "host-gw",
"local_release_dir" => "/vagrant/temp",
"download_run_once" => "False"
"ip": ip,
"flannel_interface": ip,
"flannel_backend_type": "host-gw",
"local_release_dir": "/vagrant/temp",
"download_run_once": "False",
# Override the default 'calico' with flannel.
# inventory/group_vars/k8s-cluster.yml
"kube_network_plugin": "flannel",
}
config.vm.network :private_network, ip: ip