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-admin.yaml 1.9 kB

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

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