Please watch the latest videos on installing kubernetes using Vagrant box on your laptop and practice for your devops stuff.
Pre-req
- Install vagrant on your laptop
- Get an account on container-registry.oracle.com
- Download https://github.com/oracle/vagrant-boxes repository
Navigate to the git repo that is downloaded and just run
On Command prompt,
cd <folder>/kubernetes
vagrant up master
once the machine is ready, perform
vagrant ssh master
sudo su -
cd /vagrant/scripts/
sh kubeadm-setup-master.sh
This will initiate the kubernetes cluster
Perform work node installation
On command prompt,
cd <folder>/kubernetes
vagrant up worker1
once the machine is ready, perform
vagrant ssh worker1
cd /vagrant/scripts
sh kubeadm-setup-worker.sh
Repeat the same with worker 2 as well.
Videos for the same.
Follow Me!!!