美文网首页
k8s集群安装Kubersphere

k8s集群安装Kubersphere

作者: pingwazi | 来源:发表于2022-01-03 10:51 被阅读0次

    效果图

    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

          本文链接:https://www.haomeiwen.com/subject/lpxuqrtx.html