stealthybox / multicluster-gitops

Demo gossiping Kubernetes clusters that share routes in a mesh and dns-forward their Services to each other :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add loopback addresses

crossett opened this issue · comments

I enjoyed your presentation at KubeCon. You might want to add the following to your README.md so that the kind/setup.sh script would work.

sudo ifconfig lo0 alias 127.0.0.2
sudo ifconfig lo0 alias 127.0.0.3

Thanks,
Jonathan

Actually, this doesn't seem to be the fix. What was done to make 127.0.0.2 and 127.0.0.3 available? (I'm using Docker Desktop for Mac).

Thanks,
Jonathan

using individual loopback addresses

  • works on linux
  • is ignored on docker-for-windows(wsl2)
  • breaks host->controlplane communication on docker-for-mac

Sorry that you ran into this and thanks so much for the dm and issue :)

I'm going to comment these out since the individual loopbacks and ports are just a nice-to-have.
They're not needed for the demo.

This is probably related
docker/for-mac#4607

^ Commented out the loopbacks and port-forwards.
This shouldn't be a problem for mac users anymore ⛵