docker-ingress-routing-daemon: Totally not working...

My ingress network is 10.0.0.0/24, and gw is 10.0.0.1.

Then I run this command: docker-ingress-routing-daemon --ingress-gateway-ips 10.0.0.1 --install --services proxy_proxy

Next, scale service proxy_proxy to 1, and check, found it still report 10.0.0.2 to access log…

If I run: docker-ingress-routing-daemon --ingress-gateway-ips 10.0.0.2 --install --services proxy_proxy

It will freeze all docker process…

Anything wrong? Or is it a issue?

 docker version
Client: Docker Engine - Community
 Version:           23.0.1
 API version:       1.42
 Go version:        go1.19.5
 Git commit:        a5ee5b1
 Built:             Thu Feb  9 19:51:00 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          23.0.1
  API version:      1.42 (minimum version 1.12)
  Go version:       go1.19.5
  Git commit:       bc3805a
  Built:            Thu Feb  9 19:48:42 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.18
  GitCommit:        2456e983eb9e37e47538f59ea18f2043c9a73640
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

It looks like there’s an x in your IP list.

Based on the ingress IPs you’ve listed, I think you should probably be running the following command, and please make sure you run it on every node:

docker-ingress-routing-daemon --ingress-gateway-ips 10.0.0.2,10.0.0.3,10.0.0.4,10.0.0.5,10.0.0.6 --install --services gly-proxy_proxy --tcp-ports 80,443 --preexisting

(You may need to run docker-ingress-routing-daemon --uninstall first).

It works like charm!!! Thank you.