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 <b64enc>: 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 <REDIS-PASS-FROM-SECRET>
[root@liebe redis-ha]# 
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值