终于解决,centos最小安装/ 目录默认50g肯定不行,加到100g就可以了

    [root@k8s-master kubesphere]# kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath=‘{.items[0].metadata.name}’) -f
    Error from server (BadRequest): container “installer” in pod “ks-installer-59fb465b7-pzvv2” is waiting to start: ContainerCreating

    环境: k8s1.15版本
    在安装KubeSphere完整版的时候,查看安装日志的报错
    查看了一下pod,也是出于 ContainerCreating状态

      Student-party 已处理此问题是无法拉去镜像,但是我提前下载了docker 镜像后 ,也重新配置了images只拉去本地,pod状态已是run,但是 查看了安装logs,一直报
      FAILED - RETRYING: Metrics-Server | Waitting for v1beta1.metrics.k8s.io ready (43 retries left)

        Student-party
        v1beta1.metrics.k8s.io这个是由于集群中的metrics-server不正常导致的哦 , 可以检查下及群里的metrics-server
        可以看看kube-system下的pod状态
        可以通过kubectl get apiservices查看相关api状态

          Cauchy 鼓捣好了,但访问的时候 报 英特网无效连接 错误,懵了。想卸载了重装 有没有卸载脚本?

          11 天 后

          请问,我现在想使用在线安装脚本或者离线安装脚本,使用我本地私有harbor仓库,但是更改common配置没有生效,想问该如何设置呢?另外harbor是否需要https协议

            jinchen 那样会麻烦一些,你需要把所有镜像提前推送到 harbor 镜像仓库,然后在安装脚本里改镜像地址。为什么不直接用打包好的离线 installer 安装呢?

              fatal: [ks-allinone]: FAILED! => {
              “attempts”: 30,
              “changed”: true,
              “cmd”: “/usr/local/bin/kubectl get pod -n kubesphere-system | grep Running | grep ks-installer”,
              “delta”: “0:00:00.085104″,
              “end”: “2020-05-16 14:13:58.346256″,
              “rc”: 1,
              “start”: “2020-05-16 14:13:58.261152”
              }

              MSG:

              non-zero return code

              PLAY RECAP *************************************************************************************************************
              ks-allinone : ok=135 changed=15 unreachable=0 failed=1
              遇到各种问题,反复卸载安装,结果还不一样

              Feynman 那就是了,在研究这个能不能在线安装使用本地局域网的harbor做加速,所以遇到了这个问题了

              liuxw 离线 Installer 目前仅支持 CentOS 7.4 ~ 7.7 (64-bit)。如果你的 OS 版本不兼容,建议先自行安装好 k8s,然后参考官网文档 在 K8s 离线安装 KubeSphere

                TASK [Restart docker] *************************************************************************************************************************************************************************
                Wednesday 20 May 2020 10:58:55 +0800 (0:00:00.225) 0:00:01.440 *********
                fatal: [ks-allinone]: FAILED! => {
                “changed”: true,
                “cmd”: “systemctl daemon-reload && service docker restart”,
                “delta”: “0:00:00.248195”,
                “end”: “2020-05-20 10:58:56.004947”,
                “rc”: 1,
                “start”: “2020-05-20 10:58:55.756752″
                }

                STDERR:

                Redirecting to /bin/systemctl restart docker.service
                Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.

                MSG:

                non-zero return code

                PLAY RECAP ************************************************************************************************************************************************************************************
                ks-allinone : ok=4 changed=3 unreachable=0 failed=1

                Wednesday 20 May 2020 10:58:56 +0800 (0:00:00.616) 0:00:02.057 *********
                Feynman 大佬帮忙看看

                ### ### 安装成功了,但是linux系统重启,30880端口没启动起来

                [root@ks-allinone ]# kubectl get pods -n kube-system
                Unable to connect to the server: net/http: TLS handshake timeout
                [root@ks-allinone ]# kubectl get pods -n kube-system
                The connection to the server 192.168.3.177:6443 was refused - did you specify the right host or port?
                [root@ks-allinone ]# kubectl get pods -n kube-system
                The connection to the server 192.168.3.177:6443 was refused - did you specify the right host or port?
                [root@ks-allinone ]# kubectl get pods -n kube-system
                The connection to the server 192.168.3.177:6443 was refused - did you specify the right host or port?

                  Feynman docker### 有起来,现在初步怀疑跟linux ###操作系统时间有关系
                  安装 好的时间是5月24日20点(实际时间是9:00),我把linux### 时间一调整,重启系统,30880端口就没起来