This message was deleted.
# rke2
a
This message was deleted.
c
The node addresses are set by the cloud provider, and I’m not aware of any cloud providers that allow this. Generally you can have one internal/external IP of each family (ipv4/v6), one hostname, one InternalDNS, and one ExternalDNS https://pkg.go.dev/k8s.io/api/core/v1#NodeAddressType
I don’t see anything that restricts you to only having one of each type, but I’ve never seen it done, and I don’t know how things would handle multiple.
there is a lot of code that just scans the address list field, finds the first internalip or externalip of each family and uses that.
b
it's on-prem so i'm the cloud provider. i tried just adding it via kubectl node edit but it didn't take.
c
cloud provider is a thing that runs in the cluster. I’m not talking about the literal company providing the service.
and no, you generally cannot just change them by hand.
b
ah, gotcha. i figured this was an rke2 internal
"cloud provider" is an incredibly hard term to correctly search for in this respect, can you give me some examples? I've just never heard the term as a component
or is that just naturally a sub-component of the kubelet itself?
c
if you google “kubernetes cloud provider” or “kubernetes cloud-controller manager” there is a ton of info on it
b
thanks