Setup

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:

git clone -b master https://github.com/redhat-developer-demos/knative-tutorial
export TUTORIAL_HOME="$(pwd)/knative-tutorial"

This tutorial was developed and tested with:

  • Knative v1.8.1

  • Minikube v1.28.0

  • OpenShift v4.8

Tutorial Tools

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

You can also use Podman instead of Docker. The advantage of Podman is that it is 100% Free Open Source and does not need to run with elevated privileges. Just use 'podman' instead of 'docker' throughout the tutorial’s instructions, or alias docker=podman.
Tool macOS Linux windows

Git

Download

Download

Download

Docker

Docker for Mac

Docker for Linux

Docker for Windows

kubectl v1.23.0

Download

Download

Download

stern

brew install stern

Download

Download

yq v2.4.1

Download

Download

Download

httpie

brew install httpie

httpie for Linux

https://httpie.org/doc#windows-etc

hey

brew install hey

Download

Download

watch

brew install watch

dnf/apt-get/.. install procps-ng

kubectx and kubens

brew install kubectx

https://github.com/ahmetb/kubectx