Deploy kubeadm and Provision VMs with Vagrant
Deploy kubeadm and Provision VMs with Vagrant
-
Vagrant - automation tool to spin up multiple VMs with a specific configuration.
-
A Vagrant File has all of the configurations required for the VMs.
-
Clone this repository https://github.com/kodekloudhub/certified-kubernetes-administrator-course and it will contain the Vagrant File.
-
Use
vagrant statusto check the current status if Kubernetes has been deployed to the nodes or not. -
vagrant upthen provisions all of the VMs with whatever is in the Vagrant File. -
How do you connect to the cluster? Run
vagrant ssh <NODE_NAME>. Find the name fromvagrant status. -
To exit the session, run the command
logout.