Bitnami Helm chart for ScyllaDB
100K+
ScyllaDB is an open-source, distributed NoSQL wide-column data store. Written in C++, it is designed for high throughput and low latency, compatible with Apache Cassandra.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/scylladb
Note: You need to substitute the placeholders
REGISTRY_NAMEandREPOSITORY_NAMEwith a reference to your Helm chart registry and repository.
This chart bootstraps an ScyllaDB deployment on a Kubernetes cluster using the Helm package manager.
To install the chart with the release name my-release:
helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/scylladb
Note: You need to substitute the placeholders
REGISTRY_NAMEandREPOSITORY_NAMEwith a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to useREGISTRY_NAME=registry-1.docker.ioandREPOSITORY_NAME=bitnamicharts.
These commands deploy one node with ScyllaDB on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
This section describes credentials, configuration, and other installation options.
Bitnami charts allow setting resource requests and limits for all containers inside the chart deployment. These are inside the resources value (check parameter table). Setting requests is essential for production workloads and these should be adapted to your specific use case.
To make this process easier, the chart contains the resourcesPreset values, which automatically sets the resources section according to different presets. Check these presets in the bitnami/common chart. However, in production workloads using resourcesPreset is discouraged as it may not fully adapt to your specific needs. Find more information on container resource management in the official Kubernetes documentation.
Bitnami charts configure credentials at first boot. Any further change in the secrets or credentials require manual intervention. Follow these instructions:
kubectl create secret generic SECRET_NAME --from-literal=scylladb-password=PASSWORD --dry-run -o yaml | kubectl apply -f -
This chart can be integrated with Prometheus by setting metrics.enabled to true. This will expose ScyllaDB native Prometheus in all pods and via the ScyllaDB service. This service will have the necessary annotations to be automatically scraped by Prometheus.
It is necessary to have a working installation of Prometheus or Prometheus Operator for the integration to work. Install the Bitnami Prometheus helm chart or the Bitnami Kube Prometheus helm chart to easily have a working Prometheus in your cluster.
The chart can deploy ServiceMonitor objects for integration with Prometheus Operator installations. To do so, set the value metrics.serviceMonitor.enabled=true. Ensure that the Prometheus Operator CustomResourceDefinitions are installed in the cluster or it will fail with the following error:
no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
Install the Bitnami Kube Prometheus helm chart for having the necessary CRDs and the Prometheus Operator.
It is strongly recommended to use immutable tags in a production environment. This ensures your deployment does not change automatically if the same tag is updated with a different image.
Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist.
This chart supports TLS between client and server and between nodes, as explained below:
tls.internodeEncryption chart parameter to a value different from none. Available values are all, dc or rack.tls.clientEncryption chart parameter to true.In both cases, it is also necessary to create a secret containing the certificate. This secret is to be passed to the chart via the tls.existingSecret parameter at deployment-time, as shown below:
tls.internodeEncryption=all
tls.clientEncryption=true
tls.existingSecret=my-existing-stores
You can manually create the required TLS certificates or relying on the chart auto-generation capabilities. The chart supports two different ways to auto-generate the required certificates:
tls.autoGenerated.enabled to true and tls.autoGenerated.engine to helm.tls.autoGenerated.enabled to true and tls.autoGenerated.engine to cert-manager. Please note it's supported to use an existing Issuer/ClusterIssuer for issuing the TLS certificates by setting the tls.autoGenerated.certManager.existingIssuer and tls.autoGenerated.certManager.existingIssuerKind parameters.The ScyllaDB image supports the use of custom scripts to initialize a fresh instance. This may be done by creating a Kubernetes ConfigMap that includes the necessary .sh or .cql scripts and passing this ConfigMap to the chart via the initDBConfigMap parameter.
This chart also supports mounting custom configuration file(s) for ScyllaDB. This is achieved by setting the existingConfiguration parameter with the name of a ConfigMap that includes the custom configuration file(s). Here is an example of deploying the chart with a custom configuration file stored in a ConfigMap named scylladb-configuration:
existingConfiguration=scylladb-configuration
NOTE: This ConfigMap will override other ScyllaDB configuration variables set in the chart.
This chart allows you to set custom pod affinity using the XXX.affinity parameter(s). Find more information about pod affinity in the Kubernetes documentation.
As an alternative, you can use the preset configurations for pod affinity, pod anti-affinity, and node affinity available at the bitnami/common chart. To do so, set the XXX.podAffinityPreset, XXX.podAntiAffinityPreset, or XXX.nodeAffinityPreset parameters.
To back up and restore Helm chart deployments on Kubernetes, you need to back up the persistent volumes from the source deployment and attach them to a new deployment using Velero, a Kubernetes backup/restore tool. Find the instructions for using Velero in this guide.
The FIPS parameters only have effect if you are using images from the Bitnami Secure Images catalog.
For more information on this new support, please refer to the FIPS Compliance section.
The Bitnami ScyllaDB image stores the ScyllaDB data at the /bitnami/scylladb path of the container.
Persistent Volume Claims are used to keep the data across deployments. This is known to work in GCE, AWS, and minikube. See the Parameters section to configure the PVC or to disable persistence.
If you encounter errors when working with persistent volumes, refer to our troubleshooting guide for persistent volumes.
As the image run as non-root by default, it is necessary to adjust the ownership of the persistent volume so that the container can write data into it. There are two approaches to achieve this:
podSecurityContext.enabled and containerSecurityContext.enabled to true. This option is enabled by default in the chart. However, this feature does not work in all Kubernetes distributions.volumePermissions.enabled parameter to true.The following subsections list global, common, and component-specific parameters.
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.defaultStorageClass | Global default StorageClass for Persistent Volume(s) | "" |
global.storageClass | DEPRECATED: use global.defaultStorageClass instead | "" |
global.defaultFips | Default value for the FIPS configuration (allowed values: '', restricted, relaxed, off). Can be overridden by the 'fips' object | restricted |
global.security.allowInsecureImages | Allows skipping image verification | false |
global.compatibility.openshift.adaptSecurityContext | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | auto |
| Name | Description | Value |
|---|---|---|
apiVersions | Override Kubernetes API versions reported by .Capabilities | [] |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
commonLabels | Labels to add to all deployed objects (sub-charts are not considered) | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
usePasswordFiles | Mount credentials as files instead of using environment variables | true |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
| Name | Description | Value |
|---|---|---|
image.registry | Scylladb image registry | REGISTRY_NAME |
image.repository | Scylladb image repository | REPOSITORY_NAME/scylladb |
image.digest | Scylladb image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | image pull policy | IfNotPresent |
image.pullSecrets | Scylladb image pull secrets | [] |
image.debug | Enable image debug mode | false |
dbUser.user | Scylladb admin user | cassandra |
dbUser.forcePassword | Force the user to provide a non | false |
dbUser.password | Password for dbUser.user. Randomly generated if empty | "" |
dbUser.existingSecret | Use an existing secret object for dbUser.user password (will ignore dbUser.password) | "" |
initDBConfigMap | ConfigMap with cql scripts. Useful for creating a keyspace and pre-populating data | "" |
initDBSecret | Secret with cql script (with sensitive data). Useful for creating a keyspace and pre-populating data | "" |
existingConfiguration | ConfigMap with custom scylla.yaml configuration file. This overrides any other Scylladb configuration set in the chart | "" |
cluster.name | Scylladb cluster name | scylladb |
cluster.seedCount | Number of seed nodes | 1 |
cluster.numTokens | Number of tokens for each node | 256 |
cluster.datacenter | Datacenter name | dc1 |
cluster.rack | Rack name | rack1 |
cluster.endpointSnitch | Endpoint Snitch | SimpleSnitch |
cluster.extraSeeds | For an external/second scylladb ring. | [] |
cluster.enableUDF | Enable User defined functions | false |
jvm.extraOpts | Set the value for Java Virtual Machine extra options | "" |
jvm.maxHeapSize | Set Java Virtual Machine maximum heap size (MAX_HEAP_SIZE). Calculated automatically if nil | "" |
jvm.newHeapSize | Set Java Virtual Machine new heap size (HEAP_NEWSIZE). Calculated automatically if nil | "" |
command | Command for running the container (set to default if not set). Use array form | [] |
args | Args for running the container (set to default if not set). Use array form | [] |
extraEnvVars | Extra environment variables to be set on scylladb container | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars | "" |
| Name | Description | Value |
|---|---|---|
replicaCount | Number of Scylladb replicas | 1 |
updateStrategy.type | updateStrategy for Scylladb statefulset | RollingUpdate |
automountServiceAccountToken | Mount Service Account token in pod | false |
hostAliases | Add deployment host aliases | [] |
podManagementPolicy | StatefulSet pod management policy | `O |
Note: the README for this chart is longer than the DockerHub length limit of 25000, so it has been trimmed. The full README can be found at https://techdocs.broadcom.com/us/en/vmware-tanzu/bitnami-secure-images/bitnami-secure-images/services/bsi-app-doc/apps-charts-scylladb-index.html
Content type
Image
Digest
sha256:48169fe7c…
Size
7.8 kB
Last updated
12 months ago
docker pull bitnamicharts/scylladb:sha256-73a39224541ff11987aa3201784d229e0e2ca51c0fec172abe87b27fbb60548dPulls:
1,558
Last week