Skip to content

Commit

Permalink
more notes
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
Adrian Cole committed Feb 20, 2024
1 parent 759879a commit 4203254
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions charts/zipkin/ci/eureka-values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# sleep until Eureka is running, then start zipkin
# To avoid a race, sleep until Eureka is running before starting zipkin.
command: ['/bin/sh', '-c']
args:
- 'while ! wget -q --spider http://localhost:8761/eureka/v2/apps;do sleep 1; done && start-zipkin'
Expand All @@ -10,15 +10,18 @@ zipkin:
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
# extra containers are in the same pod, so this means Eureka is accessible to
# zipkin via localhost.
extraContainers:
- name: eureka
image: 'ghcr.io/openzipkin/zipkin-eureka'
ports:
- containerPort: 8761

# test-connection runs in a different pod, so it can't verify Eureka unless we
# expose a service port.
extraServicePorts:
- port: 8761
targetPort: 8761
protocol: TCP
name: eureka

0 comments on commit 4203254

Please sign in to comment.