when some microservice goes down then there is a chance to change IP address when it reloaded..then, how to set IP and port of each microservices?

97 views Asked by At

I'm going to deploy my microservices on DCOS, and they will communicate using REST API with each other

I know when some microservice(ex: regist user , create post ...so on) goes down, then it will be reloaded

and it could have different ip address. so i'm very confused

how to set ip and port about each microservices??

this picture is about ip changing situation enter image description here

as you see in this picture, ip address changed between 192.168.0.122~192.168.0.125

0

There are 0 answers