forked from LaconicNetwork/kompose
#### 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>
26 lines
413 B
YAML
26 lines
413 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
|