This section describes what, how, and where to install the software needed for this lab. This lab is designed for a BYOL (Brying Your Own Laptop) style hands-on-lab.
-
Operating System: Mac OS X (10.8 or later), Windows 7 (SP1), Fedora (21 or later)
-
Memory: At least 4 GB+, preferred 8 GB
-
Java: Oracle JDK 8u45
-
Web Browser
Docker currently runs natively on Linux. It can be configured to run in a virtual machine on Mac or Windows. This is why Virtualbox is a requirement for Mac or Windows.
Downloads are available from .
Virtual Box 5.0.0 does not allow Kubernetes cluster to be started: kubernetes/kubernetes#12614. Make sure to download VirtualBox 4.3.30.
Warning
|
Linux Users
|
Docker Machine makes it really easy to create Docker hosts on your computer, on cloud providers and inside your own data center. It creates servers, installs Docker on them, then configures the Docker client to talk to them.
On Windows copy the file in a convenience directory that is included in the PATH
variable.
-
Create Docker Host to be used in the lab:
-
To make it easier to start/stop the containers, an entry is added into the host mapping table of your operating system. Find out the IP address of your machine:
docker-machine ip lab
This will provide the IP address associated with the Docker Machine created earlier.
-
Edit
/etc/hosts
(Mac OS or Linux) orC:\Windows\System32\drivers\etc\hosts
(Windows) and add:<IP ADDRESS> dockerhost
-
Download Kubernetes (1.0.1) from
-
Extract the archive and install it by:
export KUBERNETES_PROVIDER=vagrant
cd kubernetes
./cluster/kube-up.sh
Note
|
Kubernetes 1.0.1 is the only version verified to work with Virtual Box. More details at: kubernetes/kubernetes#12614 |