From 47a358b6ce7fc17eba56911d5a28fa19c8534134 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 16 May 2019 21:21:22 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-kubernetes.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spring-cloud-kubernetes.html b/spring-cloud-kubernetes.html index 451c277b..d0b476ea 100644 --- a/spring-cloud-kubernetes.html +++ b/spring-cloud-kubernetes.html @@ -300,6 +300,11 @@ private DiscoveryClient discoveryClient;

Some Spring Cloud components use the DiscoveryClient in order to obtain information about the local service instance. For this to work, you need to align the Kubernetes service name with the spring.application.name property.

+
+

Spring Cloud Kubernetes can also watch the Kubernetes service catalog for changes and update the +DiscoveryClient implementation accordingly. In order to enable this functionality you need to add +@EnableScheduling on a configuration class in your application.

+