Just go to and click on “ Register” on the top right and click on “ Create New Oracle Account”: Otherwise, creating a user is quick and easy. If you already have one, skip this step and go to “ Accepting the end user license agreement”. The user you need for the container registry is the same that you might already use for OTN or other Oracle websites. So, if you have done this already before you can just skip ahead to Creating the Kubernetes cluster on VirtualBox. This is a quick one-time task to perform as the container registry will remember your license acceptance on subsequent pulls. In order for it to do so, you have to have an Oracle account to sign in with on the container registry and accept the license agreement. The provisioning script will pull several Kubernetes Docker images from the Oracle Container Registry, a fully free Docker image repository from Oracle. In my case on Mac it’s just an easy download and a couple of clicks, so I’m not going to cover it here. Installing VirtualBox and Vagrant on your machine, regardless whether it’s a Mac, Windows or Linux, is very straight forward. Download or clone the VirtualBox Vagrant Github repo.In order to get started you just need to perform four things first: Within the master guest you can check the status of the cluster, as the vagrant user, e.g.: Within the worker1 guest, run as root: /vagrant/scripts/kubeadm-setup-worker.sh.Run vagrant up worker1 vagrant ssh worker1.You will be asked to log in to the Oracle Container Registry Within the master guest, run as root: /vagrant/scripts/kubeadm-setup-master.sh. Run vagrant up master vagrant ssh master.Change into the vagrant-boxes/Kubernetes folder.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“. Oracle has just included Kubernetes support for its VirtualBox Vagrant GitHub repository.
0 Comments
Leave a Reply. |