redis-ha helm

Error: INSTALLATION FAILED: failed to parse values.yaml: error converting YAML to JSON: yaml: line 323: mapping values are not allowed in this context
[root@liebe redis-ha]# helm install redis-cluster stable/redis-ha -n default -f values.yaml
WARNING: This chart is deprecated
Error: INSTALLATION FAILED: template: redis-ha/templates/redis-auth-secret.yaml:11:52: executing "redis-ha/templates/redis-auth-secret.yaml" at : wrong type for value; expected string; got float64
[root@liebe redis-ha]# helm install redis-cluster stable/redis-ha -n default -f values.yaml
WARNING: This chart is deprecated
NAME: redis-cluster
LAST DEPLOYED: Sat Jun 10 22:20:03 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
Redis can be accessed via port 6379 and Sentinel can be accessed via port 26379 on the following DNS name from within your cluster:
redis-cluster-redis-ha.default.svc.cluster.local

To connect to your Redis server:
1. To retrieve the redis password:
   echo $(kubectl get secret redis-cluster-redis-ha -o "jsonpath={.data['auth']}" | base64 --decode)

2. Connect to the Redis master pod that you can use as a client. By default the redis-cluster-redis-ha-server-0 pod is configured as the master:

   kubectl exec -it redis-cluster-redis-ha-server-0 sh -n default

3. Connect using the Redis CLI (inside container):

   redis-cli -a
[root@liebe redis-ha]# 
 

你可能感兴趣的:(redis,java,数据库)