Skip to content

Prerequisites

Edwin van Wijk edited this page Apr 19, 2022 · 11 revisions

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

Make sure you have the latest version of 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.

To run everything on 1 machine, you need to make sure enough resources (CPU and memory) are available for Docker. Increase the number of CPUs to at least 4 and the amount of memory to at least 5 GB. You can do this on the Advanced tab of the Docker settings dialog:

If you are running Docker Desktop on WSL2 on Windows, you can configure the maximum available resources for Docker using a .wslconfig config file. See this article for more information.

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.

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. In the description of how to run Pitstop using a service-mesh,