Setup

Prerequisite CLI tools

The following CLI tools are required for running the exercises in this workshop. Please have them installed and configured before you get started with any of the workshop chapters.

Tool macOS Fedora windows

Git

Download

Download

Download

Docker

Docker for Mac

dnf install podman podman-docker

Docker for Windows

kubectl v1.20.2

Download

Download

Download

kustomize v4.1.2

Download

Download

Download

Ansible

python -m pip install --user ansible

sudo dnf install ansible

The following CLI tools are optional for running the exercises in this tutorial. Although they are used in the tutorial, you could use others without any problem.

Tool macOS Fedora windows

yq v2.4.1

Download

Download

Download

jq v1.6.0

Download

Download

Download

watch

brew install watch

dnf install procps-ng

Get tutorial sources

Before we start setting up the environment, let’s clone the tutorial sources and set the TUTORIAL_HOME environment variable to point to the root directory of the tutorial:

export TUTORIAL_HOME="$(pwd)/acs-workshop"
cd $TUTORIAL_HOME

Setup OpenShift Cluster

To run OpenShift4, you need to have one provisioned using try.openshift.com or can use any existing OpenShift4 cluster. Once you have your cluster, you can download the latest OpenShift client(oc) from here and add to your path.

You can check the OpenShift version using:

oc version

The output should show oc version >=4.10:

Client Version: 4.10.0-...
Kubernetes Version: v1.20.2

And then you are ready for installing RHACS on Openshift.