chore(storage): remove storage volume parameter overrides #130
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Depends on #127
Based on #127
See cryostatio/cryostat-storage#14
Remove SeaweedFS volume tuning parameter overrides.
To test:
This installs the Helm chart with an openshift-oauth-proxy (not actually required for this change to work, but it's how I tested it) and with a storage container built from cryostatio/cryostat-storage#14 . It requests a 2Gi PVC, but depending on the cluster the actual provisioned storage may be larger.
I then opened the web UI, defined a
localhost:0
custom target for Cryostat to be able to monitor itself, and manually started a continuous flight recording with theALL
meta-template.Then I ran the following:
So every 10 seconds, the script will fire a
curl
to ask Cryostat to archive that recording. Then I opened the Archives > All Archives view in the web UI, and from my OpenShift cluster's console I opened the Storage > PersistentVolumeClaims view and ensured that as new archived recordings were created that the PVC utilization increased by roughly the same amount (a little more to account for associated metadata). I also usedoc exec -it cryostat-pod -c cryostat-storage /bin/bash
to inspect the contents of the PVC directly withdf -h
andls -l /data
.