Circuit Storage

As this service is tasked with reading/writing from an s3-compatible storage it will require access and secret keys to be available. It will also require a database to hold metadata.

Database Connection ad sizing

configMap.springDatasourceUrl variable holds the jdbc-formatted string to allow Circuit Storage to connect to its own database. The Instance needs a dedicated schema to be available (default circuit-storage):

configMap:
  springDatasourceUrl: jdbc:postgresql://<hostname>:5432/<dbName>
# -- Suggested sizing
resources:
  ## -- Limits
  limits:
   cpu: 1500m
   memory: 2500Mi
  ## -- Requests
  requests:
   cpu: 100m
   memory: 800Mi

Bucket Connection

To correctly set up the bucket connection the name of the bucket is required, as well as an (optional) region and a bucket endpoint, which may vary depending on the s3-compatible backend that will provide the bucket service:

configMap:
  # -- Bucket Name
  cloudAwsS3BucketName: circuit-storage
  # -- Only needed if pointing to AWS
  cloudAwsRegionStatic: eu-central-1
  # -- Bucket Endopoint
  cloudAwsS3EndpointUrl: https://s3.amazonaws.com

Finally, to correctly setup this service the cluster’s internal endpoint is required to allow Circuit Storage to connect to Node Persistence. Providing the default values is usually enough, unless each service is deployed in its own dedicated namespace:

configMap:
  # -- Node Persistence URI
  apiNodePersistenceBasePath: http://node-persistence/

Last updated

Was this helpful?