try chatgpt provided chart for redis/keyDB
All checks were successful
Helm Charts / Detect changed charts (push) Successful in 24s
Helm Charts / Library charts tool (push) Has been skipped
Helm Charts / Application charts pgcat (push) Has been skipped

This commit is contained in:
2025-12-04 12:10:03 +01:00
parent 5e6c2acb21
commit 8c6fafec07
11 changed files with 279 additions and 81 deletions

View File

@@ -1,26 +1,59 @@
keydb: &keydb_config
image:
registry: docker.io
repository: eqalpha/keydb # Remplace l'image Redis par KeyDB
tag: latest
pullPolicy: IfNotPresent
global:
defaultStorageClass: local-path
security:
allowInsecureImages: true
architecture: replication
auth:
password: redisarcodange
master:
resourcesPreset: &resources small
replica:
activeReplica: true
resourcesPreset: *resources
# -----------------------------------------------------------------------------
# values.yaml
# -----------------------------------------------------------------------------
# Default values - adjust to your environment
replicaCount: 2
tool:
# kind: 'SubChart' or 'HelmChart', if subchart then uncomment Chart.yaml dependency, else comment and use tool library with helm chart template
kind: 'SubChart'
repo: https://charts.bitnami.com/bitnami
chart: keydb
version: 0.5.22
values: *keydb_config
image:
repository: eqalpha/keydb
tag: latest
pullPolicy: IfNotPresent
service:
port: 6379
headless: true
auth:
enabled: true
password: "redisarcodange"
keydb:
serverThreads: 4
maxmemory: "70%"
maxmemoryPolicy: "allkeys-lru"
appendonly: "no"
persistence:
enabled: true
accessModes:
- ReadWriteOnce
size: 1Gi
storageClass: "local-storage" # set to your storageClass: longhorn, local-path, etc.
resources:
requests:
cpu: "300m"
memory: "512Mi"
limits:
cpu: "1200m"
memory: "1Gi"
nodeAffinity: {}
podAntiAffinity:
enabled: true
securityContext:
enabled: false
livenessProbe:
enabled: true
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
readinessProbe:
enabled: true
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 2