-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds eureka and test infrastructure to support it
This adds Eureka discovery properties, and some test infrastructure so we can easily verify it from a different (test) pod. Signed-off-by: Adrian Cole <[email protected]>
- Loading branch information
Adrian Cole
committed
Feb 20, 2024
1 parent
3038dc9
commit 6044d26
Showing
8 changed files
with
150 additions
and
4 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
# sleep until Eureka is running, then start zipkin | ||
command: [ '/bin/sh', '-c' ] | ||
args: | ||
- 'while ! wget -q --spider http://localhost:8761/eureka/v2/apps;do sleep 1; done && start-zipkin' | ||
|
||
zipkin: | ||
discovery: | ||
eureka: | ||
serviceUrl: http://localhost:8761/eureka/v2 | ||
hostName: zipkin | ||
|
||
extraServicePorts: | ||
- port: 8761 | ||
targetPort: 8761 | ||
protocol: TCP | ||
name: eureka | ||
|
||
# extra containers are in the same pod, so accessible by localhost | ||
extraContainers: | ||
- name: eureka | ||
image: 'ghcr.io/openzipkin/zipkin-eureka' | ||
ports: | ||
- containerPort: 8761 |
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
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
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
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
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
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