Commit Graph

94 Commits

Author SHA1 Message Date
98ea2a1ca0 A whole lot of incremental fixes for nomad variables and such
Also adds stunnel between redis and clients
2023-03-24 16:32:37 -07:00
65cb6afaf9 WIP: Moving vars and service discovery to Nomad
Starting with core
2023-03-24 08:55:23 -07:00
73e7b7063f Fix wesher secrets 2023-03-24 08:50:01 -07:00
6201aaa87e Upgrade Nomad to 1.5.2 2023-03-24 08:49:48 -07:00
fda97b8d01 Add Wesher and Wesher overlay 2023-03-23 22:10:24 -07:00
3248f2817b Change min consul nodes to bootstrap to 2 2023-03-17 11:47:21 -07:00
33fea63b5f Speed up consul recovery 2023-03-17 11:46:20 -07:00
de2dae3686 Increase retry count for nomad starting when deploying cluster 2023-02-28 12:17:45 -08:00
a7f9351728 Fix GC cleanup image_delay 2023-02-28 12:17:28 -08:00
36d00300c3 Move nzbget and photoprism config to shared storage on NAS SSD 2023-02-28 12:16:49 -08:00
f8555f0900 Add a 1d delay to cleaning up images from stopped tasks 2023-02-27 11:54:33 -08:00
3a8cca53f3 Update photoprism and use new storage path 2023-02-27 11:54:33 -08:00
f46cb72681 Add sabnzbd 2023-02-27 11:54:33 -08:00
2f9d0533e0 Move nzbget to proxmox nfs share 2023-02-27 11:54:33 -08:00
061c375652 Use new NAS paths 2023-02-27 11:54:32 -08:00
b0785b210f Switch default network interface to local network 2023-01-13 15:17:38 -08:00
bd35cb1265 Make sure there's a working DNS server when bootstrapping 2023-01-13 15:17:23 -08:00
fd92573c16 Add more flexible nfs mount definitions
Also commenting out NAS since it's down
2023-01-13 15:17:03 -08:00
bbe5bfaba4 Decode nomad node-ids in recovery playbook 2023-01-07 14:09:19 -08:00
290b8885b7 Fix vault hostnames for recover-consul playbook 2023-01-07 14:08:55 -08:00
acdccbc057 Fix consul recovery and decode node ids 2023-01-07 14:03:31 -08:00
54d479ee9f Rollback consul version
This error on 1.14 needs to be resolved https://github.com/hashicorp/consul/issues/15753
2023-01-06 16:07:55 -08:00
7ec6f38c80 Update consul and vault: 2022-12-22 15:11:33 -08:00
fd731971d3 Try to stabilize DNS
Add all cluster nodes to each nodes resolv.conf and update blocky config
template to delay render on update to avoid unnecessary restarts
2022-11-27 22:46:25 -08:00
7bed73b9a7 Disable consul autopilot 2022-11-27 22:46:05 -08:00
fc86b974a7 Update versions 2022-11-27 22:44:26 -08:00
b046962b8c Disable consul autopilot
Was getting some instablity issues. Seeing if this helps
2022-11-21 14:22:49 -08:00
162f567c85 Stop Nomad and Vault when recovering Consul 2022-11-18 08:58:20 -08:00
3b9ad36ed0 New playbook to stop cluster gracefully 2022-11-18 08:57:41 -08:00
3a828af690 No longer need to pin the envoy proxy 2022-11-18 08:56:29 -08:00
e104cbccc4 Use new Photos share for Photoprism 2022-11-15 09:04:18 -08:00
bee9b641cc Fix local dns in docker 2022-11-15 09:04:18 -08:00
19f1f8448d WIP: Add a new playbook for stopping cluster
Hopefully without data loss
2022-11-14 23:11:13 -08:00
bbec244f45 Fix typo in recovery playbooks 2022-11-14 23:10:16 -08:00
29110eaf47 Update Nomad UI links to Consul and Vault 2022-11-10 13:37:50 -08:00
5b0f50140c Update playbook that clears nomad and consul data 2022-11-10 13:37:50 -08:00
068dc73717 Add photoprism 2022-11-10 13:37:50 -08:00
2bde762902 Use journald for Nomad Docker logging so they can be ingested into Loki 2022-11-10 10:19:51 -08:00
92fd139263 Update nomad version to 1.4.2 2022-11-10 10:19:22 -08:00
ae5f4d61fb Make consul raft v3 explicit 2022-11-10 10:19:07 -08:00
e707f2a790 Add pi4 host back 2022-11-10 10:18:37 -08:00
539b9073cb Update permissions for mysql volume 2022-11-10 10:18:28 -08:00
51a0b71bd8 Update recovery scripts 2022-11-10 10:15:30 -08:00
37e80980bc Refactor ansible to clean root dir 2022-11-02 14:20:09 -07:00