Skip to content

Commit 3f915e8

Browse files
author
Ryan Baxter
committed
Merge remote-tracking branch 'origin/1.0.x'
2 parents 53abd10 + d270327 commit 3f915e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/src/main/asciidoc/discovery-client.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ spring.cloud.kubernetes.discovery.enabled=false
5555

5656
Some Spring Cloud components use the `DiscoveryClient` in order to obtain information about the local service instance. For
5757
this to work, you need to align the Kubernetes service name with the `spring.application.name` property.
58+
59+
Spring Cloud Kubernetes can also watch the Kubernetes service catalog for changes and update the
60+
`DiscoveryClient` implementation accordingly. In order to enable this functionality you need to add
61+
`@EnableScheduling` on a configuration class in your application.

0 commit comments

Comments
 (0)