rayzhou2017 pptfz 有没有因为安装失败不出声就放弃的用户我不清楚,不过确确实实安装这个部分是一个需要改进的地方,而且正在改。但是凡是遇到安装问题且跟我们联系的据我所知最后都安装成功了。你要仔细看安装文档,我们的文档是写得很谨慎的,不能漏掉东西。
rayzhou2017 pptfz 你首先要确认最小安装成功过吗?如果这个都没成功那要仔细找问题,实在不知道怎么回事写信到kubesphere@yunify.com,写明你的远程登录环境信息,让我们的人上去帮你看看到底怎么回事。
pptfz 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如下
Cauchy pptfz nfs是自己搭的吗?如果是的话exportfs里建议这样配 *(rw,insecure,sync,no_subtree_check,no_root_squash),而且要保证nfs设置成default storage class哦
chrinly 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