fix redis-ha NOTE.txt, stable/redis-ha don't create master-0 pod (#6131)

This commit is contained in:
Tachibana waita
2018-07-15 08:26:55 -07:00
committed by k8s-ci-robot
parent c636df8f6f
commit aedcdbb371
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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: