Kubekey安装Kubesphere
source link: http://www.chenshake.com/kubekey-installed-in-kubesphere/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
其实这是在我定制的镜像里进行,安装过程是非常快速的,我对CentOS 7.6 镜像的定制
- 安装docker ,并且配置docker使用阿里云代理
- kubesphere要求的包
- 升级内核到5.4版本,cilium 有内核版本的要求
基本参考下面的过程就可以轻松搞定
export KKZONE=cn
wget https://kubernetes.pek3b.qingstor.com/kubekey/releases/download/v1.1.0/kubekey-v1.1.0-linux-amd64.tar.gz
tar zxvf kubekey-v1.1.0-linux-amd64.tar.gz
chmod +x kk
#### all in one
./kk create cluster --with-kubernetes v1.20.4 --with-kubesphere v3.1.0 -y
###多节点或者定制默认设置,例如修改网络插件 cilium
./kk create config --with-kubernetes v1.20.4
#修改配置config-sample.yaml,
./kk init os -f config-sample.yaml
./kk create cluster -f config-sample.yaml --with-kubesphere v3.1.0 -y
如果要删除群集,重新部署一遍,也简单。
./kk delete cluster -f config-sample.yaml
Posted by 陈沙克 at 10:52 AM
Leave a Reply Cancel reply
Your Comment
Name (required)
E-mail (required)
Website
Save my name, email, and website in this browser for the next time I comment.
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK