This commit is contained in:
Brendan Burns 2017-08-19 22:14:23 -07:00
parent 4e3721594c
commit 36f0aa615b
2 changed files with 8 additions and 16 deletions

View File

@ -1,16 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: work-queue
component: queue
chapter: jobs
name: queue
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
app: work-queue
component: queue

8
14-8-sentinel.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
while ! ping -c 1 redis-0.redis; do
echo 'Waiting for server'
sleep 1
done
redis-sentinel /redis-config/sentinel.conf