gorush/k8s/gorush-redis-service.yaml

18 lines
246 B
YAML
Raw Normal View History

2017-06-07 14:11:05 +00:00
apiVersion: v1
kind: Service
metadata:
name: redis
namespace: gorush
2017-06-07 14:11:05 +00:00
labels:
app: redis
role: master
tier: backend
spec:
ports:
- port: 6379
targetPort: 6379
selector:
app: redis
role: master
tier: backend