Merge pull request #3014 from nickgerace/staging-fleet

[Rancher2] Add 2.5.6 Fleet upgrade workflow for Windows
This commit is contained in:
Catherine Luse
2021-02-11 11:04:00 -07:00
committed by GitHub
@@ -19,10 +19,30 @@ deploy everything in the cluster. This give a high degree of control, consistenc
Fleet comes preinstalled in Rancher v2.5. To access it, go to the **Cluster Explorer** in the Rancher UI. In the top left dropdown menu, click **Cluster Explorer > Continuous Delivery.** On this page, you can edit Kubernetes resources and cluster groups managed by Fleet.
### Windows Support
Prior to Rancher v2.5.6, the `agent` did not have native Windows manifests on downstream clusters with Windows nodes.
This would result in a failing `agent` pod for the cluster.
If you are upgrading from an older version of Rancher to v2.5.6+, you can deploy a working `agent` with the following workflow *in the downstream cluster*:
1. Cordon all Windows nodes.
1. Apply the below toleration to the `agent` workload.
1. Uncordon all Windows nodes.
1. Delete all `agent` pods. New pods should be created with the new toleration.
1. Once the `agent` pods are running, and auto-update is enabled for Fleet, they should be updated to a Windows-compatible `agent` version.
```yaml
tolerations:
- effect: NoSchedule
key: cattle.io/os
operator: Equal
value: linux
```
### GitHub Repository
The Fleet Helm charts are available [here.](https://github.com/rancher/fleet/releases/latest)
### Documentation
The Fleet documentation is at [https://fleet.rancher.io/.](https://fleet.rancher.io/)
The Fleet documentation is at [https://fleet.rancher.io/.](https://fleet.rancher.io/)