Skip to content

Commit

Permalink
chore: template network name
Browse files Browse the repository at this point in the history
  • Loading branch information
3benbox committed Jun 20, 2024
1 parent 3b6a33e commit a068217
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 23 additions & 0 deletions performance/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Performance tests

## Running

Each subdirectory contains a network.yaml and simulation.yaml defining a keramik test that is designed to be run through the Github Action [run-performance](./.github/workflows/run-performance.yaml).

The test name is the directory name.

To run a test, go to the ["Run Performance" Github Action](https://github.com/3box/ceramic-tests/actions/workflows/run-performance.yaml) and use the directory name for the "Folder name containing the performance test yaml" input.

## Adding a new test

To add a new test, create a new directory with a network.yaml and simulation.yaml.

Ensure that the following setting are used to capture metrics.

```
spec:
monitoring:
namespaced: true
podMonitor:
enabled: true
```
2 changes: 0 additions & 2 deletions performance/ceramic-new-streams/network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ spec:
ceramic:
- env:
CERAMIC_RECON_MODE: "true"
image: ceramicnetwork/js-ceramic:latest
imagePullPolicy: Always
ipfs:
rust:
Expand All @@ -15,7 +14,6 @@ spec:
resourceLimits:
cpu: "6"
memory: 6Gi
image: public.ecr.aws/r5b3e0r5/3box/ceramic-one:latest
imagePullPolicy: Always
resourceLimits:
cpu: "4"
Expand Down

0 comments on commit a068217

Please sign in to comment.