Fix ups.
This commit is contained in:
parent
4e3721594c
commit
36f0aa615b
@ -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
8
14-8-sentinel.sh
Normal 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
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user