What is the difference between ingress network and custom overlay network?

If your example is for a swarm service, in fact it does use the ingress network for the published port.

I am still curious to understand what makes you think how ingress and custom networks work and how they would be the same.