b725bd09dd
TrivialFix Change-Id: Ifb8f19afa1514488bd288670d08b96f84982a4e1
24 lines
464 B
YAML
24 lines
464 B
YAML
apiVersion: v1beta3
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: redis-sentinel
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
redis-sentinel: "true"
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: redis-sentinel
|
|
redis-sentinel: "true"
|
|
role: sentinel
|
|
spec:
|
|
containers:
|
|
- name: sentinel
|
|
image: kubernetes/redis:v1
|
|
env:
|
|
- name: SENTINEL
|
|
value: "true"
|
|
ports:
|
|
- containerPort: 26379
|