Kubernetes from a vagrant box flixtech/kubernetes


https://atlas.hashicorp.com/flixtech/boxes/kubernetes

or

http://lollyrock.com/articles/kubernetes-vagrant/

https://coreos.com/kubernetes/docs/latest/kubernetes-on-vagrant-single.html


1- Donwload the vagrant box ( image)   Optional

2- Create a directory and vagrant init ( create the Vagrantfile)  can also download the image at the same time!

3- Add static route

4- Up the box ( start the box )

5- ssh to the pre-install kuberbnetes VM





2- create a directory and vagrant init  -m -f ( minimum file and force/overwrite )

vagrant init flixtech/kubernetes -f -m  ; vagrant up --provider virtualbox     ( can run both command at once )


3- Add static route

As Administrator, add the route on windows 

route add 10.0.0.0 mask 255.255.255.0 10.10.0.2


4- Up the box ( start the box )

 

vagrant up

need

  1. the key for putty or Mobaxterm,    .vagrant\machines\default\virtualbox/private_key
  2. the TCP port:   default: SSH address: 127.0.0.1:2222



5- ssh to the pre-install kuberbnetes VM

c:\Users\jkriker\Documents\vagrant\flixtechkubernetes>vagrant.exe ssh