You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

server-dubhe-serving-gateway.yaml 2.3 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. ##################################################################################################
  2. # dubhe-serving-gateway
  3. ##################################################################################################
  4. ---
  5. apiVersion: v1
  6. kind: Service
  7. metadata:
  8. name: dubhe-serving-gateway
  9. labels:
  10. app: dubhe-serving-gateway
  11. service: dubhe-serving-gateway
  12. spec:
  13. type: NodePort
  14. ports:
  15. - port: 8081
  16. name: http
  17. nodePort: 30848
  18. - port: 5005
  19. name: debug
  20. selector:
  21. app: dubhe-serving-gateway
  22. ---
  23. apiVersion: v1
  24. kind: ServiceAccount
  25. metadata:
  26. name: dubhe-serving-gateway
  27. labels:
  28. account: dubhe-serving-gateway
  29. ---
  30. apiVersion: apps/v1
  31. kind: Deployment
  32. metadata:
  33. name: dubhe-serving-gateway-v1
  34. labels:
  35. app: dubhe-serving-gateway
  36. version: v1
  37. spec:
  38. replicas: 1
  39. selector:
  40. matchLabels:
  41. app: dubhe-serving-gateway
  42. version: v1
  43. template:
  44. metadata:
  45. labels:
  46. app: dubhe-serving-gateway
  47. version: v1
  48. spec:
  49. serviceAccountName: dubhe-serving-gateway
  50. containers:
  51. - name: dubhe-serving-gateway
  52. image: harbor.test.com/dubhe/dubhe-spring-cloud-k8s:env-value
  53. imagePullPolicy: Always
  54. env:
  55. - name: JAR_BALL
  56. value: "dubhe-serving-gateway-0.0.1-SNAPSHOT-exec.jar --spring.profiles.active=env-value"
  57. - name: JVM_PARAM
  58. value: "-Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=containerLogPath/dubhe-serving-gateway-dump.hprof"
  59. ports:
  60. - containerPort: 8081
  61. - containerPort: 5505
  62. volumeMounts:
  63. - mountPath: "fsPath"
  64. name: "fs-volume"
  65. readOnly: false
  66. - mountPath: "containerLogPath"
  67. name: "log-volume"
  68. readOnly: false
  69. - name: "dockersock"
  70. mountPath: "/var/run/docker.sock"
  71. volumes:
  72. - name: "fs-volume"
  73. hostPath:
  74. path: "fsPath"
  75. type: "Directory"
  76. - name: "log-volume"
  77. hostPath:
  78. path: "hostLogPath"
  79. type: "DirectoryOrCreate"
  80. - name: "dockersock"
  81. hostPath:
  82. path: "/var/run/docker.sock"

一站式算法开发平台、高性能分布式深度学习框架、先进算法模型库、视觉模型炼知平台、数据可视化分析平台等一系列平台及工具,在模型高效分布式训练、数据处理和可视分析、模型炼知和轻量化等技术上形成独特优势,目前已在产学研等各领域近千家单位及个人提供AI应用赋能