diff --git a/README.md b/README.md index fba5ac1..63d3d3c 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,9 @@ A [Vagrant](https://www.vagrantup.com/) script for setting up a barebones [Kuber ### Pre-requisites - * **[Vagrant 2.1.4+](https://www.vagrantup.com)** - * **[Virtualbox 5.2.18+](https://www.virtualbox.org)** + * **[Vagrant 2.2.4+](https://www.vagrantup.com)** + * **[Virtualbox 6+](https://www.virtualbox.org)** + * **[Virtualbox Proprietary Extension Pack](https://download.virtualbox.org/virtualbox/6.0.12/Oracle_VM_VirtualBox_Extension_Pack-6.0.12.vbox-extpack)** ### Start the Base Cluster diff --git a/Vagrantfile b/Vagrantfile index 1fd0727..b32f5c8 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -10,6 +10,14 @@ servers = [ :mem => "3200", :cpu => "2" }, + { + :name => "k8s-nfs", + :type => "nfs", + :box => "jprdonnelly/ubuntu-1804", + :eth1 => "192.168.205.14", + :mem => "2176", + :cpu => "2" + }, { :name => "k8s-node1", :type => "node", @@ -26,14 +34,6 @@ servers = [ :mem => "4224", :cpu => "2", }, - { - :name => "k8s-nfs", - :type => "nfs", - :box => "jprdonnelly/ubuntu-1804", - :eth1 => "192.168.205.14", - :mem => "2176", - :cpu => "2" - }, # Uncomment section below to enable a 3rd worker node. # { # :name => "k8s-node3", @@ -173,7 +173,7 @@ $configureNode = <<-SCRIPT echo "This is a worker node" sshpass -p "vagrant" scp -o StrictHostKeyChecking=no vagrant@192.168.205.10:/etc/kubeadm_join_cmd.sh . sudo sh ./kubeadm_join_cmd.sh - # kubectl taint nodes k8s-nfs key=value:NoSchedule + kubectl taint nodes k8s-nfs key=value:NoSchedule SCRIPT $configureNFS = <<-SCRIPT