Commit Graph

70 Commits

Author SHA1 Message Date
b218633c2c Add scheduled job to update UniFi Traffic Routes
Because I use a custom DNS server, Domain based routing rules
don't work. This instead resolves the domains and then adds
the IP addresses to the rules.
2023-11-20 10:37:03 -08:00
52abd94a38 Use minio as restic repo rather than sftp
I've been getting a lot of restic lock errors using sftp
2023-11-06 16:35:13 -08:00
b97cfb68ad Minor Nomad bmp 1.6.2 2023-10-19 12:05:52 -07:00
df4737655a Remount network shares when recovering cluster 2023-09-27 21:26:44 -07:00
cf90248430 Remove old Consul and Vault references 2023-09-17 21:43:04 -07:00
8dd00c1249 authelia and grafana to shared smtp secrets 2023-08-29 15:11:40 -07:00
f5898b0283 Add workload ACL management for mysql and postgres access
Allows required jobs to access shared secrets and auto generates psks
for stunnel.

Currently supporting MySQL, Postgres, and LDAP.
2023-08-29 12:48:48 -07:00
0a8395e8fa Add bazarr configs 2023-08-21 10:54:57 -07:00
8f6bed297c Upgrade to nomad 1.6.1 2023-07-26 15:29:39 -07:00
882b93a4c5 Abort nomad recovery if any hosts fail 2023-07-26 15:27:46 -07:00
0d37652447 Add pre-commit hook to make sure variable sample is up to date 2023-07-25 16:57:44 -07:00
70098930f8 Add lidarr 2023-07-25 16:57:33 -07:00
6524631a53 Upgrade to nomad 1.6 2023-07-19 10:42:38 -07:00
9b11ad9a69 Add Nomad var example and remove old examples 2023-07-11 12:46:47 -07:00
acc80868f9 Switch lldap storage to mysql 2023-07-05 17:30:54 -07:00
44467d1075 Add playbook to restart wesher and nomad 2023-06-20 09:45:01 -07:00
33ec66346b Make target to stop Nomad cluster 2023-05-09 11:39:27 -07:00
8d63c50ffb Add Postgres database to cluster 2023-05-03 14:16:47 -07:00
cf0a415179 Revert "Upgrade cni to 1.1.2"
This reverts commit bbc8ba5c6b.
2023-05-02 21:29:27 -07:00
bbc8ba5c6b Upgrade cni to 1.1.2 2023-04-20 16:46:35 -07:00
973388e109 Add hw_transcode meta to nodes 2023-04-20 16:43:57 -07:00
fb25b52e7a Restrict permissions to wesher config 2023-04-14 14:23:58 -07:00
8cbc9145c0 Minor nomad upgrade 2023-04-14 13:41:40 -07:00
f1098d6448 Remove nomad-bridge because it's not used 2023-03-24 23:07:23 -07:00
74ce30c3c1 Get nomad client scraping working 2023-03-24 22:22:11 -07:00
6f94b4ed67 Fix cluster setup 2023-03-24 21:12:02 -07:00
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