kompose/script/test/fixtures/controller/docker-compose.yml
Charlie Drage 2c3f2939d4
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>
2023-07-25 14:32:20 -04:00

25 lines
412 B
YAML

version: "2"
services:
redis-master:
image: registry.k8s.io/redis:e2e
ports:
- "6379"
redis-replica:
image: registry.k8s.io/redis-slave:v2
ports:
- "6379"
environment:
- GET_HOSTS_FROM=dns
frontend:
image: registry.k8s.io/guestbook:v3
ports:
- "80:80"
environment:
- GET_HOSTS_FROM=dns
labels:
kompose.service.type: LoadBalancer