Rancher Windows Cluster
In this document, you will learn about how to install Longhorn in a Rancher Windows cluster.
Rancher has the ability to provision a cluster that has a mix of Linux worker nodes and Windows worker nodes. For more information about Rancher Windows cluster, please refer to the official Rancher documentation.
In a Rancher Windows cluster, all Linux worker nodes are tainted with the taint cattle.io/os=linux:NoSchedule
and have the label kubernetes.io/os:linux
Since Longhorn components can only run on Linux nodes,
you need to set node selector kubernetes.io/os:linux
for Longhorn to select the Linux nodes.
Please follow the instruction at Node Selector to set node selector for Longhorn.
Since all Linux worker nodes in Rancher Windows cluster are tainted with the taint cattle.io/os=linux:NoSchedule
,
You need to set the toleration cattle.io/os=linux:NoSchedule
for Longhorn to be able to run on those nodes.
Please follow the instruction at Taint Toleration to set toleration for Longhorn.
Note: After Longhorn is deployed, you can launch workloads that use Longhorn volumes only on Linux nodes.
© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.