refined-addition-92283
03/24/2024, 2:57 PMnode-external-ip
when we run k3s inside rancher-desktop vm ? I have 2 macs both using rancher desktop 1.13.1
. The old one intel, the new one arm.
On old mac node-external-ip
from the same network as node-ip
- 192.168.5.0/24
# ps waux | grep k3s
4750 root 0:00 supervise-daemon k3s --start --stdout /Users/alex/Library/Logs/rancher-desktop/k3s.log --stderr /Users/alex/Library/Logs/rancher-desktop/k3s.log --pidfile /var/run/k3s.pid --respawn-delay 5 --respawn-max 0 --respawn-period 1800 /usr/local/bin/k3s -- server --https-listen-port 6443 --node-ip 192.168.5.15 --flannel-iface eth0 --node-external-ip 192.168.5.15 --docker
As far as I understood 192.168.5.0/24
is some kind of private network for internal communications
-netdev user,id=net0,net=192.168.5.0/24,dhcpstart=192.168.5.15
But on new mac node-external-ip
has ip address from my host subnetwork - 192.168.1.0/24
# ps waux | grep k3s
2983 root 0:00 grep k3s
5259 root 0:00 supervise-daemon k3s --start --stdout /Users/alex/Library/Logs/rancher-desktop/k3s.log --stderr /Users/alex/Library/Logs/rancher-desktop/k3s.log --pidfile /var/run/k3s.pid --respawn-delay 5 --respawn-max 0 --respawn-period 1800 /usr/local/bin/k3s -- server --https-listen-port 6443 --node-ip 192.168.5.15 --flannel-iface rd0 --node-external-ip 192.168.1.75 --disable traefik --docker
Because of that I had ip conflict in my home network. Spent a few days to find the root cause