services.yml 697 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: easyfl-server-svc
  5. namespace: easyfl
  6. spec:
  7. type: NodePort
  8. selector:
  9. app: easyfl-server
  10. ports:
  11. - protocol: TCP
  12. port: 23501
  13. targetPort: 23501
  14. nodePort: 32501
  15. ---
  16. apiVersion: v1
  17. kind: Service
  18. metadata:
  19. name: easyfl-client-svc
  20. namespace: easyfl
  21. spec:
  22. clusterIP: None
  23. selector:
  24. app: easyfl-client
  25. ports:
  26. - protocol: TCP
  27. port: 23400
  28. targetPort: 23400
  29. ---
  30. apiVersion: v1
  31. kind: Service
  32. metadata:
  33. name: easyfl-tracker-svc
  34. namespace: easyfl
  35. spec:
  36. type: NodePort
  37. selector:
  38. app: easyfl-tracker
  39. ports:
  40. - protocol: TCP
  41. port: 12666
  42. targetPort: 12666
  43. nodePort: 32666