deploy SMART metrics to all metal hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e1e21119da
commit
4ea58aeda7
|
@ -16,6 +16,7 @@
|
|||
roles:
|
||||
- { role: swap-file, tags: swap-file }
|
||||
- { role: open-ports, tags: open-ports }
|
||||
- { role: smart-metrics, tags: smart-metrics }
|
||||
- { role: infra-role-geth, tags: infra-role-geth }
|
||||
- { role: infra-role-geth-exporter, tags: infra-role-geth-exporter }
|
||||
|
||||
|
@ -27,6 +28,7 @@
|
|||
roles:
|
||||
- { role: swap-file, tags: swap-file }
|
||||
- { role: open-ports, tags: open-ports }
|
||||
- { role: smart-metrics, tags: smart-metrics }
|
||||
tasks:
|
||||
- include_role: name=infra-role-geth
|
||||
tags: [ geth, infra-role-geth ]
|
||||
|
|
|
@ -38,6 +38,9 @@ consul_catalog_url: 'http://localhost:8500/v1/catalog'
|
|||
swap_file_path: '/docker/main.swap'
|
||||
swap_file_size_mb: 2048
|
||||
|
||||
# SMART Metrics
|
||||
smart_metrics_listen_port: 9633
|
||||
|
||||
# Nimbus ------------------------------
|
||||
beacon_node_log_level: DEBUG
|
||||
# Builds
|
||||
|
|
|
@ -55,3 +55,4 @@ open_ports_list:
|
|||
- { port: '{{ es_node_port }}', ipset: 'logs.nimbus' }
|
||||
- { port: '{{ es_node_port }}', ipset: 'dash.nimbus' }
|
||||
- { port: '{{ es_exp_cont_port }}', ipset: 'metrics.hq' }
|
||||
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
|
||||
|
|
|
@ -33,6 +33,7 @@ open_ports_default_chain: 'VPN'
|
|||
open_ports_list:
|
||||
- { port: '9400:9404', ipset: 'metrics.hq', comment: 'Geth Metrics' }
|
||||
- { port: '8551:8554', ipset: 'nimbus.prater' }
|
||||
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
|
||||
|
||||
nodes_layout:
|
||||
# For AWS Prater nodes.
|
||||
|
|
|
@ -36,6 +36,7 @@ open_ports_default_comment: 'Geth API'
|
|||
open_ports_default_chain: 'VPN'
|
||||
open_ports_list:
|
||||
- { port: '{{ geth_expo_cont_port }}', ipset: 'metrics.hq', comment: 'Geth Metrics' }
|
||||
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
|
||||
- { port: '{{ geth_rpc_port }}', ipset: 'nimbus.mainnet' }
|
||||
- { port: '{{ geth_rpc_port }}', ipset: 'eth2.prod' }
|
||||
- { port: '{{ geth_authrpc_port }}', ipset: 'nimbus.mainnet' }
|
||||
|
|
|
@ -98,6 +98,7 @@ open_ports_default_chain: 'VPN'
|
|||
open_ports_list:
|
||||
- { port: '9300:9310', ipset: '{{ env }}.{{ stage }}' }
|
||||
- { port: '9400', ipset: 'metrics.hq', comment: 'Geth Exporter' }
|
||||
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
|
||||
|
||||
# Split by hostname for more central location
|
||||
nodes_layout:
|
||||
|
|
|
@ -136,6 +136,7 @@ open_ports_default_chain: 'VPN'
|
|||
open_ports_list:
|
||||
- { port: '9300:9310', ipset: '{{ env }}.{{ stage }}' }
|
||||
- { port: '9400:9404', ipset: 'metrics.hq', comment: 'Geth Exporter' }
|
||||
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
|
||||
# https://github.com/status-im/infra-nim-waku/issues/59
|
||||
- { port: '9546:9550', ipset: 'wakuv2.test', comment: 'Wakuv2 Websocket' }
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
hosts: nimbus-mainnet-metal
|
||||
roles:
|
||||
- { role: open-ports, tags: [ open-ports ] }
|
||||
- { role: smart-metrics, tags: [ smart-metrics ] }
|
||||
- { role: redirect-ports, tags: [ redirect-ports ] }
|
||||
- { role: infra-role-geth, tags: [ infra-role-geth ] }
|
||||
- { role: infra-role-geth-exporter, tags: [ infra-role-geth-exporter ] }
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
hosts: nimbus-prater-metal
|
||||
roles:
|
||||
- { role: open-ports, tags: [ open-ports ] }
|
||||
- { role: smart-metrics, tags: [ smart-metrics ] }
|
||||
- { role: redirect-ports, tags: [ redirect-ports ] }
|
||||
- { role: nimbus-era-files, tags: [ nimbus-era-files ] }
|
||||
tasks:
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
- name: infra-role-rocketpool
|
||||
src: git@github.com:status-im/infra-role-rocketpool.git
|
||||
version: 8c96f6c15af5aefc1f022f6dcd7c0efb1ce29b63
|
||||
version: 5b8106a8c6e17ec96e992fd8711fc42f0aab901a
|
||||
scm: git
|
||||
|
||||
- name: infra-role-winsw
|
||||
|
@ -122,3 +122,8 @@
|
|||
src: git@github.com:status-im/infra-role-geth-exporter.git
|
||||
version: 21770167cdeb5c481066547b6d0814f1ba8546c1
|
||||
scm: git
|
||||
|
||||
- name: smart-metrics
|
||||
src: git@github.com:status-im/infra-role-smart-metrics.git
|
||||
version: f94db4679ef3f920188565dda1e3933cdf70e39a
|
||||
scm: git
|
||||
|
|
Loading…
Reference in New Issue