service.yaml 323 B

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