redis-master-service.yaml 232 B

12345678910111213
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: redis-master
  5. labels:
  6. name: redis-master
  7. spec:
  8. ports:
  9. # the port that this service should serve on
  10. - port: 6379
  11. targetPort: 6379
  12. selector:
  13. name: redis-master