- Required skills
- Create accounts
- Cloud Native VM
- Run System Check Script
- Install CLIs and tools
- Environment Setup
- Reading Material
This activites contained here require you to be proficient in working from the command line with a linux shell (Bash, Zsh, etc.) Below is a partial list of activites you should be able to perform.
- Copy, move, and rename files
- Understand linux file permissions
- Edit text files (vi, vim, emacs, etc)
- Edit environment variables ($PATH)
Here is a course for learning (or brushing up) on working from the linux command line Linux Command Line Basics
You’ll need these accounts to use the Developer Tools environment.
GitHub account (public, not enterprise): Create one if you do not have one aleady. If you have not logged in for a while, make sure your login is working.
IBM Cloud Account: Create one if needed, make sure you can log in.
Katacoda Account: The account is free and easy to create.
RedHat Account: Needed for CodeReady Containers.
Use the Cloud Native VM it comes pre-installed with kubernetes and all cloud native CLIs.
Is highly recommended for Windows users to use this VM.
Run the following command in your terminal to check which tools need to be installed.
wget -O - https://cloudnative101.dev/scripts/setup/system-check.sh | sh
curl -s https://cloudnative101.dev/scripts/setup/system-check.sh | sh
After the script is run, make sure to install any missing tools.
The following is a list of desktop tools required to help with installation and development.
Git Client: Needs to be installed in your development operating system, it comes as standard for Mac OS
IBM Cloud CLI: Required for management of IBM Cloud Account and management of your managed IBM Kubernetes and Red Hat OpenShift clusters
Docker Desktop: Required for building and running docker images.
- Installed and running on your local machine
Tekton CLI: Used to help control Tekton pipelines from the command line.brew tap tektoncd/toolsbrew install tektoncd/tools/tektoncd-cli
Visual Studio Code: A popular code editor
- You will be required to edit some files, having a good quality editor is always best practice
- Enabling launching VSCode from a terminal
JDK 11: Optional installed on your local machine
- Used for SpringBoot content
Minikube: Follow the instructions for your Operating System.
- Verify your cluster has 4GB+ memory, and kubernetes 1.16+minikube config view
- Verify your
vm-driveris set for
hyperkitminikube config set vm-driver hyperkit
- In case memory is not set, or need to increase set the memory and recreate the VMminikube config set memory 4096minikube config set kubernetes-version v1.16.6minikube deleteminikube start
- Kubernetes should be v1.15+kubectl version
Make sure CRC is installed. Check out the CRC Page
Login to IBM Cloud with your IBM ID.
Click “Create Resource” and search for “kubernetes service”.
Select the tile for “Kubernetes Service” and do the following:
- Select the “Free Cluster” plan.
- Name your cluster.
- Select “Create” at the bottom right of the screen.
Once the Cluster is provisioned, Click on the “Connect via CLI” in the top right corner.
Follow the instructions to connect and you are set to go.
In this approach you share an OpenShift cluster on IBM Cloud with other bootcamp attendees.
Considering 10-15 attendees we recommend a cluster with 3 worker nodes (each 8 vCPUs + 32GB RAM - b3c.8x32).
Ask your IBM cloud account owner to provide access to an OpenShift cluster.
In addition to the IBM Cloud CLI also install the OpenShift Origin CLI to be able to execute all commands.
Open your OpenShift web console from within your IBM cloud account, select your profile and choose “copy login command” to retrieve an access token for the login.
Login with your OpenShift Origin CLI.oc login --token=<token> --server=<server-url>:<server-port>
Create your own project / namespace in OpenShift that you will leverage across all labs.oc new-project <dev-your_initials>
Validate in the OpenShift web console that your project has been created (Administrator view -> Home -> Projects)
Watch the video and read the overview on this page Overview