Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Commit a12f800

Browse files
committed
KeyDB 0.2.0
* Readme added * `appendonly` option added
1 parent 46fe581 commit a12f800

File tree

5 files changed

+51
-3
lines changed

5 files changed

+51
-3
lines changed

keydb/.helmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@
2121
.idea/
2222
*.tmproj
2323
.vscode/
24+
README.md

keydb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: keydb
33
description: A Helm chart for KeyDB multimaster setup
44
type: application
5-
version: 0.1.0
5+
version: 0.2.0
66
keywords:
77
- keydb
88
- redis

keydb/README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# KeyDB
2+
3+
[KeyDB](https://keydb.dev) clocks in at 5X faster than Redis (node vs node). KeyDB is a popular drop in Redis alternative that people flock to because it enables you to consolidate a lot of the complexities associated with Redis. KeyDB is multithreaded with the ability to use several storage mediums natively and scale vertically. The superior architecture is enabling KeyDB to become the bridge between cache layer and traditional databases offering performance and durability.
4+
5+
## TL;DR;
6+
7+
```bash
8+
helm repo add enapter https://enapter.github.io/charts/
9+
helm install enapter/keydb
10+
```
11+
12+
## Introduction
13+
14+
This chart bootstraps a [KeyDB](https://keydb.dev) highly available multi-master statefulset in a [Kubernetes](http://kubernetes.io) cluster using the Helm package manager.
15+
16+
## Prerequisites
17+
18+
- PV provisioner support in the underlying infrastructure if you want to enable persistence
19+
20+
## Installing the Chart
21+
22+
To install the chart
23+
24+
```bash
25+
helm repo add enapter https://enapter.github.io/charts/
26+
helm install enapter/keydb
27+
```
28+
29+
## Configuration
30+
31+
The following table lists the configurable parameters of the KeyDB chart and their default values.
32+
33+
| Parameter | Description | Default |
34+
|:-------------------------------|:------------------------------------------------|:------------------------------|
35+
| `image` | KeyDB docker image | `eqalpha/keydb:x86_64_v5.3.0` |
36+
| `imagePullPolicy` | K8s imagePullPolicy | `IfNotPresent` |
37+
| `nodes` | Number of KeyDB master pods | `3` |
38+
| `password` | If enabled KeyDB servers are password-protected | `""` |
39+
| `port` | KeyDB service port clients connect to | `6379` |
40+
| `threads` | KeyDB server-threads per node | `2` |
41+
| `appendonly` | KeyDB appendonly setting | `"no"` |
42+
| `persistentVolume.accessModes` | Volume access modes | `[ReadWriteOnce]` |
43+
| `persistentVolume.enabled` | Should PVC be created via volumeClaimTemplates | `false` |
44+
| `persistentVolume.size` | Size of the volume | `1Gi` |

keydb/templates/sts.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ spec:
5454
args:
5555
- /etc/keydb/redis.conf
5656
- --active-replica yes
57+
- --appendonly {{ .Values.appendonly }}
5758
- --bind 0.0.0.0
5859
- --multi-master yes
5960
- --port 6379

keydb/values.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ password: ""
1010

1111
port: 6379
1212

13+
threads: 2
14+
15+
appendonly: "no"
16+
1317
persistentVolume:
1418
enabled: false
1519
accessModes:
1620
- ReadWriteOnce
1721
size: 1Gi
18-
19-
threads: 2

0 commit comments

Comments
 (0)