RKE2 1.28 Migration of PRIVATE NETWORK to PUBLIC N...
# rke2
s
RKE2 1.28 Migration of PRIVATE NETWORK to PUBLIC NETWORK I have 5 bare metal servers running RKE2 with the current configuration for each one:
Copy code
token: bla-bla-bla
server: <https://bla.hyperclouds.io:9345> #have all the public IPs round-robin of the servers
tls-san:
  - bla.hyperclouds.io
cni: calico
node-name: s12083029 
with-node-id: false
node-ip: 10.30.13.95 # private network
node-external-ip: 21.95.38.91 # Public IP
I need to decommission the PRIVATE NETWORK with minimal downtime. I tried to change the annotations:
<http://rke2.io/internal-ip|rke2.io/internal-ip>
to the public IP
<http://rke2.io/node-args|rke2.io/node-args>
to change --node-ip to public IP When I changed
<http://alpha.kubernetes.io/provided-node-ip|alpha.kubernetes.io/provided-node-ip>
it changed it back to the private ip I changed the calico configuration to use the Public IP interface. After restarting the Calico nodes it's updating the routes but not the advertise-address of K8s How can I change dynamically the advertise-address ? The pods of
kube-system
are running on the PRIVATE IPs of the nodes. ``````