Create redis-follower-service.yaml
parent
8390b45dd9
commit
e8b1ef9145
|
@ -0,0 +1,17 @@
|
|||
# SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: redis-follower
|
||||
labels:
|
||||
app: redis
|
||||
role: follower
|
||||
tier: backend
|
||||
spec:
|
||||
ports:
|
||||
# the port that this service should serve on
|
||||
- port: 6379
|
||||
selector:
|
||||
app: redis
|
||||
role: follower
|
||||
tier: backend
|
Loading…
Reference in New Issue