44. 由于版本不兼容,Rancher 界面中缺少应用仓库的图表
注释定义了严格支持的 Kubernetes 和 Rancher 版本范围。如果集群的 Kubernetes 或 Rancher 版本超出该范围,Rancher 界面会自动过滤并隐藏图表,以防止不兼容和不支持的图表安装。(例如从 Rancher Prime 或 Partners 图表仓库)将 Helm 图表安装到 Rancher 管理的集群中。鉴于运行 Rancher 和 Kubernetes 版本
Charts for an Apps Repository missing in the Rancher UI due to version incompatibility
由于版本不兼容,Rancher 界面中缺少应用仓库的图表
- Rancher v2.5+ 牧场主 v2.5+
A user attempts to install a Helm chart into a Rancher-managed cluster, through the Rancher UI, using the Apps feature, e.g. from the Rancher Prime or Partners chart repositories. Although the chart repository is successfully added and shows an "Active" status, the expected charts do not appear under Apps -> Charts
用户尝试通过 Rancher 界面的应用功能 (例如从 Rancher Prime 或 Partners 图表仓库)将 Helm 图表安装到 Rancher 管理的集群中。 虽然图表库已成功添加并显示“活跃”状态,但预期的图表并未出现在应用 -> 图表中.
To resolve this visibility issue, ensure that the versions of Rancher and Kubernetes are compatible according to the official SUSE Rancher Support Matrix
为了解决这一可见性问题,请确保 Rancher 和 Kubernetes 的版本符合官方 SUSE 牧场支持矩阵的兼容性.
Given the situation of running an incompatible combination of Rancher and Kubernetes versions, the recommended path to return to a supported configuration, is a restore to a pre-upgraded state where the versions were compatible. You can then proceed to upgrade in accordance with the Rancher Upgrade Checklist, checking the Support Matrix.
鉴于运行 Rancher 和 Kubernetes 版本不兼容的情况,建议恢复到兼容版本的升级前状态。然后你可以根据牧场主升级清单继续升级,查看支持矩阵 。
This behaviour is intended and is enforced by the Helm chart metadata. All Helm charts within the Rancher and Partners repositories contain specific constraints defined in the chart's Chart.yaml file
这种行为是有意为之并由 Helm 图表元数据强制执行的。牧场主和合伙人仓库中的所有 Helm 图表都包含图表 Chart.yaml 文件中定义的特定约束.
Within this file, the annotations kube-version and rancher-version define a strict range of supported Kubernetes and Rancher versions. If the cluster's Kubernetes or Rancher version falls outside of this defined range, the Rancher UI automatically filters out and hides the chart to prevent incompatible and unsupported chart installations.
在该文件中,kube-version 和 rancher-version 注释定义了严格支持的 Kubernetes 和 Rancher 版本范围。 如果集群的 Kubernetes 或 Rancher 版本超出该范围,Rancher 界面会自动过滤并隐藏图表,以防止不兼容和不支持的图表安装 。
Example of version-locked code:
版本锁定代码示例:
-
Rancher v2.11 charts: support limited to Kubernetes versions >= 1.30.0 and < 1.33.0
Rancher v2.11 图表 :支持仅限于 Kubernetes 版本 >= 1.30.0 和 < 1.33.0. -
Rancher v2.12 charts: support limited to Kubernetes versions >= 1.31.0 and < 1.34.0
Rancher v2.12 图表 : 支持仅限于 Kubernetes 版本 >= 1.31.0 和 < 1.34.0.
更多推荐
所有评论(0)