expose API at unstable.kiln.beacon-api.nimbus.team

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-03-30 18:27:01 +02:00
parent 79c5899f62
commit 5bbc1458cf
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
3 changed files with 17 additions and 0 deletions

View File

@ -56,6 +56,12 @@ beacon_node_discovery_port: '{{ 9000 + idx|int + 1 }}'
beacon_node_listening_port: '{{ 9000 + idx|int + 1 }}'
beacon_node_metrics_port: '{{ 9200 + idx|int + 1 }}'
beacon_node_rest_port: '{{ 9300 + idx|int + 1 }}'
beacon_node_rest_address: '0.0.0.0'
# Make one of the nodes public
redirect_ports:
# beacon-node-kiln-devauth-01.service
- { src: 80, dst: 9301, comment: 'Test Beacon API (80->9301/tcp)' }
nodes_layout:
'metal-01.he-eu-hel1.nimbus.kiln':

View File

@ -14,6 +14,8 @@
serial: '{{ serial|default(1) }}'
hosts:
- nimbus-kiln-metal
roles:
- { role: redirect-ports, tags: [ redirect-ports ] }
tasks:
- include_role: name=infra-role-geth
tags: [ geth, infra-role-geth ]

View File

@ -13,3 +13,12 @@ module "nimbus_nodes_kiln_hetzner" {
"65.21.89.157", # metal-01.he-eu-hel1.nimbus.kiln
]
}
/* Community test REST API endpoints. */
resource "cloudflare_record" "unstable_kiln_beacon_api" {
zone_id = local.zones["nimbus.team"]
name = "unstable.kiln.beacon-api"
value = module.nimbus_nodes_kiln_hetzner.public_ips[0]
type = "A"
proxied = false
}