Skip to content

alevit90/vagrant-virtual-box-centOS8-minikube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

vagrant-virtual-box-centOS8-minikube

Requirements:

  1. Download the following repository

  2. Download virtualbox through the following link and install it:

https://www.virtualbox.org/wiki/Downloads
  1. Download vagrant via the following link and install it:
https://developer.hashicorp.com/vagrant/install?ajs_aid=9b11add8-dcb2-4b9e-bb1b-7714cbf79e32&product_intent=vagrant#windows 

Installation

Unzip the repository folder. Open powershell and then navigate to the folder where the Vagrantfile is present. For example:

cd C:\Users\username\Desktop\Laboratory\Vagrant

Run the following command to initialize a new Vagrant environment:

vagrant init

Replace the vagrant file that was created with the vagrant init command with the vagrant file from the following repository. After that, run the following command to create a new Vagrant environment:

vagrant up

The following command via Vagrant creates a centOS8 virtual machine on virtual box. It also automatically installs minikube and its dashboard where it is possible to manage, create and modify resources on Kubernetes.

The script will take some time to get all the environment up. But once finished you will be able to access the dashboard via the following link:

http://192.168.33.10:8080/

If you want to connect to the centos machine it is possible using the following command:

vagrant ssh

To turn off the vm you can use this command:

vagrant halt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published