KubeSphere 愿景是打造一个以 Kubernetes 为内核的云原生分布式操作系统,它的架构可以非常方便地使第三方应用与云原生生态组件进行即插即用(plug-and-play)的集成,支持云原生应用在多云与多集群的统一分发和运维管理。
官网文档地址

查看防火墙firewall的状态

firewall-cmd --state

停用防火墙firewall

systemctl stop firewalld.service

虚拟机上以 All-in-One 模式安装 KubeSphere_第三方应用
我的虚拟机配置
虚拟机上以 All-in-One 模式安装 KubeSphere_可执行_02
建议待安装kubesphere的Linux系统处于干净状态(不安装任何其他软件),否则可能会发生冲突。

查看Linux正在运行的内核版本

cat /proc/version

查看Linux系统相关信息

uname -a

安装Kubernetes 依赖项

yum install socat
yum install conntrack
yum install ebtables
yum install ipset

执行以下命令以确保您从正确的区域下载 KubeKey

export KKZONE=cn

执行以下命令下载 KubeKey

curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -

为 kk 添加可执行权限

chmod +x kk

执行如下一个命令即可进行安装

./kk create cluster --with-kubernetes v1.18.6 --with-kubesphere v3.0.0

虚拟机上以 All-in-One 模式安装 KubeSphere_第三方应用_03
使用上图中的指令,检查安装的结果

kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f

虚拟机上以 All-in-One 模式安装 KubeSphere_linux系统_04
虚拟机上以 All-in-One 模式安装 KubeSphere_第三方应用_05