mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
fix redis-ha NOTE.txt, stable/redis-ha don't create master-0 pod (#6131)
This commit is contained in:
committed by
k8s-ci-robot
parent
c636df8f6f
commit
aedcdbb371
@@ -5,7 +5,7 @@ keywords:
|
||||
- redis
|
||||
- keyvalue
|
||||
- database
|
||||
version: 2.2.0
|
||||
version: 2.2.1
|
||||
appVersion: 4.0.8-r0
|
||||
description: Highly available Redis cluster with multiple sentinels and standbys.
|
||||
icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png
|
||||
|
||||
@@ -18,7 +18,7 @@ To connect to your Redis server:
|
||||
{{- else }}
|
||||
1. Run a Redis pod that you can use as a client:
|
||||
|
||||
kubectl exec -it {{ template "redis-ha.fullname" . }}-master-0 bash
|
||||
kubectl exec -it $(kubectl get pod -o jsonpath='{range .items[*]}{.metadata.name} {.status.containerStatuses[0].state}{"\n"}{end}' -l redis-role=master | grep running | awk '{print $1}') bash
|
||||
|
||||
2. Connect using the Redis CLI:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user