Can I use kubernetes as service discovery in spring cloud?

3/14/2016

May I ask if it is possible that I will use kubernetes in spring cloud instead of Eureka server? The reason I am asking is we already have Kubernetes in our environment, I know Kubernete also provide service discovery, so I don't want to start Eureka server for service discovery purpose. If I can replace Eureka with Kubernete, that will be great.

-- user3006967
kubernetes
netflix-eureka
service-discovery
spring-cloud

1 Answer

8/3/2016

How about spring-cloud-kubernetes by fabric8io?

There is an implementation of the DiscoveryService interface to work with Kubernetes services.

-- Rafael
Source: StackOverflow