Commit Graph

210 Commits

Author SHA1 Message Date
1fad6b691c Update some metrics 2022-11-07 20:50:18 -08:00
f9d46faae9 Rename backup jobs to be lower case 2022-11-04 09:39:08 -07:00
931e2b6e00 Make sure grafana mysql dump happens after dir is created 2022-11-03 22:18:04 -07:00
9d56f6226c Try to reduce concurrent ftp 2022-11-03 22:17:48 -07:00
39bd8aafaf Move backup jobs to local dir
Makes debugging easier
2022-11-03 22:17:26 -07:00
779db10abc Add middleware support to service levant template 2022-11-03 15:10:51 -07:00
5bbb6c494c Fix some formatting 2022-11-03 15:10:09 -07:00
695567b8aa Add backup job for grafana 2022-11-02 20:30:04 -07:00
2d63d7e74d Add sqlite backup for lldap 2022-11-02 20:14:25 -07:00
37e80980bc Refactor ansible to clean root dir 2022-11-02 14:20:09 -07:00
0996cfbf67 Update hooks 2022-11-02 12:59:32 -07:00
a203067400 Migrate pre-commits from parent repo up to this one 2022-11-02 11:26:52 -07:00
1a1f243354 Remove query for nomad-clients on backup task
Not used anymore
2022-10-31 15:27:29 -07:00
73b99f80f5 Go back to hard coded node names for for_each
For some reason this worked until it didn't
2022-10-31 15:24:14 -07:00
25e1dc6566 Rename backup service fixing mysql access 2022-10-31 15:23:42 -07:00
dcfe0510a7 Fix sonarr dl folder 2022-10-31 11:32:09 -07:00
9f241109c5 Refactor external service definitions 2022-10-28 12:42:28 -07:00
eae80ece7a Increase sonarr memory
Wow, this uses a lot of mem
2022-10-28 12:34:44 -07:00
45c597b040 Big refactor to split core and services for better ordering 2022-10-27 14:28:34 -07:00
253069439d Better first run bootstrap 2022-09-27 21:59:37 -07:00
75bce82b0f Fix typo 2022-09-27 21:29:00 -07:00
b8cfc361fa New playbook to reset server data 2022-09-27 21:28:37 -07:00
91e64f23eb Improve first run cluster setup 2022-09-27 21:28:02 -07:00
16f7eaa844 Remove some hosts 2022-09-27 21:27:34 -07:00
109113048f Add local loopback as dns in resolv.conf 2022-09-26 16:52:59 -07:00
66bd276626 Increase priority of stateful jobs 2022-09-26 16:40:25 -07:00
8ab6c2c3e0 Add playbook to recover consul using peers 2022-09-16 16:46:37 -07:00
567e2d88e4 Add another pi 2022-09-16 16:46:10 -07:00
a80927e5b0 Enable preemption on nomad scheduler 2022-09-16 16:45:26 -07:00
9d739eef7e Make Nomad media-read volume point to rw nfs 2022-09-16 16:44:40 -07:00
12c273f440 Remove bootstrapping values from setup playbook
This will be done in another playbook
2022-09-16 16:43:45 -07:00
5bd4e3716d Bootstrap with 3 servers 2022-09-16 16:42:54 -07:00
cb46743043 Get ddclient working again
It was failing due to oom and using cloudflare api tokens which aren't yet supported
2022-09-07 12:20:58 -07:00
a9073aafd4 Wait until Nomad is running before bootstrapping ACLs 2022-09-07 11:11:10 -07:00
912ad58ff0 Clean up comments in setup cluster playbook 2022-09-07 11:09:33 -07:00
d742234a36 Explicitly set envoy version
The default v1.23.0 does not work on arm64
2022-09-07 11:06:26 -07:00
ad22ce6e2a Update vault and nomad versions 2022-09-07 11:05:54 -07:00
141b53b809 Add playbook to unseal Vault 2022-09-07 11:05:27 -07:00
cc8e6faf36 Make vault load balancer sticky
Assets like css and js were not proxying correctly. I think it may be
because they were proxying to a different instance and that the paths
are dynamic. This should route subsequent requests for the session to
a single backend.
2022-09-06 17:17:14 -07:00
c8b9063b3e Add homeassistant external 2022-09-06 17:15:43 -07:00
f44e62fd1c add nomad login 2022-09-06 14:47:06 -07:00
478f9c4c8f Update security todos and reference node IP for consul queries 2022-09-06 14:46:49 -07:00
ab1c9b41cd Move redis data to ephemeral disk 2022-09-06 11:31:15 -07:00
712fd3958d Move prometheus tsdb data to emphemeral disk 2022-09-06 11:15:14 -07:00
7296494141 Move acme certs to /local so they will persit between allocs 2022-09-06 09:45:04 -07:00
8e827ef4ad Add splay to blocky template render
Avoid all instances going down at once when the template canges
2022-09-05 12:57:13 -07:00
1be855e571 Fix syslog proxy
Apparently traefik only supports http proxy over connect.

https://github.com/traefik/traefik/issues/7803
2022-09-04 20:21:02 -07:00
34a5ce8141 Use nomad as sole metrics exporter
Drops cadvisor and node_exporter since Nomad seems to export what I need.
2022-09-04 14:32:24 -07:00
bc4657463e Remove default volume read_only
It was always setting to true
2022-09-04 14:27:28 -07:00
aaae5d087e Update nfs volumes to try and fix permissions 2022-09-04 14:27:27 -07:00