131. 由于现有 CRD 的限制,牧场主监测图表重新安装正在失败

张开发
2026/4/20 0:36:51 15 分钟阅读

分享文章

131. 由于现有 CRD 的限制,牧场主监测图表重新安装正在失败
Situation 地理位置The Rancher Monitoring Chart reinstallation is failing with Web-hook errors as below.牧场主监控图表的重装失败出现如下的 Web-hook 错误。span stylecolor:#000000span stylebackground-color:#ffffffspan stylebackground-color:#efefefcodeError: UPGRADE FAILED: failed to create resource: Internal error occurred: failed calling webhook a>Resolution 结局List the leftover webhook configurations that remain from the last chart installations. The Backup of these web hooks are not require.列出上次图表安装后剩余的 Webhook 配置。这些网络钩子的备份并非必需。span stylecolor:#000000span stylebackground-color:#ffffffspan stylebackground-color:#f3f3f3kubectl get crd | grep monitoring.coreos kubectl get validatingwebhookconfiguration | grep rancher-monitoring-admission/span/span/spanDelete all listed resources according to the steps below.请按照以下步骤删除所有列出的资源。span stylecolor:#000000span stylebackground-color:#ffffffspan stylebackground-color:#f3f3f3kubectl delete crd crd listed from above steps kubectl delete validatingwebhookconfiguration rancher-monitoring-admission/span/span/spanInstall the new Monitoring Chart via Rancher UI and make sure all components are installed properly.通过 Rancher 界面安装新的监控图表并确保所有组件都正确安装。Cause 病因If the previous Monitoring chart Uninstall was not properly carried out, there would be few CRDs remaining. These CRDs and web hooks will stop the next monitoring chart installations.如果之前的监控图表卸载没有正确执行剩余的 CRD 将很少。这些 CRD 和网络钩将阻止下一次监控图表的安装。访问Rancher-K8S解决方案博主企业合作伙伴 https://blog.csdn.net/lidw2009

更多文章