Commit graph

186 commits

Author SHA1 Message Date
Alex 6c07a42978 different wgautomesh gossip ports for prod and staging 2023-05-04 13:39:33 +02:00
Alex 607add3161 make specifying an ipv6 fully optionnal 2023-04-21 14:36:10 +02:00
Alex a9e9149739 Fix unbound; remove Nixos firewall (use only diplonat) 2023-04-21 11:29:15 +02:00
Alex b4e82e37e4 diplonat with fixed iptables thing 2023-04-20 15:13:13 +02:00
Alex e5f9f3c849 increase diplonat ram 2023-04-19 21:05:47 +02:00
Alex 0372df95b5 staging: fix consul server addresses 2023-04-19 20:36:24 +02:00
Alex 9737c661a4 Merge branch 'main' into simplify-network-config 2023-04-19 20:15:03 +02:00
Alex 07f50f297a D53 with addresses from DiploNAT autodiscovery; diplonat fw opening for tricot 2023-04-05 16:30:28 +02:00
Quentin 0e4c641db7
redeploy bagage 2023-04-05 15:50:53 +02:00
Alex 16422d2809 introduce back static ipv4 prefix lenght but with default value 2023-04-05 14:04:11 +02:00
Alex dec4ea479d Allow for IPv6 with RA disabled by manually providing gateway 2023-04-05 13:27:18 +02:00
Alex cb8d7e92d2 staging: ipv6-only diplonat for automatic address discovery 2023-04-05 10:25:22 +02:00
Alex ecfab3c628 Merge branch 'main' into simplify-network-config 2023-03-24 15:35:27 +01:00
Alex 96566ae523 refactor configuration syntax 2023-03-24 15:26:39 +01:00
Alex e2aea648cf greatly simplify ipv4 and ipv6 configuration 2023-03-24 14:42:36 +01:00
Baptiste Jonglez 8ae9ec6514 Update piranha IP again 2023-03-24 13:01:24 +01:00
Alex a0db30ca26 Sanitize DNS configuration
- get rid of outside nameserver, unbound does the recursive resolving
  itself (and it checks DNSSEC)
- remove CAP_NET_BIND_SERVICE for Consul as it is no longer binding on
  port 53 (was already obsolete)
- make unbound config independant of LAN IPv4 address
2023-03-24 12:58:44 +01:00
Alex 5cd69a9ba1 Merge branch 'main' into wgautomesh 2023-03-24 11:29:14 +01:00
Quentin bebbf5bd8b
wip rsa-ecc proxy 2023-03-20 09:45:05 +01:00
Alex 90efd9155b wgautomesh variable log level (debug for staging) 2023-03-17 18:21:50 +01:00
Alex 6664affaa0 wgautomesh gossip secret file 2023-03-17 17:17:56 +01:00
Alex baae97b192 sample deployment of wgautomesh on staging (dont deploy prod with this commit) 2023-03-17 17:17:56 +01:00
Quentin 551988c808
do not allow stale information reading 2023-03-16 17:01:17 +01:00
Quentin 6fe8ef6eed
update albatros 2023-03-16 16:53:16 +01:00
Quentin 8b67c48c52
Fix consul port 2023-03-16 16:19:35 +01:00
Quentin 7bf1467cb1
add albatros 2023-03-16 15:52:13 +01:00
Alex 2a0eff07c0 fix cleanup of deploypass 2023-03-15 17:49:31 +01:00
Quentin c681f63222
alloc more mem 2023-03-14 18:37:28 +01:00
Quentin d2b8b0c517
wip homemade ci? 2023-03-14 17:32:49 +01:00
Alex 850ea784e7 staging updates 2023-03-09 11:08:33 +01:00
Baptiste Jonglez 3eb5e21f9d New IP for piranha 2023-03-06 14:30:22 +01:00
Alex 2d55b1dfcc updated garage and d53 on staging 2023-01-26 17:52:27 +01:00
Alex 8e76707c44
fix tricot hostname on prod 2023-01-11 22:18:52 +01:00
Alex 0da378d053
staging: remove constraint on im 2023-01-05 11:15:30 +01:00
Alex 9fabb5844a
staging: remove node cariacou, update garage 2023-01-04 17:06:39 +01:00
Alex da78f3671e
staging: deploy things on bespin 2023-01-04 10:06:06 +01:00
Alex 26f78872e6
staging: add node df-pw5 at bespin 2023-01-04 10:02:21 +01:00
Alex 18eef6e8e7
Staging: Reduce resource requirements to pack more things 2023-01-03 18:25:32 +01:00
Alex d588764748 don't rotate grafana password 2023-01-01 20:44:28 +01:00
Alex 3847c08181 Merge pull request 'updated version of secretmgr' (#5) from new-secretmgr into main
Reviewed-on: #5
2023-01-01 18:47:34 +00:00
Baptiste Jonglez 08c324f1c4 Add new zone to core services 2022-12-29 18:26:52 +01:00
Baptiste Jonglez 1c48fd4ae4 Add new staging zone and node 2022-12-28 16:49:43 +01:00
Alex 0becfc2571
Merge branch 'main' into new-secretmgr 2022-12-25 23:47:52 +01:00
Alex b63c03f635
refactor ssh config and move known_hosts 2022-12-25 23:45:53 +01:00
Alex 6d6e48c8fa
Improve secretmgr more, update secrets for staging 2022-12-25 22:12:38 +01:00
Alex 8d0a7a806d
New secretmgr 2022-12-25 21:03:16 +01:00
Alex 7fd81f3470
WIP new secretmgr 2022-12-25 19:52:28 +01:00
Alex 11f87a3cd2
staging: add missing secrets, update exiting ones to autogen/autorotate 2022-12-24 23:58:38 +01:00
Alex 8d17a07c9b
reorganize some things 2022-12-24 22:59:37 +01:00
Alex 912753c7ad
remove useless lines in caribou,origan.nix 2022-12-22 23:16:15 +01:00
Alex 8513003388
staging: garage update 2022-12-14 17:52:13 +01:00
Alex 7ab91a16e9
Proper nat on origan 2022-12-13 16:01:36 +01:00
Alex 3af066397e
Replace carcajou by origan for raft server 2022-12-11 23:13:04 +01:00
Alex dca2e53442
run a bunch of things on new Origan node 2022-12-11 23:02:14 +01:00
Alex 578075a925
Add origan node in staging cluster (+ refactor system.stateVersion) 2022-12-11 22:37:28 +01:00
Alex 36e6756b3c
staging: update D53 tags to new (simpler) syntax 2022-12-11 21:27:16 +01:00
Alex a1fc396412
Add possible public_ipv4 node tag 2022-12-07 17:13:03 +01:00
Alex 4c50dd57f1
staging: reorganize core services and add D53 2022-12-07 16:35:21 +01:00
Alex ab97a7bffd
Staging: Add CNAME target meta parameter, will be used for diplonat auto dns update 2022-12-07 12:32:21 +01:00
Alex 93e66389f7
staging: update Tricot 2022-12-07 11:21:51 +01:00
Alex 4e3db0cd5e
staging: correct public IPs through NAT for wireguard 2022-12-07 11:21:39 +01:00
Alex 724f0ccfec
Tricot: updated with enough bins for histogram data 2022-12-06 15:11:35 +01:00
Alex 6036f5a1b7
deploy tricot metrics on production 2022-12-06 14:41:53 +01:00
Alex e1ddb2d1d3
staging: tricot do load balancing of garage requests to local nodes 2022-12-06 12:41:12 +01:00
Alex 27b23e15ec
Staging: tricot with metrics 2022-12-05 23:42:53 +01:00
Alex b260b01915
staging garage: use new health check endpoint 2022-12-05 16:25:46 +01:00
Alex a1a2a83727
Staging: let nodes use each other as Nix caches (only inside same site) 2022-12-02 11:59:32 +01:00
Alex 88ddfea4d5
staging: run grafana from nixpkgs 2022-12-02 00:14:31 +01:00
Alex 2482a2f819
staging: run prometheus from nixpkgs 2022-12-01 23:48:46 +01:00
Alex b0405d47a6
staging: remove hcl file for garage on docker 2022-12-01 23:33:16 +01:00
Alex db8638223f
staging: also run Guichet from nix 2022-12-01 23:30:12 +01:00
Alex e67b460ae2
staging: run bottin as nix job 2022-12-01 22:49:55 +01:00
Alex bc88622ea2
Staging: run diplonat as nix job 2022-12-01 22:32:02 +01:00
Alex d3fac34e63
staging: simplify litestream config on nix 2022-12-01 17:35:19 +01:00
Alex 18ab08a86c
staging: run node_exporter from nixos; run synapse as non-root 2022-12-01 17:25:53 +01:00
Alex 9d0a2d8914
Run Tricot as Nix flake instead of Docker image 2022-12-01 16:04:47 +01:00
Alex e4684ae169
staging: reduce litestream memory_max because it uses it all 2022-11-30 10:04:42 +01:00
Alex 6db4ec5311
staging: update garage 2022-11-29 22:59:55 +01:00
Alex 1ac9790806
Staging: remove Docker-based synapse config 2022-11-29 22:03:48 +01:00
Alex ab7a770168
Synapse on Nix works great 2022-11-29 22:02:21 +01:00
Alex 55e407a3a4
First version of Matrix-synapse in Nix 2022-11-29 21:19:57 +01:00
Alex 4036a2d951
Clean stuff up and update nix driver 2022-11-29 16:21:38 +01:00
Alex fb4c2ef55a
Remove old nomad-driver-nix 2022-11-29 15:41:35 +01:00
Alex 14e3e6deff
Staging: cleanup garage job 2022-11-29 14:42:53 +01:00
Alex c9f9ed4c71
Deploy garage on staging using nix2 driver 2022-11-29 14:21:12 +01:00
Alex 105c081728
Staging: ability to run Nix jobs using exec2 driver 2022-11-28 22:58:39 +01:00
Alex 6659deb544
Add Baptiste ; fix wireguard 2022-11-22 12:09:28 +01:00
Alex 945dd4fa9a
Run Garage as a Nomad Nix job on staging cluster 2022-11-17 00:17:56 +01:00
Alex 3c5f4b55e6
fix typo 2022-11-17 00:00:13 +01:00
Alex 78440a03d2
add+cleanup config 2022-11-16 16:52:38 +01:00
Alex 49b0dc2d5b
poc 2 for nix containers: use nomad-driver-nix 2022-11-16 16:28:18 +01:00
Alex 7df8162913
nix volumes RO 2022-11-16 00:12:14 +01:00
Alex 2cd4bf1ee7
Demo running directly a service from the nix store 2022-11-15 23:13:55 +01:00
Alex 9e19b2b5a2
Update ssh keys 2022-11-09 18:35:17 +01:00
Alex 7587024ff5
staging: change resources for im job 2022-11-04 11:22:54 +01:00
Alex cc945340a1
update telemetry config on staging 2022-11-04 11:09:37 +01:00
Alex ea8185d7e6
Reinstall caribou 2022-11-03 19:25:28 +01:00
Alex 859813440c
Automatic garage node discover on staging through consul 2022-10-18 22:09:55 +02:00
Alex afc368421d
Rebalance ressource attribution on staging 2022-10-18 10:40:59 +02:00
Alex 2592dcaa2d
Update telemetry on staging as well 2022-10-18 10:32:41 +02:00