[Deprecated] Configure a custom values file for ScalarDB Server
ScalarDB Server is now deprecated. Please use ScalarDB Cluster instead.
This document explains how to create your custom values file for the ScalarDB Server chart. If you want to know the details of the parameters, please refer to the README of the ScalarDB Server chart.
Required configurations
Scalar Envoy configurations
You must set the Scalar Envoy configurations in the custom values file for ScalarDB Server. This is because client requests are sent to ScalarDB Server via Scalar Envoy as the load balancer of gRPC requests if you deploy ScalarDB Server on a Kubernetes environment.
Please refer to the document Configure a custom values file for Scalar Envoy for more details on the Scalar Envoy configurations.
envoy:
configurationsForScalarEnvoy:
...
scalardb:
configurationsForScalarDB:
...
Image configurations
You must set scalardb.image.repository
. Be sure to specify the ScalarDB Server container image so that you can pull the image from the container repository.
scalardb:
image:
repository: <SCALARDB_SERVER_CONTAINER_IMAGE>
If you're using AWS or Azure, please refer to the following documents for more details:
- How to install Scalar products through AWS Marketplace
- How to install Scalar products through Azure Marketplace
Database configurations
You must set scalardb.databaseProperties
. Please set your database.properties
to this parameter. Please refer to the Configure ScalarDB Server for more details on the configuration of ScalarDB Server.
scalardb:
databaseProperties: |
scalar.db.server.port=60051
scalar.db.server.prometheus_exporter_port=8080
scalar.db.server.grpc.max_inbound_message_size=
scalar.db.server.grpc.max_inbound_metadata_size=
scalar.db.contact_points=localhost
scalar.db.username=cassandra
scalar.db.password=cassandra
scalar.db.storage=cassandra
scalar.db.transaction_manager=consensus-commit
scalar.db.consensus_commit.isolation_level=SNAPSHOT
scalar.db.consensus_commit.serializable_strategy=
scalar.db.consensus_commit.include_metadata.enabled=false