- Internet Access
- PC with at least:
- 4 Core CPU
- 8GB of RAM / 16GB recommended (16GB needed for the Istio Lab)
- 40GB of free Disk Space
Before we dive into the Labs, you need to be able to run the provided Lab VM. It contains a Minikube cluster and all the configurations for the subsequent labs.
Before we dive into the Labs, you need to be able to run the provided Lab VM. It contains a Minikube cluster and all the configurations for the subsequent labs.
VMWare is the preferred option as it handles nested virtualization that we need for this lab very well. VirtualBox has this option in the latest releases but might prove unstable on certain PCs/Macs (especially the MacBook Pro 16' seems to run into problems).
If you do not already have VMWare installed, install a 60 days trial for your OS now:
If you do not already have VirtualBox installed, install it for your OS now:
It is important that you use a version equal or newer than 6.1.6!
- macOS VirtualBox, VMware Fusion, HyperKit
- Linux VirtualBox, KVM
- Windows VirtualBox, Hyper-V
The VM is an 13GB zip file that has to be downloaded.
The easiest way to download the file is with IBM Aspera high-speed transfer solution.
Download it here:
You can also download it from Google Drive, which is much slower.
Download it here (VirtualBox only):
-
Open the VM by double-clicking on the Training2020.vmx file.
-
Start the VM from the VmWare interface.
IMPORTANT: There have been problems reported running VirtualBox and Docker Desktop on Mac at the same time. If you have Docker Desktop running please shut it down first, we'll use Docker in the VM.
-
Open the VM by double-clicking on the Training2020.vbox file.
-
Start the VM from the VmWare interface.
-
When the VM is up and running you can login with
User: training
Pwd: passw0rd
-
You can now open the Firefox browser in the VM and check that you can open a webpage (google.com for example)
-
Open a terminal window (in the dock)
-
Execute the following commands to initialize your Training Environment
./welcome.sh
This will
- pull the latest example code from my GitHub repository
- start minikube if not already running
- installs the registry
- installs the Network Plugin (Cilium)
- starts the Personal Training Environment
During this you will have to provide a name (your name) that will be used to show your progress in the Instructor Dashboard in order to better assist you.
-
If the startup script doesn’t work you can run ./resetEnvironment.sh (this can take up to 30 minutes as it has to redownload all Docker images)
-
If you lose your PTE Webpage just run minikube service student-ui
-
Problems on Windows 10
Can be fixed in most cases by turning off Hyper-V by running (as admin):
bcdedit /set hypervisorlaunchtype off
and rebooting.This disables Hyper-V and allows Virtualbox to support nested virtualisation.
You can turn it back on again with
bcdedit /set hypervisorlaunchtype auto
Follow the steps here if you would like to use your own PC or an IBM Cloud Based Kubernetes Cluster:
https://github.com/niklaushirt/training/tree/master/standalone