Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用kubeasz部署安装k8s集群后,make install 别的包报错 #1248

Closed
RuifMaxx opened this issue Mar 22, 2023 · 6 comments
Closed

使用kubeasz部署安装k8s集群后,make install 别的包报错 #1248

RuifMaxx opened this issue Mar 22, 2023 · 6 comments

Comments

@RuifMaxx
Copy link

期望的结果

ZC9RK$GR`A5BO@8I~%S%A2Y

用kubeasz部署集群后make install的结果

G6R0LMXA8DTG 0 U(Q0YD)F

@RuifMaxx
Copy link
Author

如何复现

在ubuntu 20.04部署集群后

sudo apt-get install libblas3 libblas-dev liblapack3 liblapack-dev gfortran
tar -xf coinhsl-archive-2022.12.02.tar.gz
wget https://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.7.zip 
unzip Ipopt-3.12.7.zip 
rm Ipopt-3.12.7.zip
cd <path>/Ipopt-3.12.7/ThirdParty/HSL
ln -s <path>/coinhsl-archive-2022.12.02/ coinhsl
./configure --enable-loadable-library
make install

其中 coinhsl-archive-2022.12.02.tar.gz 包可以在这里下载免费版本 https://licences.stfc.ac.uk/product/coin-hsl-archive

@RuifMaxx
Copy link
Author

k8s版本

image

@RuifMaxx
Copy link
Author

https://zhuanlan.zhihu.com/p/616520264
暂时先这样处理了,但问题没解决

@gjmzj
Copy link
Collaborator

gjmzj commented Mar 30, 2023

kubeasz安装之后只是增加如下一条,把/opt/kube/bin 加入的$PATH 路径,可以在/root/.bashrc 文件中查看

export PATH=/opt/kube/bin:$PATH

至于/opt/kube/bin/install 这个只是安装calico网络插件时加入的;如果该文件与/usr/bin/install 冲突,可以临时重命名或删除/opt/kube/bin/install

@gjmzj
Copy link
Collaborator

gjmzj commented Mar 30, 2023

等下个版本,我会修复这个问题,把cni的目录独立到 (/opt/cni/bin)

@RuifMaxx
Copy link
Author

好的感谢,确实用临时重命名能够解决,不过有点麻烦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants