diff --git a/performance/README.md b/performance/README.md new file mode 100644 index 0000000..326123b --- /dev/null +++ b/performance/README.md @@ -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 +``` diff --git a/performance/ceramic-new-streams/network.yaml b/performance/ceramic-new-streams/network.yaml index 0c24a3a..b137fcb 100644 --- a/performance/ceramic-new-streams/network.yaml +++ b/performance/ceramic-new-streams/network.yaml @@ -6,7 +6,6 @@ spec: ceramic: - env: CERAMIC_RECON_MODE: "true" - image: ceramicnetwork/js-ceramic:latest imagePullPolicy: Always ipfs: rust: @@ -15,7 +14,6 @@ spec: resourceLimits: cpu: "6" memory: 6Gi - image: public.ecr.aws/r5b3e0r5/3box/ceramic-one:latest imagePullPolicy: Always resourceLimits: cpu: "4"