在执行完kubectl apply -f kubesphere-installer.yaml和kubectl apply -f cluster-configuration.yaml后等待安装;
ks-apiserver等Pod一直处于Terminating状态,查看日志,提示:
Events:
Type Reason Age From Message
Normal Scheduled <unknown> default-scheduler Successfully assigned kubesphere-system/ks-apiserver-6c8dcb6455-v5s9n to k8s-node2
Warning FailedMount 87m (x2 over 89m) kubelet, k8s-node2 Unable to attach or mount volumes: unmounted volumes=[kubesphere-config], unattached volumes=[docker-sock ks-router-config kubesphere-config host-time kubesphere-token-mhw95]: timed out waiting for the condition
Warning FailedMount 85m (x11 over 91m) kubelet, k8s-node2 MountVolume.SetUp failed for volume “kubesphere-config” : configmap “kubesphere-config” not found
Warning FailedMount 85m kubelet, k8s-node2 Unable to attach or mount volumes: unmounted volumes=[kubesphere-config], unattached volumes=[kubesphere-token-mhw95 docker-sock ks-router-config kubesphere-config host-time]: timed out waiting for the condition