Created
July 24, 2023 16:26
-
-
Save ilozano2/9bcf7af0a0dd6dabefe1a047537c66d1 to your computer and use it in GitHub Desktop.
Health check configurations per Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring: | |
cloud: | |
clients: | |
hello-service: | |
health-check: | |
port: 9090 | |
path: xxx | |
interval: | |
hint: {} | |
discovery: | |
client: | |
simple: # SimpleDiscoveryClient to configure statically services | |
instances: | |
hello-service: | |
- secure: false | |
port: 8090 | |
host: localhost | |
serviceId: hello-service | |
instanceId: hello-service-1 | |
- secure: false | |
port: 8091 | |
host: localhost | |
serviceId: hello-service | |
instanceId: hello-service-2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment