Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
k8s
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c931447e
authored
Dec 29, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix curl not found and not found fi
1 parent
18f9c3a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
script/k8s/deploy-gpu-k8s.sh
script/k8s/deploy-gpu-k8s.sh
View file @
c931447
...
...
@@ -41,7 +41,7 @@ NFS_3_PATH=/opt/registry/
# sed -i /PermitRootLogin/s/prohibit-password/yes/g /etc/ssh/sshd_config && service sshd restart
echo
"开始安装ansbile"
apt update --allow-insecure-repositories
apt install unzip conntrack nfs-common sshpass ansible -y --allow-unauthenticated
apt install unzip conntrack nfs-common sshpass
curl
ansible -y --allow-unauthenticated
echo
"拷贝ansible-hosts文件"
cp -a /root/k8s/config/ansible-hosts /etc/ansible/hosts
echo
"渲染修改ansible hosts"
...
...
@@ -459,6 +459,7 @@ else
echo
"不存在/root/images.tar.gz,退出脚本"
exit
466
fi
################################安装coredns以及nvidia-kubernetes插件##########
sed -i s/harbor_host/
$harbor_host
/g /root/k8s/config/coredns.yaml
kubectl create -f /root/k8s/config/coredns.yaml
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment