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-notebook.yaml 2.1 kB

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

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