mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
IPv6 should also be checked if it is globally enabled. On nftables, today this is hardcoded, so if a Linux Kernel disables IPv6 during its boot or doesn't have IPv6 compiled, it will still try to use IPv6, which can lead to some unexpected errors. This change verifies if IPv6 is enabled by checking if the IPv6 network interfaces proc file is available