Commit Graph

121 Commits

Author SHA1 Message Date
Jakub Sokołowski 17fe4a04fc
bump instance size to n1-highmem-2 to fix memory issues
I saw a lot of swapping and RPC errors from nodes.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-04 22:43:12 +01:00
Jakub Sokołowski 44666e7a7c
split terraform resources into separate files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-04 22:31:53 +01:00
Jakub Sokołowski 56518e03ec
ansible.cfg: fix group name warnings
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-04 22:30:24 +01:00
Jakub Sokołowski 65c2e04fb1
ansible/terraform.py: drop deprecated encoding argument
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-04 22:29:46 +01:00
Jakub Sokołowski edb26d3c03
ansible.cfg: enable ansible ssh multiplexing
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-01 13:26:27 +01:00
Jakub Sokołowski 9dcd3e1746
ansible.cfg: shell instead of command as default module
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-25 15:14:14 +01:00
Jakub Sokołowski d1ce8f7533
add 50 GB data volume to faucet host to store geth data
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-25 21:40:09 +01:00
Jakub Sokołowski 4a35e9a79f
add websocket port, adjust other ports
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-25 21:39:42 +01:00
Jakub Sokołowski 1d319f9fc4
upgrade google provider to 3.42.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-25 18:07:25 +01:00
Jakub Sokołowski 05c1b21639
disable websocket api, not necessary
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-24 17:14:56 +01:00
Jakub Sokołowski bfd2c506d8
use our own fork of Nginx role to fix permissions
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-07 19:49:46 +02:00
Jakub Sokołowski 3a17203bd2
lock terraform version at ~> 0.13.3
https://www.terraform.io/docs/configuration/version-constraints.html#gt--1

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-17 17:14:19 +02:00
Jakub Sokołowski 6407a7beb3
upgrade to terraform 0.13
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-07 22:15:14 +02:00
Jakub Sokołowski 36b90af4ac
update *vol_size variable name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-08-14 16:21:22 +02:00
Jakub Sokołowski ac7a976086
increase faucet-master root size to 30 GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-29 08:42:57 +02:00
Jakub Sokołowski 15a66f2dd3
faucet-master: lower SWAP size to 1GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-24 21:02:52 +02:00
Jakub Sokołowski 44d46a30e1
use new memory variables for geth role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 18:09:16 +01:00
Jakub Sokołowski 41aa7e315b
reduce swap size to 2GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 09:34:04 +01:00
Jakub Sokołowski e30cf6fe95
add SYNCING.md about fixing syncing issues
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-29 14:04:53 +01:00
Jakub Sokołowski 56d6ba18a6
add tags to playbook
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-29 13:58:20 +01:00
Jakub Sokołowski d79a3f7d6d
terraform: specify provider versions
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-07 21:16:29 +01:00
Jakub Sokołowski ab71feac05
adjust memory limits, add 4GB swap file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-19 21:18:29 +01:00
Jakub Sokołowski 5c30c3ee93
make wget overwrite the provider archive
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-15 09:46:30 +01:00
Jakub Sokołowski 0f7af9e2d4
update origin-certs role arguments
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-12 23:43:52 +01:00
Jakub Sokołowski 57b5dd293e
update consul faucet check name to be different
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-10 02:15:21 -04:00
Jakub Sokołowski 49e6a9d33c
lower cache ratio to 0.15
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-10 01:39:13 -04:00
Jakub Sokołowski e299da41ea
upgrade faucet instance to one with more memory and space
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 22:32:30 -04:00
Jakub Sokołowski 54feca95f3
fix memory relations, cache lower than cont mem limit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 21:55:47 -04:00
Jakub Sokołowski a6d0b26a08
explicit conversion to string
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 21:55:03 -04:00
Jakub Sokołowski 37c19cc51a
restart only on geth failure
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 14:56:31 -04:00
Jakub Sokołowski 0804df48b4
fix order in emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-02 18:48:19 -04:00
Jakub Sokołowski 10219307b6
upgrade ansible inventory script
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-02 18:48:10 -04:00
Jakub Sokołowski a94b704070
add output with list of hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-02 18:39:38 -04:00
Jakub Sokołowski 3f71419e17
upgrade to Terraform 0.12
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-28 22:26:00 -04:00
Jakub Sokołowski 36a2eb87e0
set prod to the default terraform environment
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 23:33:30 -04:00
Jakub Sokołowski bdb2b1b636
change consul id, not name, it has to be geth-exporter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 22:47:16 -04:00
Jakub Sokołowski 325f4b8761
keep only one env: prod
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 22:39:39 -04:00
Jakub Sokołowski a3e837297d
run all faucets on just one host
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 22:39:34 -04:00
Jakub Sokołowski b39720f7b1
remove finkeby miners from emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 11:21:17 -04:00
Jakub Sokołowski c1d74f2f25
drop Rinkeby miners since it's a PoA network
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-19 10:48:34 -04:00
Jakub Sokołowski e7675e742f
use ratios that set cache lower than container mem limit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-19 10:45:38 -04:00
Jakub Sokołowski e658ba648c
remove ropsten miners for now
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-11 14:48:09 -04:00
Jakub Sokołowski d560aa01cb
drop ropsten miners, we have enough ETH for now
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-11 14:41:35 -04:00
Jakub Sokołowski 25966ee679
set goerli master volume size to 50 GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-28 17:15:06 -04:00
Jakub Sokołowski c6dc49f7ed
adjust geth cache based on host memory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-28 15:56:39 -04:00
Jakub Sokołowski 4b70c11e88
use full sync for goerli network
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-28 15:21:31 -04:00
Jakub Sokołowski 12c619da19
add fix for deprecation of dashes in group names
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-12 17:40:20 -04:00
Jakub Sokołowski 56f3d3b435
use the default latest tag for geth_exporter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-31 14:42:57 -04:00
Jakub Sokołowski 60c9747731
move repo usage infor to infra-docs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-30 07:23:01 -04:00
Jakub Sokołowski aa57e277d7
update goerli emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-30 07:22:49 -04:00