一个worker节点加入时卡很久没有响应

level=info msg=“[K8s] updated plan secret fleet-default/custom-36a246da00fc-machine-plan with feedback”

卡在这个位置 很长时间不动,重启主机还是卡这里,

rancher 打印日志
2024/05/10 05:07:48 [INFO] Updating TLS secret for cattle-system/serving-cert (count: 17): map[field.cattle.io/projectId:local:p-kvthr listener.cattle.io/cn-10.42.0.13:10.42.0.13 listener.cattle.io/cn-10.42.0.14:10.42.0.14 listener.cattle.io/cn-10.42.0.15:10.42.0.15 listener.cattle.io/cn-10.42.0.38:10.42.0.38 listener.cattle.io/cn-10.42.0.52:10.42.0.52 listener.cattle.io/cn-10.42.0.53:10.42.0.53 listener.cattle.io/cn-10.42.0.55:10.42.0.55 listener.cattle.io/cn-10.42.0.64:10.42.0.64 listener.cattle.io/cn-10.42.0.67:10.42.0.67 listener.cattle.io/cn-10.42.0.78:10.42.0.78 listener.cattle.io/cn-10.42.0.80:10.42.0.80 listener.cattle.io/cn-10.42.0.82:10.42.0.82 listener.cattle.io/cn-127.0.0.1:127.0.0.1 listener.cattle.io/cn-localhost:localhost listener.cattle.io/cn-rancher.cattle-system:rancher.cattle-system listener.cattle.io/cn-rancher.hwsl.com:rancher.hwsl.com listener.cattle.io/fingerprint:SHA1=E02E457F302EDC7E72E1ED6759C6BFDA0FD883F3]
2024/05/10 05:07:48 [INFO] Updating TLS secret for cattle-system/tls-rancher-internal (count: 12): map[field.cattle.io/projectId:local:p-kvthr listener.cattle.io/cn-10.42.0.13:10.42.0.13 listener.cattle.io/cn-10.42.0.14:10.42.0.14 listener.cattle.io/cn-10.42.0.15:10.42.0.15 listener.cattle.io/cn-10.42.0.53:10.42.0.53 listener.cattle.io/cn-10.42.0.55:10.42.0.55 listener.cattle.io/cn-10.42.0.64:10.42.0.64 listener.cattle.io/cn-10.42.0.67:10.42.0.67 listener.cattle.io/cn-10.42.0.78:10.42.0.78 listener.cattle.io/cn-10.42.0.80:10.42.0.80 listener.cattle.io/cn-10.42.0.82:10.42.0.82 listener.cattle.io/cn-10.43.192.254:10.43.192.254 listener.cattle.io/fingerprint:SHA1=96587CDA0093C2EC0A33911EE266E818C0A9DC6B]

新建的集群里,每台主机都设置了 K8s 的哪些角色?

1 个赞

大师兄,请教这种有解决方法吗?不知如何下手
rancher 同时也在报这个
2024/05/10 06:22:06 [ERROR] error syncing ‘fleet-default/custom-c24a5d01db26’: handler rke-bootstrap: failed to delete fleet-default/custom-c24a5d01db26-machine-plan /v1, Kind=ServiceAccount for rke-bootstrap fleet-default/custom-c24a5d01db26: serviceaccounts “custom-c24a5d01db26-machine-plan” not found, failed to delete fleet-default/custom-c24a5d01db26-machine-plan rbac.authorization.k8s.io/v1, Kind=Role for rke-bootstrap fleet-default/custom-c24a5d01db26: roles.rbac.authorization.k8s.io “custom-c24a5d01db26-machine-plan” not found, requeuing