使用sealos 4.3.7 和官方脚本部署 k8s 1.26.5版,集群部署完成后,再使用官方的install.sh部署sealos集群,部署完成后导入证书能够正常显示页面,现在发现有两个问题,(1)打开终端的时候,页面一直处于加载过程 (2)新建数据库(不管是何种类型),感觉很难成功,并造成k8s中的node节点处于NotReady的状态(安装过程中使用sealos自己生成的证书)
– Logs begin at 五 2023-12-29 12:46:31 CST. –
12月 29 13:47:14 k8s-master01 kubelet[24606]: I1229 13:47:14.518876 24606 status_manager.go:698] “Failed to get status for pod” podUID=585fd2837f9d7cf8bc5f671ee97ddf4e pod=“kube-system/kube-controller-manager-k8s-master01” err="Get \“https://apiserver.cluster.local:6443/api/v1/namespaces/kube-system/pods/kube-controller-manager-k8s-master01\”: dial tcp 10.0.0.200:6443: connect: connection refused"
12月 29 13:47:18 k8s-master01 kubelet[24606]: E1229 13:47:18.311162 24606 reflector.go:140] object-“ingress-nginx”/“kube-root-ca.crt”: Failed to watch *v1.ConfigMap: unknown (get configmaps)
12月 29 13:47:18 k8s-master01 kubelet[24606]: E1229 13:47:18.311193 24606 reflector.go:140] object-“calico-system”/“tigera-ca-bundle”: Failed to watch *v1.ConfigMap: unknown (get configmaps)
12月 29 13:47:18 k8s-master01 kubelet[24606]: E1229 13:47:18.311200 24606 reflector.go:140] object-“calico-system”/“node-certs”: Failed to watch *v1.Secret: unknown (get secrets)
12月 29 13:47:18 k8s-master01 kubelet[24606]: E1229 13:47:18.311205 24606 reflector.go:140] object-“kube-system”/“coredns”: Failed to watch *v1.ConfigMap: unknown (get configmaps)
12月 29 13:47:18 k8s-master01 kubelet[24606]: E1229 13:47:18.311211 24606 reflector.go:140] object-“kube-system”/“kube-root-ca.crt”: Failed to watch *v1.ConfigMap: unknown (get configmaps)
12月 29 13:47:18 k8s-master01 kubelet[24606]: E1229 13:47:18.311215 24606 reflector.go:140] object-“kube-system”/“kube-proxy”: Failed to watch *v1.ConfigMap: unknown (get configmaps)
12月 29 13:47:18 k8s-master01 kubelet[24606]: E1229 13:47:18.311220 24606 reflector.go:140] object-“calico-system”/“kube-root-ca.crt”: Failed to watch *v1.ConfigMap: unknown (get configmaps)
12月 29 13:47:18 k8s-master01 kubelet[24606]: E1229 13:47:18.311225 24606 reflector.go:140] object-“ingress-nginx”/“ingress-nginx-admission”: Failed to watch *v1.Secret: unknown (get secrets)
12月 29 14:54:51 k8s-master01 kubelet[24606]: E1229 14:54:51.805887 24606 server.go:299] “Unable to authenticate the request due to an error” err=“context canceled”
不知道是什么原因造成的?