Sync docs from master to gh-pages
This commit is contained in:
@@ -300,6 +300,11 @@ private DiscoveryClient discoveryClient;</code></pre>
|
||||
<p>Some Spring Cloud components use the <code>DiscoveryClient</code> in order to obtain information about the local service instance. For
|
||||
this to work, you need to align the Kubernetes service name with the <code>spring.application.name</code> property.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>Spring Cloud Kubernetes can also watch the Kubernetes service catalog for changes and update the
|
||||
<code>DiscoveryClient</code> implementation accordingly. In order to enable this functionality you need to add
|
||||
<code>@EnableScheduling</code> on a configuration class in your application.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
|
||||
Reference in New Issue
Block a user