From e0b4914f9d42a6856547c8d19941e4a78a136334 Mon Sep 17 00:00:00 2001 From: Moritz Graf Date: Tue, 18 Feb 2020 19:18:20 +0100 Subject: [PATCH] Current state --- .gitignore | 1 + bootstrap/init_kubespray.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitignore 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