Oracle recently launched a new GitHub repository for providing people with Oracle software inside Vagrant boxes. If you have ever setup an Oracle database inside a VirtualBox VM, whether it is as your sandbox environment, to explore Oracle database, or to use it as a full-on development environment, things have just gotten a lot easier for you. With Vagrant, you can now provision an Oracle database inside VirtualBox in a matter of a couple of simple steps.
Tag: Vagrant
Deploying a Kubernetes cluster with Vagrant on Virtual Box
Oracle has just included Kubernetes support for its VirtualBox Vagrant GitHub repository. With that it’s now easier than ever to get a Kubernetes cluster up and running inside VMs. If you have not come across Vagrant yet, it’s a great tool by HashiCorp for “Development Environments Made Easy“.
tl;dr
- Install VirtualBox
- Install Vagrant
- Clone the GitHub repository git clone https://github.com/oracle/vagrant-boxes
- Change into the
vagrant-boxes/Kubernetes
folder - Run
vagrant up master; vagrant ssh master
- Within the master guest, run as
root
:/vagrant/scripts/kubeadm-setup-master.sh
You will be asked to log in to the Oracle Container Registry - Run
vagrant up worker1; vagrant ssh worker1
- Within the worker1 guest, run as
root
:/vagrant/scripts/kubeadm-setup-worker.sh
You will be asked to log in to the Oracle Container Registry - Repeat the last 2 steps for worker2
Your cluster is ready!
Within the master guest you can check the status of the cluster, as the vagrant
user, e.g.:
kubectl cluster-info kubectl get nodes kubectl get pods --namespace=kube-system
Continue reading “Deploying a Kubernetes cluster with Vagrant on Virtual Box”