使用KubeKey安装kubesphere 3.0.0

2020-09-23  本文已影响0人  求索

kubesphere3独立安装

使用独立linux电脑 安装 kubesphere 3.0.0体验产品

准备电脑

socat 安装

一个多功能的网络工具,名字来源于SOcket CAT,是netcat的增强版,也就是netcat++(扩展了设计,并有新的实现)
```
yum install socat -y
```

conntrack 安装

```
yum install conntrack -y
```

安装KubeKey

  1. 下载安装文件
    wget -c https://kubesphere.io/download/kubekey-v1.0.0-linux-amd64.tar.gz -O - | tar -xz
    
  2. 设置安装文件权限
    chmod +x kk
    

安装最小kubesphere

  1. 执行命令
    ./kk create cluster --with-kubernetes v1.17.9 --with-kubesphere v3.0.0
    
  2. 等待很久看结果
    INFO[23:51:12 CST] Downloading kubecni ...                      
    INFO[23:51:56 CST] Downloading helm ...                         
    INFO[23:52:33 CST] Configurating operating system ...           
    [kubesphere 192.168.31.151] MSG:
    net.ipv4.ip_forward = 1
    net.bridge.bridge-nf-call-arptables = 1
    net.bridge.bridge-nf-call-ip6tables = 1
    net.bridge.bridge-nf-call-iptables = 1
    net.ipv4.ip_local_reserved_ports = 30000-32767
    INFO[23:52:35 CST] Installing docker ...                        
    INFO[23:53:22 CST] Start to download images on all nodes        
    Downloading image: kubesphere/etcd:v3.3.12
    
    
上一篇 下一篇

猜你喜欢

热点阅读