Skip to content

Prerequisites

Edwin van Wijk edited this page Aug 16, 2019 · 11 revisions

This describes the prerequisites for running the application locally on your machine.

Make sure you have Docker Desktop installed and running smoothly on your machine. This sample only uses Linux based containers. Also make sure everything is configured correctly in order to pull Docker images from the public Docker hub.

Increase the amount of memory dedicated to Docker to at least 4 GB. You can do this on the Advanced tab of the Docker settings dialog:

Additional prerequisites for running on Kubernetes

If you want to use Kubernetes to run the Pitstop application, you need a Kubernetes cluster to run it on. Fortunately, Docker Desktop offers a way to run Kubernetes locally on your machine.

To enable Kubernetes, check the Enable Kubernetes check-box on the Kubernetes tab of the Docker settings dialog:

You will an indication that Kubernetes is running on the settings dialog:

Additional prerequisites for using Istio as service-mesh

All the scripts for running the application using Istio are available in the repo, so you can run the application with an Istio service mesh. I have tested everything with Istio version 1.2. Please take this into consideration if you want to play around with it.

To install Istio on your Kubernetes cluster, follow the description on the Istio website.