跳到主要内容
版本:v2.6

Windows 支持

在 Rancher 2.5.6 之前,agent 在具有 Windows 节点的下游集群上没有原生的 Windows 清单。这将导致集群的 agent pod 失败。

如果你从旧版本的 Rancher 升级到 2.5.6+,你可以在下游集群中部署具有以下工作流的工作 agent

  1. 封锁所有 Windows 节点。
  2. agent 工作负载应用以下容忍度。
  3. 取消所有 Windows 节点的封锁。
  4. 删除所有 agent pod。使用新的容忍度来创建新 pod。
  5. agent pod 运行并为 Fleet 启用了自动更新后,它们会更新到与 Windows 兼容的 agent 版本。
tolerations:
- effect: NoSchedule
key: cattle.io/os
operator: Equal
value: linux