From 7d7f99d798ea248d258d826b1b67b5aa5aeeda6d Mon Sep 17 00:00:00 2001 From: karolpivo Date: Fri, 2 Jun 2023 13:54:53 +0200 Subject: [PATCH] feat: Removed an example from observability role --- CHANGELOG.md | 5 +++ ...istributed-deployment-layer-per-server.yml | 24 ----------- .../group_vars/all.yaml | 2 - .../group_vars/clients_consensus.yml | 15 ------- .../group_vars/clients_execution.yml | 10 ----- .../group_vars/clients_validator.yml | 11 ----- .../group_vars/consensus_lighthouse.yml | 2 - .../group_vars/consensus_prysm.yml | 4 -- .../group_vars/ethereum_servers.yml | 3 -- .../group_vars/execution_geth.yml | 2 - .../group_vars/execution_nethermind.yml | 2 - .../group_vars/monitoring_server.yml | 3 -- .../group_vars/validator_lighthouse.yml | 2 - .../group_vars/validator_prysm.yml | 5 --- .../inventory.ini | 42 ------------------- .../requirements.yml | 11 ----- 16 files changed, 5 insertions(+), 138 deletions(-) delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/distributed-deployment-layer-per-server.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/all.yaml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_consensus.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_execution.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_validator.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/consensus_lighthouse.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/consensus_prysm.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/ethereum_servers.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/execution_geth.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/execution_nethermind.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/monitoring_server.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/validator_lighthouse.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/validator_prysm.yml delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/inventory.ini delete mode 100644 slingnode.ethereum_observability/distributed-deployment-layer-per-server/requirements.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aef517..2308130 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.0] - 2023-06-02 + +### Changed + +- Removed distributed-deployment-layer-per-server example ## [0.3.0] - 2023-05-20 diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/distributed-deployment-layer-per-server.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/distributed-deployment-layer-per-server.yml deleted file mode 100644 index 3433a17..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/distributed-deployment-layer-per-server.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- -- name: Deploy ethereum stack with observability agents - each layer on a separate server - hosts: all - become: true - - - vars: - - jwt_secret_string: "7a813d06b0a08de1f1e70ebbc6b3ec8dc589f62d04d346b4754c9d739b4c648b" - suggested_fee_recipient: "0xa10214731A6D9eC03d36d1437796D1cEe6a061f7" - graffiti: SlingNode.com - enable_firewall: false - - - roles: - - role: geerlingguy.docker - vars: - docker_package_state: present - docker_install_compose_plugin: true - - - role: slingnode.ethereum - when: not monitoring_server | bool - - - role: slingnode.ethereum_observability diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/all.yaml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/all.yaml deleted file mode 100644 index db88b96..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/all.yaml +++ /dev/null @@ -1,2 +0,0 @@ -monitoring_server_host: "{{ hostvars[groups['monitoring_server'][0]]['ansible_facts']['default_ipv4']['address'] }}" -single_server_deployment: false \ No newline at end of file diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_consensus.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_consensus.yml deleted file mode 100644 index c31dd78..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_consensus.yml +++ /dev/null @@ -1,15 +0,0 @@ -deploy_execution: false -deploy_consensus: true -deploy_validator: false - -consensus_to_execution_mapping: "{{ dict(groups.clients_consensus | zip(groups.clients_execution)) }}" - -execution_client_node: "{{ consensus_to_execution_mapping[inventory_hostname] }}" - -execution_endpoint_authenticated: http://{{ hostvars[execution_client_node]['ansible_default_ipv4']['address'] }}:{{ execution_client_authrpc_port }} - -expose_consensus_client_http_port_to_host: true - -expose_consensus_client_metrics_port_to_host: true - -host_ip_address_to_bind_to: 0.0.0.0 diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_execution.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_execution.yml deleted file mode 100644 index 5956949..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_execution.yml +++ /dev/null @@ -1,10 +0,0 @@ -deploy_execution: true -deploy_consensus: false -deploy_validator: false - -expose_execution_client_authrpc_port_to_host: true - -expose_execution_client_metrics_port_to_host: true - -host_ip_address_to_bind_to: 0.0.0.0 - diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_validator.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_validator.yml deleted file mode 100644 index aceafa1..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/clients_validator.yml +++ /dev/null @@ -1,11 +0,0 @@ -deploy_execution: false -deploy_consensus: false -deploy_validator: true - -validator_to_consensus_mapping: "{{ dict(groups.clients_validator | zip(groups.clients_consensus)) }}" - -consensus_client_node: "{{ validator_to_consensus_mapping[inventory_hostname] }}" - -beacon_node: "http://{{ hostvars[consensus_client_node]['ansible_default_ipv4']['address'] }}:{{ consensus_client_http_port }}" - -expose_validator_client_metrics_port_to_host: true \ No newline at end of file diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/consensus_lighthouse.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/consensus_lighthouse.yml deleted file mode 100644 index 2e05f8a..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/consensus_lighthouse.yml +++ /dev/null @@ -1,2 +0,0 @@ -clients: - consensus: lighthouse diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/consensus_prysm.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/consensus_prysm.yml deleted file mode 100644 index c43d004..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/consensus_prysm.yml +++ /dev/null @@ -1,4 +0,0 @@ -clients: - consensus: prysm - -expose_prysm_rpc_port_to_host: true \ No newline at end of file diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/ethereum_servers.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/ethereum_servers.yml deleted file mode 100644 index 0047ac1..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/ethereum_servers.yml +++ /dev/null @@ -1,3 +0,0 @@ -monitoring_server: false -install_monitoring_agents: true -host_ip_address_to_bind_to: 0.0.0.0 \ No newline at end of file diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/execution_geth.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/execution_geth.yml deleted file mode 100644 index 05e59e8..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/execution_geth.yml +++ /dev/null @@ -1,2 +0,0 @@ -clients: - execution: geth \ No newline at end of file diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/execution_nethermind.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/execution_nethermind.yml deleted file mode 100644 index cae0e9b..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/execution_nethermind.yml +++ /dev/null @@ -1,2 +0,0 @@ -clients: - execution: nethermind \ No newline at end of file diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/monitoring_server.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/monitoring_server.yml deleted file mode 100644 index f94354d..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/monitoring_server.yml +++ /dev/null @@ -1,3 +0,0 @@ -monitoring_server: true -install_monitoring_agents: false -host_ip_address_to_bind_to: 0.0.0.0 \ No newline at end of file diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/validator_lighthouse.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/validator_lighthouse.yml deleted file mode 100644 index eaf4adf..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/validator_lighthouse.yml +++ /dev/null @@ -1,2 +0,0 @@ -clients: - validator: lighthouse \ No newline at end of file diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/validator_prysm.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/validator_prysm.yml deleted file mode 100644 index 65f9f0f..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/group_vars/validator_prysm.yml +++ /dev/null @@ -1,5 +0,0 @@ -clients: - validator: prysm - -prysm_beacon_rpc_provider: "{{ hostvars[consensus_client_node]['ansible_default_ipv4']['address'] }}:{{ prysm_rpc_port }}" -prysm_beacon_rpc_gateway_provider: "{{ hostvars[consensus_client_node]['ansible_default_ipv4']['address'] }}:{{ consensus_client_http_port }}" \ No newline at end of file diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/inventory.ini b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/inventory.ini deleted file mode 100644 index 7c0aefe..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/inventory.ini +++ /dev/null @@ -1,42 +0,0 @@ -[monitoring_server] -slingnode-mon-01 - -[execution_geth] -slingnode-exe-[01:25] - -[execution_nethermind] -slingnode-exe-[26:50] - - -[consensus_lighthouse] -slingnode-con-[01:25] - -[consensus_prysm] -slingnode-con-[26:50] - - -[validator_lighthouse] -slingnode-val-[01:25] - -[validator_prysm] -slingnode-val-[26:50] - - - -[clients_execution:children] -execution_geth -execution_nethermind - -[clients_consensus:children] -consensus_lighthouse -consensus_prysm - -[clients_validator:children] -validator_lighthouse -validator_prysm - - -[ethereum_servers:children] -clients_execution -clients_consensus -clients_validator \ No newline at end of file diff --git a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/requirements.yml b/slingnode.ethereum_observability/distributed-deployment-layer-per-server/requirements.yml deleted file mode 100644 index 8e87c4e..0000000 --- a/slingnode.ethereum_observability/distributed-deployment-layer-per-server/requirements.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -roles: - - name: slingnode.ethereum - - name: slingnode.ethereum_observability - - name: geerlingguy.docker - version: 6.1.0 - - -collections: - - name: community.docker - version: 3.4.0