Let me ask you a question: after using kubernetes, can Eureka be replaced?

The Service of

K8s can achieve load balancing and can detect the status of each pod. Is it possible not to apply Eureka-server?


our company uses eureka instead of service for service discovery. There are many reasons, and one of the important reasons is that eureka belongs to the spring cloud system. If you use spring cloud micro-service architecture, using eureka will have many advantages. For example, eureka natively supports many features, such as registration, heartbeat mechanism, circuit breaker, etc., and micro-services and micro-services can communicate directly through feign client, as well as a ui and a perfect logging system. With service, if you want to inherit from spring cloud, you need a lot of additional configuration, which is a little complicated.

Menu