Lab 0: Prepare the Lab environment
Prerequisites
Using the provided Lab VM
Using the provided Lab VM is the easiest way to get started with the Labs for the training:
- Download the Lab VM
- Install a Hypervisor on your PC (VMWare, VirtualBox, KVM, …)
- Start the VM
- Test that it works in your setting
You can find detailed instructions here: https://github.com/niklaushirt/training
Install the Operator SDK
RELEASE_VERSION=v0.19.0
curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu
chmod +x operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu
sudo mv operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu /usr/local/bin/operator-sdk
Using your own environment
These are two methods to perform the Labs without downloading and starting the VM.
This is untested and I cannot guarantee that all the Labs will be working 100%.
Installing Operator SDK
Install the Operator SDK
RELEASE_VERSION=v0.19.0
# Linux
curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu
# macOS
curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk-${RELEASE_VERSION}-x86_64-apple-darwin
sudo chmod +x operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu
sudo mv operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu /usr/local/bin/operator-sdk
Standalone installation
For installation on your local PC
https://github.com/niklaushirt/training/blob/master/standalone/README-STANDALONE.md
Cloud Installation
For using a Kubernetes cluster on the IBM Cloud
https://github.com/niklaushirt/training/blob/master/standalone/README-CLOUD.md