- Rancher 版本:2.5.7 docker安装
下游集群信息
- Kubernetes 版本: 1.14.3
问题描述:
导入集群时cattle-cluster-agent服务日志报错 failed to add management data: error creating default pspt: the server does not allow this method on the requested
resource (post podsecuritypolicytemplates.meta.k8s.io) 和 Failed to find system chart fleet will try again in 5 seconds: configmaps “rancher-charts-nq9xf” not found
重现步骤:
出现了上述问题,docker重装rancher之后,导入集群,仍然出现报错。看网上有说是版本不兼容的问题,有没有大佬碰到过啊,求解!!!
截图:
2024/09/04 02:47:54 [ERROR] failed to call leader func: failed to add management data: error creating default pspt: the server does not allow this meth
od on the requested resource (post podsecuritypolicytemplates.meta.k8s.io)
2024/09/04 02:47:55 [INFO] Waiting for initial data to be populated
2024/09/04 02:47:57 [INFO] Waiting for initial data to be populated
2024/09/04 02:47:59 [INFO] Reconciling GlobalRoles
2024/09/04 02:47:59 [INFO] Reconciling RoleTemplates
2024/09/04 02:47:59 [ERROR] failed to call leader func: failed to add management data: error creating default pspt: the server does not allow this meth
od on the requested resource (post podsecuritypolicytemplates.meta.k8s.io)
2024/09/04 02:47:59 [INFO] Waiting for initial data to be populated
2024/09/04 02:48:01 [INFO] Waiting for initial data to be populated
2024/09/04 02:48:03 [INFO] Waiting for initial data to be populated
2024/09/04 02:48:04 [INFO] Reconciling GlobalRoles
2024/09/04 02:48:04 [INFO] Reconciling RoleTemplates
2024/09/04 02:48:05 [ERROR] failed to call leader func: failed to add management data: error creating default pspt: the server does not allow this meth
od on the requested resource (post podsecuritypolicytemplates.meta.k8s.io)
2024/09/04 02:48:05 [INFO] Waiting for initial data to be populated
2024/09/04 02:48:08 [INFO] Waiting for initial data to be populated
2024/09/04 02:48:10 [INFO] Waiting for initial data to be populated
[/details]