ceph-csi/vendor/k8s.io/kubernetes/examples/guestbook/redis-slave-service.yaml

16 lines
209 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: Service
metadata:
name: redis-slave
labels:
app: redis
role: slave
tier: backend
spec:
ports:
- port: 6379
selector:
app: redis
role: slave
tier: backend