1.准备server端
新建项目,引入
引入
de.codecentric
spring-boot-admin-starter-server
2.5.3
加上注解
Spring Boot Adminhttp://localhost:8033/applications
client 端:
de.codecentric spring-boot-admin-starter-client2.5.3
spring:
application:
name: admin-client
boot:
admin:
client:
# Spring Boot Admin Server地址
url: http://localhost:8888
management:
endpoints:
web:
exposure:
include: '*'
endpoint:
health:
show-details: always



