service.yaml 327 B

1234567891011121314151617181920
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: i2-pusher-backend
  5. namespace: i2
  6. spec:
  7. type: NodePort
  8. selector:
  9. app: i2-pusher-backend
  10. ports:
  11. - port: 8080
  12. name: api
  13. nodePort: 31100
  14. protocol: TCP
  15. targetPort: 8080
  16. - port: 389
  17. name: ldap
  18. nodePort: 31102
  19. protocol: TCP
  20. targetPort: 389