8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
17 lines
282 B
YAML
17 lines
282 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: redis-master
|
|
labels:
|
|
app: redis
|
|
role: master
|
|
tier: backend
|
|
spec:
|
|
ports:
|
|
# the port that this service should serve on
|
|
- port: 6379
|
|
targetPort: 6379
|
|
selector:
|
|
app: redis
|
|
role: master
|
|
tier: backend
|