nimbus.prater: create testing.prater.beacon-api endpoint

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-10-05 10:34:16 +02:00
parent 8a91646bfe
commit b78c5421b5
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
4 changed files with 31 additions and 2 deletions

View File

@ -2,6 +2,19 @@
This repo defines Nimbus cluster infrastructure.
# Endpoints
These are [Beacon API](https://ethereum.github.io/beacon-APIs/) endpoints intended for community testing.
| Endpoint | Host |
|-------------------------------------------------|--------------------------------------|
| http://unstable.mainnet.beacon-api.nimbus.team/ | `metal-01.he-eu-hel1.nimbus.mainnet` |
| http://testing.mainnet.beacon-api.nimbus.team/ | `metal-02.he-eu-hel1.nimbus.mainnet` |
| http://unstable.prater.beacon-api.nimbus.team/ | `metal-01.he-eu-hel1.nimbus.prater` |
| http://testing.prater.beacon-api.nimbus.team/ | `metal-02.he-eu-hel1.nimbus.prater` |
These nodes have no validators attached.
# Requirements
In order to use this you will need secrets(passwords, certs, keys) contained within the [infra-pass](https://github.com/status-im/infra-pass) repository. If you can't see it ask jakub@status.im to get you access for it.

View File

@ -5,4 +5,4 @@ beacon_node_rest_address: '0.0.0.0'
# WARNING: This will change if number of nodes changes.
redirect_ports:
# beacon-node-prater-unstable-02
- { src: 80, dst: 9305, comment: 'Test Beacon API (80->9304/tcp)' }
- { src: 80, dst: 9305, comment: 'Test Beacon API (80->9305/tcp)' }

View File

@ -0,0 +1,8 @@
---
# Communityu test REST API endpoint.
beacon_node_rest_address: '0.0.0.0'
# WARNING: This will change if number of nodes changes.
redirect_ports:
# beacon-node-prater-testing-02
- { src: 80, dst: 9303, comment: 'Test Beacon API (80->9303/tcp)' }

View File

@ -188,7 +188,7 @@ module "nimbus_nodes_prater_hetzner" {
]
}
/* Community test REST API endpoint. */
/* Community test REST API endpoints. */
resource "cloudflare_record" "unstable_prater_beacon_api" {
zone_id = local.zones["nimbus.team"]
name = "unstable.prater.beacon-api"
@ -197,6 +197,14 @@ resource "cloudflare_record" "unstable_prater_beacon_api" {
proxied = false
}
resource "cloudflare_record" "testing_prater_beacon_api" {
zone_id = local.zones["nimbus.team"]
name = "testing.prater.beacon-api"
value = module.nimbus_nodes_prater_hetzner.public_ips[1]
type = "A"
proxied = false
}
module "nimbus_nodes_prater_macos" {
source = "./modules/dummy-module"