DEV Community

Discussion on: Kubernetes: It's alive!

Collapse
 
mobeus2013 profile image
Gustavo Chavez

Daniel, my team and I are Deploying microservices and since you have a developer background maybe you can help. Our problem is we do not have a service discovery built out and all our calls to other microservices have to exit our cloud network get NATed and then come back in to reach other microservices. Is there a poor man's way to implement service discovery without creating a service registry. Making hundreds of outbound calls sometimes exhausts all outbound ports or causes unwanted latency. I have seen NGINX used along with something called console. We also looked at creating a DNS server for internal communication and separate outbound and inbound traffic but that would require maintaining internal DNS, adding internal and external endpoints to everything. Any other options ?

Mobeus

Collapse
 
emanoelxavier profile image
Emanoel Xavier

I recommend taking a look at this project istio.io service mesh.

Collapse
 
danielkun profile image
Daniel Albuschat

From what I read on istio.io, it seems to run on top of Kubernetes? For service discovery, wouldn't raw Kubernetes be sufficient? However, this would mean to re-architect the infrastructure anyways, especially when it does not yet run on containers. Maybe there is something more lightweight if you don't want to go all the way? (Although, when there are more problems to solve, such as load balancing, failure recovery or scaling, it might be totally worth it.)
I'm not working in the web space, so I can not give a recommendation.
Kubernetes has been a free-time endeavor so far.

Thread Thread
 
mobeus2013 profile image
Gustavo Chavez

Sorry this is pre k8s. I am aware that K8s will solve this issue. We will be jumping on ACS soon to be AKS but need a tactical solution until that materializes. Thx...
Mobeus

Collapse
 
jimmysong profile image
Jimmy Song

Ingress in the right way, such as Traefik of nginx ingress controller.