try chatgpt provided chart for redis/keyDB
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user