k8s集群安装Kubersphere

效果图

image.png

资源要求

官方文档

image.png

配置k8s集群的DefaultStorageClass请参考我的另一篇文章

# 执行以下命令安装
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.1/kubesphere-installer.yaml
   
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.1/cluster-configuration.yaml

# 执行以下命令检查安装日志 过程稍微有点长 最后出现文章开头的内容就说明安装成功
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f

# 在浏览器中出入日志中提示的访问地址即可

你可能感兴趣的:(k8s集群安装Kubersphere)