Appearance
operator
shell
helm pull oci://registry-1.docker.io/bitnamicharts/redis-cluster --version 8.2.5 --untar
helm install redis-cluster ./redis-cluster -f redis-cluster.yaml --namespace redis-cluster --create-namespacecluster yaml
yaml
global:
redis:
password: "xhb123456"
security:
allowInsecureImages: true
image:
registry: 10.1.250.75
repository: k8s/redis-cluster
tag: "7.0.5"
pullPolicy: IfNotPresent
cluster:
nodes: 6
replicas: 1
podAntiAffinityPreset: soft
persistence:
enabled: true
storageClass: "local-path"
size: 10Gi
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
cpu: 1000m
memory: 8Gi
service:
type: NodePort
ports:
redis: 6379
nodePorts:
redis: 30379