user-service.yaml 229 B

1234567891011121314
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: user-service-http
  5. spec:
  6. selector:
  7. name: user-service
  8. type: NodePort
  9. ports:
  10. - protocol: TCP
  11. port: 10086
  12. targetPort: 10086
  13. nodePort: 30036
  14. name: user-service-tcp