fix init example

This commit is contained in:
pengluan 2022-08-03 13:44:40 +08:00
parent 226a5e3191
commit 5a587a5811
4 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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"
}

View File

@ -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",

View File

@ -111,7 +111,8 @@ class Training_Model_ModelView_Base():
"path": "模型文件",
"framework":"算法框架",
"api_type":"推理框架",
"pipeline_id":"任务流id"
"pipeline_id":"任务流id",
"deploy": "发布"
}
label_title = '模型'