mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-03-03 14:50:28 +00:00
deploy new layout with Madella nodes on each host
See: https://github.com/status-im/infra-nimbus/issues/23 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
b7cc6697e8
commit
652c7129fa
@ -1,18 +0,0 @@
|
||||
---
|
||||
# TRACE needs more disk space
|
||||
bootstrap__rsyslog_docker_logs_path: '/docker/log'
|
||||
# The volume of logs is too big and Nimbus team doesn't use their own cluster
|
||||
bootstrap__rsyslog_docker_logstash_send: false
|
||||
|
||||
# lower local retention to save space
|
||||
bootstrap__logrotate_frequency: 'hourly'
|
||||
bootstrap__logrotate_count: 3
|
||||
bootstrap__logrotate_mbytes: 200
|
||||
|
||||
nimbus_stats_domain: nimbus-test-stats.status.im
|
||||
|
||||
beacon_node_log_level: DEBUG
|
||||
|
||||
# resource limits
|
||||
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.60) | int }}'
|
||||
beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.4) | int }}'
|
@ -9,7 +9,20 @@ bootstrap__logrotate_frequency: 'hourly'
|
||||
bootstrap__logrotate_count: 3
|
||||
bootstrap__logrotate_mbytes: 500
|
||||
|
||||
# Nimbus ------------------------------
|
||||
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network }}-{{ beacon_node_repo_branch }}'
|
||||
beacon_node_log_level: DEBUG
|
||||
beacon_node_timer_rebuild: true
|
||||
|
||||
# entwork
|
||||
beacon_node_network: 'testnet3'
|
||||
beacon_node_shared_testnet: 'medalla'
|
||||
|
||||
# ports
|
||||
beacon_node_rpc_port: '11000'
|
||||
beacon_node_metrics_port : '9300'
|
||||
beacon_node_listening_port: '9100'
|
||||
beacon_node_discovery_port: '9100'
|
||||
|
||||
# resource limits
|
||||
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.60) | int }}'
|
@ -7,45 +7,26 @@
|
||||
that: 'ansible_version.full is version_compare("2.8", ">=")'
|
||||
msg: 'Your Ansible version is lower than 2.8. Upgrade it.'
|
||||
|
||||
- name: Configure Nimbus master
|
||||
hosts:
|
||||
- nimbus-master
|
||||
roles:
|
||||
- { role: origin-certs, tags: [ origin-certs ] }
|
||||
#- { role: nimbus-stats, tags: nimbus-stats }
|
||||
|
||||
- name: Configure shared testnet3
|
||||
hosts:
|
||||
- nimbus-master
|
||||
- nimbus-slaves[0:4]
|
||||
hosts: nimbus.test[0:3]
|
||||
vars:
|
||||
beacon_node_network: 'testnet3'
|
||||
beacon_node_shared_testnet: 'medalla'
|
||||
beacon_node_rpc_port: '11000'
|
||||
beacon_node_metrics_port : '9300'
|
||||
beacon_node_listening_port: '9100'
|
||||
beacon_node_discovery_port: '9100'
|
||||
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network }}'
|
||||
beacon_node_timer_rebuild: true
|
||||
cont_restart: true
|
||||
beacon_node_repo_branch: 'master'
|
||||
roles:
|
||||
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
||||
- { role: network-debug-script, tags: [ network-debug-script ] }
|
||||
|
||||
- name: Configure seared testnet2
|
||||
hosts:
|
||||
- nimbus-slaves[5:8]
|
||||
tags: beacon-node
|
||||
- name: Configure shared testnet2
|
||||
hosts: nimbus.test[4:7]
|
||||
vars:
|
||||
beacon_node_network: 'testnet2'
|
||||
beacon_node_shared_testnet: 'altona'
|
||||
beacon_node_rpc_port: '11000'
|
||||
beacon_node_metrics_port : '9300'
|
||||
beacon_node_listening_port: '9100'
|
||||
beacon_node_discovery_port: '9100'
|
||||
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network }}'
|
||||
beacon_node_timer_rebuild: true
|
||||
cont_restart: true
|
||||
beacon_node_repo_branch: 'develop'
|
||||
roles:
|
||||
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
||||
- { role: network-debug-script, tags: [ network-debug-script ] }
|
||||
|
||||
- name: Configure shared testnet2
|
||||
hosts: nimbus.test[8:9]
|
||||
vars:
|
||||
beacon_node_repo_branch: 'nim-libp2p-auto-bump'
|
||||
roles:
|
||||
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }
|
||||
- { role: network-debug-script, tags: [ network-debug-script ] }
|
||||
|
Loading…
x
Reference in New Issue
Block a user