创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
centos7.9,4G 60G磁盘 ,关闭了swap,firewalld,selinux,
Kubernetes版本信息
v1.23.17
容器运行时
docker,默认安装的给装了24版本
KubeSphere版本信息
v3.4.1 在线all in one方式安装
问题是什么
使用all-in-one模式安装,过程中看到报错(我的环境无论多节点安装还是all-in-one安装都会这样):
12:45:12 CST stdout: [localhost.localdomain]
error: taint “node-role.kubernetes.io/control-plane:NoSchedule” not found
12:45:12 CST [WARN] Failed to exec command: sudo -E /bin/bash -c “/usr/local/bin/kubectl taint nodes localhost.localdomain node-role.kubernetes.io/control-plane=:NoSchedule-”
error: taint “node-role.kubernetes.io/control-plane:NoSchedule” not found: Process exited with status
末尾:
clusterrolebinding.rbac.authorization.k8s.io/calico-node created
clusterrolebinding.rbac.authorization.k8s.io/calico-cni-plugin created
daemonset.apps/calico-node created
deployment.apps/calico-kube-controllers created
12:45:15 CST success: [localhost.localdomain]
12:45:15 CST [ConfigureKubernetesModule] Configure kubernetes
12:45:15 CST success: [localhost.localdomain]
12:45:15 CST [ChownModule] Chown user $HOME/.kube dir
12:45:15 CST success: [localhost.localdomain]
12:45:15 CST [AutoRenewCertsModule] Generate k8s certs renew script
12:45:15 CST success: [localhost.localdomain]
12:45:15 CST [AutoRenewCertsModule] Generate k8s certs renew service
12:45:15 CST success: [localhost.localdomain]
12:45:15 CST [AutoRenewCertsModule] Generate k8s certs renew timer
12:45:15 CST success: [localhost.localdomain]
12:45:15 CST [AutoRenewCertsModule] Enable k8s certs renew service
12:45:15 CST success: [localhost.localdomain]
12:45:15 CST [SaveKubeConfigModule] Save kube config as a configmap
12:45:15 CST success: [LocalHost]
12:45:15 CST [AddonsModule] Install addons
12:45:15 CST success: [LocalHost]
12:45:15 CST Pipeline[CreateClusterPipeline] execute successfully
Installation is complete.
Please check the result using the command:
kubectl get pod -A
然后最后k8s正常运行了,kubesphere没装上,