Redis on Kubernetes (LV.2)
Redis Sentinel
ในกรณีนี้เราใช้ Helm Bitnami ในการติดตั้ง
value file ชื่อ redis-sentinel.values.yaml
โดยมี content ดังนี้
image:
registry: mirror.gcr.io
architecture: replication
sentinel:
enabled: true
auth:
sentinel: false
replica:
disableCommands: []
resources:
requests:
memory: 1Gi
cpu: 100m
limits:
memory: 1Gi
persistence:
enabled: false
ติดตั้งด้วยคำสั่งดังนี้
helm upgrade --install redis oci://registry-1.docker.io/bitnamicharts/redis -n harbor -f redis-sentinel.values.yaml
Last updated
Was this helpful?