搭建kubesphere平臺———一把辛酸淚

官方文檔坑太多,非要放在github上,很不穩定

 

安裝虛擬機配置要大 2核4g  100g

 

大體跟着文檔走

https://kubesphere.io/zh/docs/quick-start/all-in-one-on-linux/

 

1.下載 kubekey,下載不了用這個,並且解壓

鏈接:https://pan.baidu.com/s/1frwduGtJnkv6CfDPtXRTMw
提取碼:s1zg

 

2.

chmod +x kk

export KKZONE=cn

yum install conntrack-tools

3.安裝前要關閉selinux

否則報錯:ERRO[15:49:04 CST] Failed to get etcdctl: Failed to exec command: sudo -E /bin/sh -c "docker run --rm -v /usr/local/bin:/systembindir kubesphere/etcd:v3.3.12 /bin/cp /usr/local/bin/etcdctl /systembindir/etcdctl"
cp: can't create '/systembindir/etcdctl': Permission denied: Process exited with status 1

4.

1.使用vim /etc/sysconfig/selinux。 2.將SELINUX=enforcing改爲SELINUX=disabled。 3.修改完成後,重啓計算機 reboot 或 init 6。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章