Posted in Cloud, Kubernetes

Multi-node Kubernetes setup on Windows

We can create mulit-node kubernetes setup on Windows laptop/VM as well. Mostly if you want to learn or try and test Kubernetes concepts.

I am using Windows 2012 server, it will work on other Windows version as well.

We use Virtualbox and Vagrant to configure Kubernetes nodes.

Perform following steps as pre-requisites.

# Author: vishmule
## These steps will install VirtualBox and Vagrant on Windows VM
# Install chocolatey package manager for Windows.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
# Install VirtuaBox on Winodws
choco install virtualbox -y
# Install Vagrant on Windows
choco install vagrant -y
# Install Virtualbox guest plugin for Vagrant
vagrant plugin install vagrant-vbguest
# Download Wget package for Windows.
http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-setup.exe
Install chocolatey package manager on Windows.
Install VirtualBox
Install Vagrant

Continue reading “Multi-node Kubernetes setup on Windows”