# Longhorn taint-toleration setting - allows Longhorn to run on all control-plane nodes.
# Without this, Longhorn DaemonSet only runs on nodes without the control-plane taint,
# which in a 3-CP cluster with dedicated cp-2/cp-3 means only cp-1 gets storage.
apiVersion: longhorn.io/v1beta2
kind: Setting
metadata:
  name: taint-toleration
  namespace: longhorn-system
value: "node-role.kubernetes.io/control-plane:NoSchedule"
