CentOS-7(7.6.1810)版本
停用防火墙firewall
systemctl stop firewalld
systemctl disable firewalld
安装必要依赖
yum install -y socat
yum install -y conntrack
yum install -y openssl
(最好预先安装好docker)
export KKZONE=cn
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
chmod +x kk
./kk create cluster —with-kubernetes v1.18.6 (安装出错就 yum -y update)
./kk create cluster —with-kubesphere v3.0.0
官方文档:
https://kubesphere.io/zh/docs/quick-start/all-in-one-on-linux/#%E8%8A%82%E7%82%B9%E8%A6%81%E6%B1%82