keydb
by gabe565
A Multithreaded Fork of Redis
About this chart
KeyDB
A Multithreaded Fork of Redis
Homepage: https://charts.gabe565.com/charts/keydb/
This chart is not maintained by the upstream project and any issues with the chart should be raised here
Source Code
Requirements
Kubernetes: >=1.22.0-0
Dependencies
| Repository | Name | Version |
|---|---|---|
| https://bjw-s.github.io/helm-charts | common | 3.0.4 |
Installing the Chart
To install the chart with the release name keydb
OCI (Recommended)
helm install keydb oci://ghcr.io/gabe565/charts/keydb
Traditional
helm repo add gabe565 https://charts.gabe565.com
helm repo update
helm install keydb gabe565/keydb
Uninstalling the Chart
To uninstall the keydb deployment
helm uninstall keydb
The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.
Configuration
Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the bjw-s common library.
Specify each parameter using the --set key=value[,key=value] argument to helm install.
helm install keydb \
--set env.TZ="America/New York" \
gabe565/keydb
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
helm install keydb gabe565/keydb -f values.yaml
Custom configuration
Authentication
Authentication can be enabled by setting the KEYDB_PASSWORD environment variable.
Example:
controllers:
keydb:
containers:
app:
env:
KEYDB_PASSWORD: changeme
Values
Important: When deploying an application Helm chart you can add more values from the bjw-s common library chart here
| Key | Type | Default | Description |
|---|---|---|---|
| controllers.keydb.containers.app.env | object | See values.yaml | Environment variables. |
| controllers.keydb.containers.app.env.TZ | string | "UTC" | Set the container timezone |
| controllers.keydb.containers.app.image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| controllers.keydb.containers.app.image.repository | string | "eqalpha/keydb" | Image repository |
| controllers.keydb.containers.app.image.tag | string | "alpine_x86_64_v6.3.4" | Image tag |
| controllers.keydb.containers.app.securityContext | object | {"readOnlyRootFilesystem":true} | KeyDB container security context |
| controllers.keydb.pod | object | {"securityContext":{"fsGroup":999,"runAsNonRoot":true,"runAsUser":999}} | Pod security context |
| controllers.keydb.statefulset.volumeClaimTemplates | list | [] | Used to create individual disks for each instance. |
| controllers.keydb.type | string | "statefulset" | Controller type |
| persistence | object | See values.yaml | Configure persistence for the chart under this key. |
Autogenerated from chart metadata using helm-docs
Deploy keydb with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has keydb on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkeydb is pinned at v0.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply