Rke2 通过helm 高可用部署rancher2.7.9 老是重启,但是集群状态正常。

环境信息:
RKE2 版本:

1.25.10
节点 CPU 架构,操作系统和版本:

Linux rke2-m1 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
集群配置:

问题描述:

重现步骤:

  • 安装 RKE2 的命令:

预期结果:
rancher 正常,无重启

实际结果:


日志

W0201 06:51:01.433329 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Cluster is deprecated; use cluster.x-k8s.io/v1beta1 Cluster
2024-02-01T14:53:19.731467919+08:00 W0201 06:53:19.731294 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Machine is deprecated; use cluster.x-k8s.io/v1beta1 Machine
2024-02-01T14:53:36.003580435+08:00 W0201 06:53:36.003368 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineDeployment is deprecated; use cluster.x-k8s.io/v1beta1 MachineDeployment
2024-02-01T14:54:52.548961680+08:00 W0201 06:54:52.548724 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineHealthCheck is deprecated; use cluster.x-k8s.io/v1beta1 MachineHealthCheck
2024-02-01T14:55:23.434199678+08:00 W0201 06:55:23.433760 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineSet is deprecated; use cluster.x-k8s.io/v1beta1 MachineSet
2024-02-01T14:59:06.735618697+08:00 W0201 06:59:06.735425 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Machine is deprecated; use cluster.x-k8s.io/v1beta1 Machine
2024-02-01T14:59:07.436868322+08:00 W0201 06:59:07.436661 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Cluster is deprecated; use cluster.x-k8s.io/v1beta1 Cluster
2024-02-01T15:02:31.436295916+08:00 W0201 07:02:31.436118 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineSet is deprecated; use cluster.x-k8s.io/v1beta1 MachineSet
2024-02-01T15:02:58.005765439+08:00 W0201 07:02:58.005560 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineDeployment is deprecated; use cluster.x-k8s.io/v1beta1 MachineDeployment
2024-02-01T15:03:04.692536800+08:00 W0201 07:03:04.692188 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:04.775901623+08:00 W0201 07:03:04.775677 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:05.304211716+08:00 W0201 07:03:05.302946 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:07.314715469+08:00 W0201 07:03:07.314565 34 transp
ort.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:07.335417776+08:00 W0201 07:03:07.335255 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:31.854023803+08:00 W0201 07:03:31.852632 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:32.229321605+08:00 W0201 07:03:32.228461 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:32.317916139+08:00 W0201 07:03:32.317485 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:32.317950900+08:00 W0201 07:03:32.317551 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:32.317954548+08:00 W0201 07:03:32.317585 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:32.317956178+08:00 W0201 07:03:32.317610 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:32.317957782+08:00 W0201 07:03:32.317628 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:34.917399658+08:00 W0201 07:03:34.917230 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:03:35.006191366+08:00 W0201 07:03:35.004489 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:04:09.442602985+08:00 W0201 07:04:09.442057 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Cluster is deprecated; use cluster.x-k8s.io/v1beta1 Cluster
2024-02-01T15:04:44.552577759+08:00 W0201 07:04:44.552455 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineHealthCheck is deprecated; use cluster.x-k8s.io/v1beta1 MachineHealthCheck
2024-02-01T15:05:08.255889130+08:00 2024/02/01 07:05:08 [ERROR] Error during subscribe websocket: close sent
2024-02-01T15:05:08.256547852+08:00 2024/02/01 07:05:08 [ERROR] Error during subscribe websocket: close sent
2024-02-01T15:08:12.010297530+08:00 W0201 07:08:12.010012 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Machin
eDeployment is deprecated; use cluster.x-k8s.io/v1beta1 MachineDeployment
2024-02-01T15:08:45.737510632+08:00 W0201 07:08:45.737294 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Machine is deprecated; use cluster.x-k8s.io/v1beta1 Machine
2024-02-01T15:10:23.554854546+08:00 W0201 07:10:23.554607 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineHealthCheck is deprecated; use cluster.x-k8s.io/v1beta1 MachineHealthCheck
2024-02-01T15:10:27.441324625+08:00 W0201 07:10:27.441180 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineSet is deprecated; use cluster.x-k8s.io/v1beta1 MachineSet
2024-02-01T15:13:47.443625887+08:00 W0201 07:13:47.443353 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Cluster is deprecated; use cluster.x-k8s.io/v1beta1 Cluster
2024-02-01T15:15:28.559549057+08:00 W0201 07:15:28.558960 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineHealthCheck is deprecated; use cluster.x-k8s.io/v1beta1 MachineHealthCheck
2024-02-01T15:15:49.011869735+08:00 W0201 07:15:49.011231 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineDeployment is deprecated; use cluster.x-k8s.io/v1beta1 MachineDeployment
2024-02-01T15:16:37.743468444+08:00 W0201 07:16:37.742500 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Machine is deprecated; use cluster.x-k8s.io/v1beta1 Machine
2024-02-01T15:17:07.462059653+08:00 W0201 07:17:07.461558 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineSet is deprecated; use cluster.x-k8s.io/v1beta1 MachineSet
2024-02-01T15:21:24.446745485+08:00 W0201 07:21:24.446083 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Cluster is deprecated; use cluster.x-k8s.io/v1beta1 Cluster
2024-02-01T15:22:30.462700149+08:00 W0201 07:22:30.462452 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineSet is deprecated; use cluster.x-k8s.io/v1beta1 MachineSet
2024-02-01T15:24:05.560624196+08:00 W0201 07:24:05.560394 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineHealthCheck is deprecated; use cluster.x-k8s.io/v1beta1 MachineHealthCheck
2024-02-01T15:24:31.01
3505991+08:00 W0201 07:24:31.013296 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineDeployment is deprecated; use cluster.x-k8s.io/v1beta1 MachineDeployment
2024-02-01T15:25:51.744173544+08:00 W0201 07:25:51.744022 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Machine is deprecated; use cluster.x-k8s.io/v1beta1 Machine
2024-02-01T15:29:22.451928011+08:00 W0201 07:29:22.450981 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Cluster is deprecated; use cluster.x-k8s.io/v1beta1 Cluster
2024-02-01T15:30:21.469286201+08:00 W0201 07:30:21.468324 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineSet is deprecated; use cluster.x-k8s.io/v1beta1 MachineSet
2024-02-01T15:30:56.018110413+08:00 W0201 07:30:56.017903 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineDeployment is deprecated; use cluster.x-k8s.io/v1beta1 MachineDeployment
2024-02-01T15:31:24.561545618+08:00 W0201 07:31:24.561401 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineHealthCheck is deprecated; use cluster.x-k8s.io/v1beta1 MachineHealthCheck
2024-02-01T15:34:16.747447187+08:00 W0201 07:34:16.747266 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Machine is deprecated; use cluster.x-k8s.io/v1beta1 Machine
2024-02-01T15:35:10.021551228+08:00 W0201 07:35:10.021137 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:10.092844205+08:00 W0201 07:35:10.092631 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:10.093846899+08:00 W0201 07:35:10.093110 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:10.093868709+08:00 W0201 07:35:10.093223 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:10.093872056+08:00 W0201 07:35:10.093244 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:11.642075294+08:00 W0201 07:35:11.641698 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:12.618476952+08:00 W0201 07:3
5:12.618100 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:13.122839780+08:00 W0201 07:35:13.114494 34 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:37:34.455392077+08:00 W0201 07:37:34.454881 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Cluster is deprecated; use cluster.x-k8s.io/v1beta1 Cluster
2024-02-01T15:39:20.564925730+08:00 W0201 07:39:20.564602 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineHealthCheck is deprecated; use cluster.x-k8s.io/v1beta1 MachineHealthCheck
2024-02-01T15:39:21.490358591+08:00 W0201 07:39:21.489606 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineSet is deprecated; use cluster.x-k8s.io/v1beta1 MachineSet
2024-02-01T15:40:20.020456299+08:00 W0201 07:40:20.020300 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineDeployment is deprecated; use cluster.x-k8s.io/v1beta1 MachineDeployment
2024-02-01T15:41:55.752429059+08:00 W0201 07:41:55.751951 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Machine is deprecated; use cluster.x-k8s.io/v1beta1 Machine
2024-02-01T15:45:45.493973587+08:00 W0201 07:45:45.493317 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineSet is deprecated; use cluster.x-k8s.io/v1beta1 MachineSet
2024-02-01T15:46:02.446946373+08:00 2024/02/01 07:46:02 [ERROR] Error during subscribe websocket: close sent
2024-02-01T15:46:09.023355493+08:00 W0201 07:46:09.023145 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineDeployment is deprecated; use cluster.x-k8s.io/v1beta1 MachineDeployment
2024-02-01T15:46:22.568350971+08:00 W0201 07:46:22.568092 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineHealthCheck is deprecated; use cluster.x-k8s.io/v1beta1 MachineHealthCheck
2024-02-01T15:47:03.462353235+08:00 W0201 07:47:03.462114 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Cluster is deprecated; use cluster.x-k8s.io/v1beta1 Cluster
2024-02-01T15:49:14.755451409+08:00 W0201 07:49:14.755216 34 warnings.go:80] cluster.x-k8s.io/v1alpha3 Machine i
s deprecated; use cluster.x-k8s.io/v1beta1 Machine
第二个pod W0201 07:35:11.692601 33 transport.go:313] Unable to cancel request for *client.addQuery
W0201 07:35:11.692696 33 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:13.238961698+08:00 W0201 07:35:13.214886 33 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:13.297643639+08:00 W0201 07:35:13.292302 33 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:13.331249942+08:00 W0201 07:35:13.330567 33 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:13.753963504+08:00 W0201 07:35:13.752340 33 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:13.848115216+08:00 W0201 07:35:13.845412 33 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:13.848341367+08:00 W0201 07:35:13.845451 33 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:13.848446896+08:00 W0201 07:35:13.845461 33 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:13.982650781+08:00 W0201 07:35:13.982278 33 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:35:13.990417760+08:00 W0201 07:35:13.990112 33 transport.go:313] Unable to cancel request for *client.addQuery
W0201 07:35:14.483010 33 transport.go:313] Unable to cancel request for *client.addQuery
2024-02-01T15:46:02.481578493+08:00 2024/02/01 07:46:02 [ERROR] Error during subscribe websocket: close sent