Files
homelab/talos/talhelper/talos-multipath-patch.yaml
2026-06-25 10:02:16 -05:00

85 lines
4.9 KiB
YAML

---
# Talos machine config patch for Pure FlashArray multipath support
# Add this to your Talos machine config under worker nodes
# Apply with: talosctl patch machineconfig -n <worker-ip> --patch @talos-multipath-patch.yaml
machine:
files:
- path: /var/etc/multipath.conf
permissions: 0644
op: create
# content: |-
# # Pure Storage FlashArray multipath configuration
# defaults {
# polling_interval 10
# path_selector "round-robin 0"
# path_grouping_policy group_by_prio
# path_checker tur
# prio alua
# failback immediate
# user_friendly_names no
# find_multipaths yes
# fast_io_fail_tmo 10
# dev_loss_tmo 600
# no_path_retry 0
# }
# devices {
# device {
# vendor "PURE"
# product "FlashArray"
# path_selector "round-robin 0"
# path_grouping_policy group_by_prio
# prio alua
# path_checker tur
# fast_io_fail_tmo 10
# user_friendly_names no
# no_path_retry 0
# hardware_handler "1 alua"
# dev_loss_tmo 600
# failback immediate
# }
# }
# blacklist {
# devnode "^pxd[0-9]*"
# devnode "^pxd.*"
# }
# Symlink for PX-CSI to find multipath.conf
- path: /etc/multipath.conf
permissions: 0644
op: create
# content: |-
# # Symlink to persistent location
# # Note: Talos /etc is read-only, this gets regenerated on boot
# defaults {
# polling_interval 10
# path_selector "round-robin 0"
# path_grouping_policy group_by_prio
# path_checker tur
# prio alua
# failback immediate
# user_friendly_names no
# find_multipaths yes
# fast_io_fail_tmo 10
# dev_loss_tmo 600
# no_path_retry 0
# }
# devices {
# device {
# vendor "PURE"
# product "FlashArray"
# path_selector "round-robin 0"
# path_grouping_policy group_by_prio
# prio alua
# path_checker tur
# fast_io_fail_tmo 10
# user_friendly_names no
# no_path_retry 0
# hardware_handler "1 alua"
# dev_loss_tmo 600
# failback immediate
# }
# }
# blacklist {
# devnode "^pxd[0-9]*"
# devnode "^pxd.*"
# }