nimbus.kiln: configure beacon nodes without validators
https://github.com/status-im/infra-nimbus/issues/88 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a4e54f2c5e
commit
0d5ef90cd2
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
# Go-Ethereum
|
# Go-Ethereum
|
||||||
geth_service_name: 'geth-kiln-{{ "%02d"|format(idx|int) }}'
|
geth_service_name: 'geth-kiln-{{ "%02d"|format(idx|int+1) }}'
|
||||||
geth_network_id: 1337802
|
geth_network_id: 1337802
|
||||||
geth_sync_mode: 'snap'
|
geth_sync_mode: 'snap'
|
||||||
geth_log_level_name: info
|
geth_log_level_name: info
|
||||||
|
@ -25,11 +25,35 @@ geth_bootnodes:
|
||||||
geth_rcp_api: 'eth,net,web3,personal,admin,engine'
|
geth_rcp_api: 'eth,net,web3,personal,admin,engine'
|
||||||
geth_websocket_api: 'eth,net,web3,personal,admin,engine'
|
geth_websocket_api: 'eth,net,web3,personal,admin,engine'
|
||||||
# Ports
|
# Ports
|
||||||
geth_port: '{{ 30303 + idx|int }}'
|
geth_port: '{{ 30303 + idx|int + 1 }}'
|
||||||
geth_metrics_port: '{{ 6060 + idx|int }}'
|
geth_metrics_port: '{{ 6060 + idx|int + 1 }}'
|
||||||
geth_rpc_enabled: true
|
geth_rpc_enabled: true
|
||||||
geth_rpc_addr: '0.0.0.0'
|
geth_rpc_addr: '0.0.0.0'
|
||||||
geth_rpc_port: '{{ 8545 + idx|int }}'
|
geth_rpc_port: '{{ 8545 + idx|int + 1 }}'
|
||||||
geth_websocket_enabled: true
|
geth_websocket_enabled: true
|
||||||
geth_websocket_addr: '0.0.0.0'
|
geth_websocket_addr: '0.0.0.0'
|
||||||
geth_websocket_port: '{{ 9546 + idx|int }}'
|
geth_websocket_port: '{{ 9546 + idx|int + 1 }}'
|
||||||
|
|
||||||
|
# Beacon Nodes
|
||||||
|
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-devauth-{{ "%02d"|format(idx|int+1) }}'
|
||||||
|
# WARNING: This is a manually copied network config folder relative to CWD.
|
||||||
|
beacon_node_network: 'kiln'
|
||||||
|
beacon_node_repo_branch: 'kiln-dev-auth'
|
||||||
|
# Builds
|
||||||
|
beacon_node_build_frequency: 'daily'
|
||||||
|
# Eth1 Sync
|
||||||
|
beacon_node_web3_urls: ['ws://{{ hostname }}.wg:{{ geth_websocket_port }}']
|
||||||
|
# Ports
|
||||||
|
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_rpc_port: '{{ 9900 + idx|int + 1 }}'
|
||||||
|
|
||||||
|
# TODO: Add validator layout.
|
||||||
|
nodes_layout:
|
||||||
|
'metal-01.he-eu-hel1.nimbus.kiln':
|
||||||
|
- {}
|
||||||
|
- {}
|
||||||
|
- {}
|
||||||
|
- {}
|
||||||
|
|
|
@ -17,6 +17,13 @@
|
||||||
tasks:
|
tasks:
|
||||||
- include_role: name=infra-role-geth
|
- include_role: name=infra-role-geth
|
||||||
tags: [ geth, infra-role-geth ]
|
tags: [ geth, infra-role-geth ]
|
||||||
with_sequence: start=1 end=4
|
with_items: '{{ nodes_layout[hostname] }}'
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: 'idx'
|
loop_var: node
|
||||||
|
index_var: idx
|
||||||
|
- include_role: name=infra-role-beacon-node-linux
|
||||||
|
tags: [ beacon-node, infra-role-beacon-node-linux ]
|
||||||
|
with_items: '{{ nodes_layout[hostname] }}'
|
||||||
|
loop_control:
|
||||||
|
loop_var: node
|
||||||
|
index_var: idx
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
- name: infra-role-beacon-node-linux
|
- name: infra-role-beacon-node-linux
|
||||||
src: git@github.com:status-im/infra-role-beacon-node-linux.git
|
src: git@github.com:status-im/infra-role-beacon-node-linux.git
|
||||||
version: 0dc85839fa6379ddb5b0fcc3da7f4ab7d5bb9c81
|
version: 79839d307d22b68d4829552b7a618bcdfb28645b
|
||||||
scm: git
|
scm: git
|
||||||
|
|
||||||
- name: infra-role-beacon-node-windows
|
- name: infra-role-beacon-node-windows
|
||||||
|
|
Loading…
Reference in New Issue