Chapter 2. Installation and Getting Started

In this section, we show you how to get started with Istio on Kubernetes. Istio is not tied to Kubernetes in any way, and in fact, it’s intended to be agnostic of any deployment infrastructure. With that said, Kubernetes is a great place to run Istio with its native support of the sidecar-deployment concept. Feel free to use any distribution of Kubernetes you wish, but here we use Minishift, which is a developer-focused enterprise distribution of Kubernetes named OpenShift.

Command-Line Tools Installation

As a developer, you might already have some of these tools, but for the sake of clarity, here are the tools you will need:

Minishift

Minishift is essentially Red Hat’s distribution of minikube.

VirtualBox

Alternative virtualization options are available at virtualization options.

Docker for Mac/Windows

You will need the Docker client (e.g., docker build -t example/myimage).

kubectl

We will focus on the usage of the oc CLI throughout this book, but it is mostly interchangeable with kubectl. You can switch back and forth between the two easily.

oc

minishift oc-env will output the path to the oc client binary, no need to download separately.

OpenJDK

You will need access to both javac and java command-line tools.

Maven

For building the sample Java projects.

stern

For easily viewing logs.

Siege

For load testing the Istio resiliency options in Chapter 4.

Git

For git clone, downloading the sample code.

istioctl

Will ...

Get Introducing Istio Service Mesh for Microservices, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.