Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.21 KB

running-simulator.md

File metadata and controls

31 lines (22 loc) · 1.21 KB

Running simulator

The simulator requires Docker installed in your laptop. We have compose.yml to run the simulator easily.

Run simulator with Docker

We have compose.yml to run the simulator easily. You should install Docker at first.

You can use either of following commands.

# pull docker images from the registry and run them.
# It's the easiest way to run up the simulator and web UI.
make docker_up

# build the images for web frontend and simulator server, then start the containers.
# You need to use this if you change the implementation of the simulator.
make docker_build_and_up

Then, you can access the simulator with http://localhost:3000. If you want to deploy the simulator on a remote server and access it via a specific IP (e.g: like http://10.0.0.1:3000/), please make sure that you have executed export SIMULATOR_EXTERNAL_IP=your.server.ip before running docker compose up -d.

Additionally, you can run a kwok cluster that acts as a fake source cluster to try out the resource importing feature.

make docker_build_and_up -e COMPOSE_PROFILES=externalImportEnabled