我觉得这个安装不管是最小化也好,还是完全安装也好,应该是有很多人遇到过安装的问题了,只不过他们没有在论坛里发帖子说明吧
毕竟k8s没有任何web界面也能玩转,但是这个安装这一关是实在搞不定

    chrinly
    你这还是最小化安装,少了很多东西,如果像我完全安装的话问题估计会更多,尤其是istio那一块,应该会有大量pod有问题
    目前我都安装不上

      pptfz 有没有因为安装失败不出声就放弃的用户我不清楚,不过确确实实安装这个部分是一个需要改进的地方,而且正在改。但是凡是遇到安装问题且跟我们联系的据我所知最后都安装成功了。你要仔细看安装文档,我们的文档是写得很谨慎的,不能漏掉东西。

      pptfz 你首先要确认最小安装成功过吗?如果这个都没成功那要仔细找问题,实在不知道怎么回事写信到kubesphere@yunify.com,写明你的远程登录环境信息,让我们的人上去帮你看看到底怎么回事。

        pptfz 你可以从最小化安装开始试用,一般最小化安装成功后,后面再启用组件会相对简单些。如果还是遇到这些问题,可以提供下你的环境登录方式,我们帮你看下

        rayzhou2017
        现在是一次都没有安装成功过,昨天是能登陆了,但是有一些pod还是有问题,今天重新做,最小化安装失败
        我是个人虚拟机操作的

        意思是没法远程登录吗?你是在你个人电脑上通过virtualbox之类的创建的虚机吗?写清楚你的环境,以及你的操作,失败是什么日志?

          rayzhou2017
          mac本pd创建的虚拟机,一个master(2c4g 64g硬盘),两个node(2c6g 32g硬盘)
          centos7.7,内核3.10,helm2.16.3,docker18.09.9,kubeadm安装k8s1.16.9,helm及docker都已配置阿里云加速
          存储nfs,安装在了node1节点,参考文章 https://blog.csdn.net/weixin_37546425/article/details/104290906

          最小化安装,kubectl apply -f https://raw.githubusercontent.com/kubesphere/ks-installer/master/kubesphere-minimal.yaml

          kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath=‘{.items[0].metadata.name}’) -f 刷新日志过程中有一处报错

          昨天做的时候遇到过这个报错,然后我把kubectl链接到了/usr/local/bin下,但是也不行,kubeadm安装的k8s,kubectl是在/usr/bin下

          登陆后报错如下

          master上查看pod,有问题的pod如下

            pptfz 你别到处贴问题,就在这个thread,不然搞得不知道回复你哪个贴。@Cauchy 帮忙看看怎么回事。

              pptfz nfs是自己搭的吗?如果是的话exportfs里建议这样配 *(rw,insecure,sync,no_subtree_check,no_root_squash),而且要保证nfs设置成default storage class哦

                rayzhou2017
                现在已经解决了,在这里向各位说一声对不起啊,个人菜鸡的原因,使用nfs存储忘记在客户端安装nfs-utils了,非常抱歉!!!也感谢各位给予的帮助!!!

                  pptfz 嗯,失败乃成功之母,不管怎么样,装上就好,enjoy 并且有什么建议或问题希望能告诉我们。

                  Cauchy
                  已经解决了,原因是使用nfs存储忘记在客户端安装nfs-utils了,哎 菜鸡一只啊

                  chrinly 我很好奇openebs到底出什么问题了?这个是测过很多次的,是openebs的镜像没有拉下来?

                    rayzhou2017 具体什么问题我也不知道。我是三主一从二进制安装的高可用k8s,直接最小化安装。你有条件的话模拟一下,排查一下是什么问题

                    rayzhou2017

                    [root@k8s-master-01 ~]# kubectl get pod --all-namespaces
                    NAMESPACE                      NAME                                                   READY   STATUS      RESTARTS   AGE
                    default                        nfs-client-provisioner-795cfb955-xdpk2                 1/1     Running     0          28h
                    demo-project                   coffee-svc-xjs05a-59b8b7fbd5-5ncrl                     1/1     Running     0          3h26m
                    demo-project                   tea-svc-s7sp65-7f7987d796-kg85s                        1/1     Running     0          3h41m
                    demo-project                   tomcat-z2s2fu-596c98c8d8-jpvlv                         1/1     Running     0          3h17m
                    kube-system                    coredns-5c6c9cf6c8-j59r7                               1/1     Running     0          44h
                    kube-system                    coredns-5c6c9cf6c8-trmlh                               1/1     Running     0          44h
                    kube-system                    heapster-778c6b467-662pd                               1/1     Running     0          27h
                    kube-system                    kubernetes-dashboard-8f846679-sqj2z                    1/1     Running     0          44h
                    kube-system                    metrics-server-65ffd78c7f-vxngg                        1/1     Running     0          26h
                    kube-system                    tiller-deploy-6787c946f8-gw4wk                         1/1     Running     0          28h
                    kubesphere-controls-system     default-http-backend-6555ff6898-d2lh6                  1/1     Running     0          28h
                    kubesphere-controls-system     kubectl-admin-74fdfc47c7-dzdkj                         1/1     Running     0          27h
                    kubesphere-controls-system     kubesphere-router-demo-project-76cf544c5-dkmbc         1/1     Running     0          3h56m
                    kubesphere-monitoring-system   kube-state-metrics-7984bf6d6d-c5h5j                    4/4     Running     0          27h
                    kubesphere-monitoring-system   node-exporter-cq79j                                    2/2     Running     0          27h
                    kubesphere-monitoring-system   node-exporter-lsx9j                                    2/2     Running     0          27h
                    kubesphere-monitoring-system   node-exporter-rps8b                                    2/2     Running     0          27h
                    kubesphere-monitoring-system   node-exporter-zvjkq                                    2/2     Running     0          27h
                    kubesphere-monitoring-system   prometheus-k8s-0                                       3/3     Running     1          27h
                    kubesphere-monitoring-system   prometheus-k8s-system-0                                3/3     Running     1          27h
                    kubesphere-monitoring-system   prometheus-operator-545df648fb-9p4zd                   1/1     Running     0          27h
                    kubesphere-system              etcd-b7959ccd7-9pt4g                                   1/1     Running     0          35m
                    kubesphere-system              ks-account-fb4599477-8hxk8                             1/1     Running     0          32m
                    kubesphere-system              ks-account-fb4599477-nm489                             1/1     Running     0          31m
                    kubesphere-system              ks-account-fb4599477-wz5mc                             1/1     Running     0          30m
                    kubesphere-system              ks-apigateway-845bddf4f8-bl867                         1/1     Running     0          32m
                    kubesphere-system              ks-apigateway-845bddf4f8-pchpw                         1/1     Running     0          31m
                    kubesphere-system              ks-apigateway-845bddf4f8-sh8z2                         1/1     Running     0          32m
                    kubesphere-system              ks-apiserver-cdd8f86f7-6zp2q                           1/1     Running     0          31m
                    kubesphere-system              ks-apiserver-cdd8f86f7-s7qc2                           1/1     Running     0          32m
                    kubesphere-system              ks-apiserver-cdd8f86f7-vvwsq                           1/1     Running     0          32m
                    kubesphere-system              ks-console-565d7c4585-bt9jv                            1/1     Running     0          31m
                    kubesphere-system              ks-console-565d7c4585-lsvwt                            1/1     Running     0          31m
                    kubesphere-system              ks-console-565d7c4585-lw8t4                            1/1     Running     0          31m
                    kubesphere-system              ks-controller-manager-75849487f9-grrqw                 1/1     Running     0          31m
                    kubesphere-system              ks-controller-manager-75849487f9-j9gg8                 1/1     Running     0          31m
                    kubesphere-system              ks-controller-manager-75849487f9-x9lmw                 1/1     Running     0          31m
                    kubesphere-system              ks-installer-59fb465b7-4lqzv                           1/1     Running     0          28h
                    kubesphere-system              minio-8cd46c8d9-hf69b                                  1/1     Running     0          37m
                    kubesphere-system              mysql-b5597d996-gwd8p                                  1/1     Running     0          35m
                    kubesphere-system              openldap-0                                             1/1     Running     0          28h
                    kubesphere-system              openldap-1                                             1/1     Running     0          28h
                    kubesphere-system              redis-ha-haproxy-75776f44c4-2qf64                      1/1     Running     0          28h
                    kubesphere-system              redis-ha-haproxy-75776f44c4-blp48                      1/1     Running     0          28h
                    kubesphere-system              redis-ha-haproxy-75776f44c4-wmdrq                      1/1     Running     0          28h
                    kubesphere-system              redis-ha-server-0                                      2/2     Running     0          28h
                    kubesphere-system              redis-ha-server-1                                      2/2     Running     0          28h
                    kubesphere-system              redis-ha-server-2                                      2/2     Running     0          28h
                    openpitrix-system              hyperpitrix-release-app-job-gzhmb                      0/1     Completed   0          23m
                    openpitrix-system              openpitrix-hyperpitrix-deployment-54d58c9bfc-9mhqg     1/1     Running     0          24m
                    openpitrix-system              openpitrix-rp-kubernetes-deployment-68c6cc66ff-7h8ht   1/1     Running     0          24m