kubernetes-hyperv-vagrant
Install Kubernetes on Hyper-V using Vagrant
Hardware Specs:
Make sure you have atleast 6GB RAM, To Run 1 Master and 2 Worker Nodes
Pre-Requsites:
- Make sure Hyper-V is enabled on your machine.
- Make sure Powershell & GIT is installed on your machine
- Make sure Vagrant Version: 2.2.6 is installed on your machine
Step By Step Instructions:
- Create a Folder
- git clone https://github.com/SundeepPaluru/kubernetes-hyperv-vagrant.git .
- Run PowerShell as administrator
- CD towards Cloned Folder
- Run Deploy-K8s.ps1 Script Note: In case if you face script exectution error. Run following command Set-ExecutionPolicy -ExecutionPolicy Unrestricted, and than try running the script.
Post VM Build
- Login to Master Node using "Vagrant ssh master"
- In shell prompt Run "sudo kubectl apply -n kube-system -f /home/vagrant/net.yaml' | at now"