Skip to content

Configure storage

Postgres holds the index. The bundle store holds the data of record. Back up both, and protect the bundles first.

  • A storage class or an S3-compatible bucket.
storage:
backend: file
file:
dataDir: /var/lib/servtuner
pvc: { create: true, storageClass: your-rwx-class, accessMode: ReadWriteMany, size: 50Gi }

Use ReadWriteMany to let Jobs run on any node. With ReadWriteOnce, the chart pins Jobs to the API’s node and records it in runs.

One claim cannot span namespaces. For a separate runs namespace, provide existingClaim with the same name in both, on the same ReadWriteMany storage.

Role Object actions Bucket action
bench s3:PutObject, s3:AbortMultipartUpload, s3:GetObject s3:ListBucket
API s3:GetObject s3:ListBucket

Scope them to the bucket and prefix. Add kms:GenerateDataKey and kms:Decrypt for an encrypted bucket, and pricing:GetProducts to bench for AWS prices. With Pod Identity, associate servtuner-api in the release namespace and servtuner-bench in the runs namespace.

The chart does not deploy an object store.

Finish a run, open Files, and download manifest.json.

Understand run bundles.