wakurtosis/README.md

31 lines
1.8 KiB
Markdown
Raw Normal View History

2022-12-12 15:48:26 +00:00
Wakurtosis
2022-10-13 16:46:01 +00:00
=====================
2022-12-12 15:48:26 +00:00
Starting version for Waku network simulations (https://github.com/waku-org/pm/issues/2)
Kurtosis: https://docs.kurtosis.com/
### How to use:
#### Before using this repository make sure that:
2022-12-19 17:25:49 +00:00
- **You are using Kurtosis version 0.62.0**. This is important, as they are working on it and changes can be huge depending on different versions. You can find all Kurtosis versions [here](https://github.com/kurtosis-tech/kurtosis-cli-release-artifacts/releases).
2022-12-12 15:48:26 +00:00
- The topology that will be instantiated is defined in `kurtosis-module/starlark/waku_test_topology.json`. This topology is created with https://github.com/logos-co/Waku-topology-test
- Each node will need its own configuration file in `kurtosis-module/starlark/config_files/waku_X.toml` being `waku_X` the same name that is defined in the topology.
If you want to use the same configuration for every node, you can use:
`kurtosis run --enclave-id wakurtosis . '{"same_toml_configuration": true}'`
This will use the file `kurtosis-module/starlark/config_files/waku_general.toml` for every node.
2022-12-12 15:48:26 +00:00
2022-12-20 11:09:21 +00:00
In order to access to Prometheus or Graphana, run:
`kurtosis enclave inspect wakurtosis'`
With this, you will be able to see the ports exposed to your local machine.
Note that if you decide to set the `--enclave-id`, you may need to run `kurtosis clean -a` before re-run the same enclave again, to not have problems with ports and volumes that are already mounter under that enclave.
This will not happen if `--enclave-id` is not used, but then if you want to inspect it, while the enclave is being created you should check the id with `kurtosis enclave ls`, since the enclave id will not be shown until the process is finished.
2022-12-19 17:25:49 +00:00
Please, any improvements/bugs that you see, create an issue, and we will work on it.