Commit 4c3fa92a by Johannes Edmeier

Add note for using admin server in eureka server

parent b9b55166
......@@ -107,7 +107,7 @@ Also have a look at the http://projects.spring.io/spring-cloud/spring-cloud.html
</dependency>
----
. Enable the Discovery by adding `@EnableDiscoveryClient` to your configuration:
. Enable discovery by adding `@EnableDiscoveryClient` to your configuration:
+
[source,java]
----
......@@ -122,7 +122,7 @@ public class SpringBootAdminApplication {
}
----
. Tell the Eureka client to find the service registry:
. Tell the Eureka client where to find the service registry:
+
[source]
.application.properties
......@@ -132,6 +132,8 @@ eureka.instance.client.serviceUrl.defaultZone: http://localhost:8761/eureka/
See also https://github.com/codecentric/spring-boot-admin/tree/master/spring-boot-admin-samples/spring-boot-admin-sample-discovery/[spring-boot-admin-sample-discovery].
NOTE: You can include the Spring Boot Admin to your Eureka server. Add the dependencies, add `@EnableAdminServer` to your configuration and set `spring.boot.admin.context-path` to something different than `"/"` so that the Spring Boot Admin Server UI won't clash with Eurekas one.
[[client-applications]]
== Client applications ==
......@@ -199,7 +201,7 @@ spring.boot.admin.password
| spring.boot.admin.period
| Interval for repeating the registration (in ms).
| `10000`
| `10.000`
| spring.boot.admin.auto-deregistration
| Swtich to enable auto-deregistration at admin when context is closed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment