diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..997ca2f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.vagrant \ No newline at end of file diff --git a/bootstrap/init_kubespray.sh b/bootstrap/init_kubespray.sh index 5ad795b..8412e07 100755 --- a/bootstrap/init_kubespray.sh +++ b/bootstrap/init_kubespray.sh @@ -2,7 +2,7 @@ # use virtualenv to install all python requirements VENVDIR=venv -virtualenv --python=/usr/local/bin/python3 $VENVDIR +virtualenv --python=/usr/bin/python3.7 $VENVDIR source $VENVDIR/bin/activate pip install -r kubespray/requirements.txt @@ -24,6 +24,7 @@ cat << EOF > kubespray/vagrant/config.rb \$network_plugin = "flannel" \$inventory = "$INV" \$shared_folders = { 'temp/docker_rpms' => "/var/cache/yum/x86_64/7/docker-ce/packages" } +\$kube_node_instances_with_disks_number = 0 EOF # make the rpm cache