Network: add IPv6 support in apps (and don't force IPv4)

Copied over from [NAS-116076] - iXsystems TrueNAS Jira

Hi,

I created issue NAS-115004 because apps weren’t accessible via IPv6. Waqar Ahmed nicely mentioned:

There are various issues of different moving parts where we don’t have upstream support for ipv6 completely functional i.e k3s-io issue 284. Once it has stabilized upstream, we definitely look forward to adding that to SCALE.

Recently, this issue got a pull request merged in k3s pull 4450 which adds the IPv6 support needed to add IPv6 functionality to the apps feature of Scale.

With that said, I’d like to kindly request two things.

The first one is to please add support for IPv6 in apps, it’s a basic and very important feature, NAT64 networks can’t properly work without this.

The second one is that now when setting up Kubernetes it is asked for the user to input an IPv4 network for Kubernetes, which is fine (although some users like me would prefer not to have IPv4), and when adding a Kubernetes network it requires the user to add a default gateway in the system, but for people without IPv4, this is impossible leading to the inability to initialize apps. So I ask for you guys to either not force the user to add an IPv4 gateway or allow the user to not have an IPv4 network. This second request assumes that the first one is addressed.

I don’t think I need to emphasise the importance IPv6 is starting to have since you guys are starting to add IPv6 support to the customer-facing interfaces, thank you for that btw.

Thank you very much!

Anything you need, including testing, just say something!

Kubernetes is going away in the next major release of SCALE, so it seems pretty unlikely they’ll change anything in that regard.

Kubernetes is going away in the next major release of SCALE

I’m confused by this description.
Could you please provide the relevant link?

I got it.