Hey, I'm trying to figure out if the RKE2 agent co...
# rke2
i
Hey, I'm trying to figure out if the RKE2 agent configuration for
--node-external-ip
supports dualstack. That is, it let's me specify both IPv6 and IPv4 addresses and registers them both? I'm using RKE2 with Cilium. This test would suggest that it does, but the docs are unclear.
c
https://docs.rke2.io/reference/linux_agent_config#networking
node-external-ip IPv4/IPv6 external IP addresses to advertise for node
Does the help for that CLI flag answer your question?
i
addresses I guess that's the answer?
c
yes. plural.
one of each family
in preferred order
i
it's a bit subtle
c
if it only supported one it would be singular
i
Well, I appreciate the response. I think it would be clearer if the docs were explicit about:
one of each family
in preferred order
c
note that these are only used if you’re using the rke2 built-in cloud provider. If you use an external cloud-provider (vsphere, aws, etc) then the cloud provider is responsible for returning whatever internal and external IPs are known for the instance.
👍 1
i
I believe that's what we are doing. We are certainly passing those flags, and the IPs specified are what's registered.