Windows 支持
在 Rancher v2.5.6 之前,agent 在具有 Windows 节点的下游集群上没有原生的 Windows 清单。这将导致集群的 agent pod 运行失败。
如果你从旧版本的 Rancher 升级到 v2.5.6+,你可以在 下游集群 中部署具有以下工作流的可运行的 agent:
- 
封锁所有 Windows 节点。
 - 
对
agent工作负载应用以下容忍度。 - 
取消所有 Windows 节点的封锁。
 - 
删除所有
agentpod。使用新的容忍度来创建新 pod。 - 
一旦
agentpod 运行,并且 Fleet 的自动更新已启用,它们会更新到兼容 Windows 的agent版本。 
tolerations:
  - effect: NoSchedule
    key: cattle.io/os
    operator: Equal
    value: linux