update redis wording to replica (#1680)

#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
-->

We should be using replica to indicate a new node of redis.

Unfortunatley gcr still hasn't pushed another image, so we will still
have to use registry.k8s.io/redis-slave:v2

#### What this PR does / why we need it:

N/A

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #

N/A

#### Special notes for your reviewer:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
Charlie Drage
2023-07-25 14:32:20 -04:00
committed by GitHub
parent 554a0ea31e
commit 2c3f2939d4
16 changed files with 116 additions and 115 deletions
+4 -4
View File
@@ -3,19 +3,19 @@ version: "3"
services:
redis-master:
image: registry.k8s.io/redis:e2e
image: registry.k8s.io/redis:e2e
ports:
- "6379"
redis-slave:
image: gcr.io/google_samples/gb-redisslave:v1
redis-replica:
image: registry.k8s.io/redis-slave:v2
ports:
- "6379"
environment:
- GET_HOSTS_FROM=dns
frontend:
image: gcr.io/google-samples/gb-frontend:v4
image: registry.k8s.io/guestbook:v3
ports:
- "80:80"
environment:
+4 -3
View File
@@ -7,15 +7,16 @@ services:
ports:
- "6379"
redis-slave:
image: gcr.io/google_samples/gb-redisslave:v1
redis-replica:
image: registry.k8s.io/redis-slave:v2
ports:
- "6379"
environment:
- GET_HOSTS_FROM=dns
frontend:
image: gcr.io/google-samples/gb-frontend:v4
image: registry.k8s.io/guestbook:v3
ports:
- "80:80"
environment: