Skip to content
Snippets Groups Projects
Unverified Commit c38cf5dd authored by Xingjian Zhang's avatar Xingjian Zhang Committed by GitHub
Browse files

Fix confusing instance sizing (etcd, kube_master) in Vagrantfile (#9966)

parent 2985b129
No related branches found
No related tags found
No related merge requests found
......@@ -61,9 +61,9 @@ $multi_networking ||= "False"
$download_run_once ||= "True"
$download_force_cache ||= "False"
# The first three nodes are etcd servers
$etcd_instances ||= $num_instances
$etcd_instances ||= [$num_instances, 3].min
# The first two nodes are kube masters
$kube_master_instances ||= $num_instances == 1 ? $num_instances : ($num_instances - 1)
$kube_master_instances ||= [$num_instances, 2].min
# All nodes are kube nodes
$kube_node_instances ||= $num_instances
# The following only works when using the libvirt provider
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment