Commit 7bcfaeb8 by tingweiwang

Update deploy-gpu-k8s.sh ,gou节点也需要打cpu=true,避免单节点gpu运行不了cpu任务的问题

1 parent dd12d21e
Showing with 1 additions and 1 deletions
......@@ -450,7 +450,7 @@ echo "隸キ謇句勘蝨ィmaster闃らせ 隶セ鄂ョ蜻ス莉、閾ェ蜉ィ陦・蜈ィ悟多莉、蝨ィ閼壽悽譛蜷惹
#source <(kubectl completion bash) && echo "source <(kubectl completion bash)" >> ~/.bashrc"
##############################################################################
echo "为gpu节点打标签"
kubectl label node $host_name autodl=true kpl=true gpu=true user_job_node=true internal_service_node=true
kubectl label node $host_name autodl=true kpl=true gpu=true cpu=true user_job_node=true internal_service_node=true
echo "###################创建pv pvc#############"
echo "########################修改pv模板#######################" && sleep 3
sed -i s@NFS_PATH@$NFS_PATH@g /root/k8s/autodl_kpl_base/autodl-nfs/4-pv_pvc.yaml
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!