mirror of
https://github.com/tencentmusic/cube-studio.git
synced 2025-01-24 14:04:01 +08:00
fix init example
This commit is contained in:
parent
226a5e3191
commit
5a587a5811
@ -5,7 +5,7 @@ echo "" > kubeconfig/dev-kubeconfig
|
||||
|
||||
curl -LO https://dl.k8s.io/release/v1.24.0/bin/linux/amd64/kubectl && chmod +x kubectl && mv kubectl /usr/bin/
|
||||
node=`kubectl get node -o wide |grep $1 |awk '{print $1}'| head -n 1`
|
||||
kubectl label node $node train=true cpu=true notebook=true service=true org=public istio=true knative=true kubeflow=true kubeflow-dashboard=true mysql=true redis=true monitoring=true logging=true --overwrite
|
||||
kubectl label node $node train=true cpu=true notebook=true service=true org=public istio=true kubeflow=true kubeflow-dashboard=true mysql=true redis=true monitoring=true logging=true --overwrite
|
||||
# 拉取镜像
|
||||
sh pull_image_kubeflow.sh
|
||||
|
||||
|
@ -57,8 +57,8 @@
|
||||
"--env":"YOLO_DATA_PATH=/mnt/admin/coco_data_sample/yolo/coco.data\nYOLO_CFG_PATH=/mnt/admin/coco_data_sample/yolo/yolov3.cfg\nYOLO_WEIGHTS_PATH=/mnt/admin/coco_data_sample/yolo/yolov3.weights",
|
||||
"--ports":"8080",
|
||||
"--replicas":"1",
|
||||
"--resource_memory": "2G",
|
||||
"--resource_cpu": "2",
|
||||
"--resource_memory": "5G",
|
||||
"--resource_cpu": "5",
|
||||
"--resource_gpu": "0"
|
||||
|
||||
}
|
||||
|
@ -44,7 +44,7 @@
|
||||
"image_name":"jaegertracing/all-in-one:1.29",
|
||||
"command":"",
|
||||
"env":"",
|
||||
"ports":"5775,16686"
|
||||
"ports":"16686,5775"
|
||||
},
|
||||
"label-studio": {
|
||||
"project_name":"public",
|
||||
|
@ -111,7 +111,8 @@ class Training_Model_ModelView_Base():
|
||||
"path": "模型文件",
|
||||
"framework":"算法框架",
|
||||
"api_type":"推理框架",
|
||||
"pipeline_id":"任务流id"
|
||||
"pipeline_id":"任务流id",
|
||||
"deploy": "发布"
|
||||
}
|
||||
|
||||
label_title = '模型'
|
||||
|
Loading…
Reference in New Issue
Block a user