Create redis-leader-service.yaml
parent
0640775672
commit
9ca9a7fcc5
|
@ -0,0 +1,17 @@
|
|||
# SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: redis-leader
|
||||
labels:
|
||||
app: redis
|
||||
role: leader
|
||||
tier: backend
|
||||
spec:
|
||||
ports:
|
||||
- port: 6379
|
||||
targetPort: 6379
|
||||
selector:
|
||||
app: redis
|
||||
role: leader
|
||||
tier: backend
|
Loading…
Reference in New Issue