Closed pinheadmz closed 2 months ago
TODO: Still gotta figure out how to get pre-populated databases into those new cb containers
rebased on main after #290 so test base healthcheck should wait for circuit breakers, which was causing failures before
Closes: https://github.com/bitcoin-dev-project/warnet/issues/228 Requires (based on) https://github.com/bitcoin-dev-project/warnet/pull/287
Adds one more data element to tanks in the graphml file:
This adds a container running circuit breaker, and connects it to the corresponding lnd container. In K8s, both containers are in the same pod so they can interact via
localhost
and share a volume at/root/.lnd
in both containers. In docker they also share a volume with that same path (this is needed to pass circuitbreaker the credentials generated by lnd).~I'm not sure how else to test circuit breaker~, but the logs look promising. It keeps retrying to connect until it finally does:
UPDATE: add rpc
exec_run
to make a request from the circuit breaker local API and check the forwards.reference: