Commit Graph

158 Commits

Author SHA1 Message Date
IamTheFij c073f78ed2 Fix unsealing of single vault instance
Checking status of only one node meant that if that node was sealed
we would not try to unseal other nodes
2022-08-30 15:14:00 -07:00
IamTheFij 5214d8275a Enable consul autopilot 2022-08-30 15:12:52 -07:00
IamTheFij 89598ffb7c Update nomad, consul, vault versions 2022-08-30 15:12:35 -07:00
IamTheFij 89e14dbf56 Use newer cadvisor 2022-08-30 15:11:52 -07:00
IamTheFij 2a54b5454d Use updated ansible-nomad role
Has better support for multi-arch installs and fixes cni
2022-08-30 15:10:16 -07:00
IamTheFij 520986d30c Add pi4 host 2022-08-30 15:09:48 -07:00
IamTheFij 9aad3d1594 Rename nomad anon policy file 2022-08-23 10:31:29 -07:00
IamTheFij 39107538e9 WIP: Allow specifying https endpoints and fetching nomad token 2022-08-23 09:57:57 -07:00
IamTheFij 1c38aa212e Add mysql database storage to Grafana 2022-07-29 13:02:22 -07:00
IamTheFij 0d61ebc877 Add Nomad dashboard to grafana 2022-07-29 13:01:59 -07:00
IamTheFij 846ea18a16 Don't deploy Nextcloud 2022-07-29 13:01:40 -07:00
IamTheFij 6d31c4e6d6 Stop duplicate nomad scraping
Already getting it from Client service
2022-07-29 13:01:22 -07:00
IamTheFij 9d57175584 Increase promtail memory 2022-07-28 16:37:19 -07:00
IamTheFij 3c0c74797d Make traefik a service rather than a system job
Sets it up to support auto_revert and auto_promote
2022-07-28 15:11:59 -07:00
IamTheFij 4b6c388ed9 Traefik wildcard certs 2022-07-28 15:11:24 -07:00
IamTheFij 6ccc5a6bcf Remove variable for consul_address for traefik
Now getting from Noamd environment
2022-07-28 15:10:39 -07:00
IamTheFij 48d5704b72 Make lldap backup daily 2022-07-28 15:05:00 -07:00
IamTheFij 62f59b3929 conditional dns lookups for router assigned domains 2022-07-27 22:04:46 -07:00
IamTheFij c074df4bc7 Working backup and restore 2022-07-27 22:04:22 -07:00
IamTheFij d175166045 Make traefik disk ephemeral and sticky 2022-07-27 17:30:35 -07:00
IamTheFij c8493b1fc5 Bump Traefik mem limit
We don't like this crashing
2022-07-27 17:26:13 -07:00
IamTheFij a3f59145bd Skip dump of lldap db 2022-07-27 17:25:41 -07:00
IamTheFij 9a315eb2f7 Add lldap backup and templatize backup job
Now oneoff and system jobs are all using the same template
2022-07-27 17:02:29 -07:00
IamTheFij 6e074c55aa Increase prometheus memory limit 2022-07-27 16:11:56 -07:00
IamTheFij ecaee6f8be Add lldap 2022-07-27 15:57:28 -07:00
IamTheFij 4213b322c1 Remove set hostname because that's now done in bootstrap 2022-07-27 15:57:12 -07:00
IamTheFij 1dd131ba9a Extend ttl for nomad tokens 2022-07-27 15:56:40 -07:00
IamTheFij bc040b4668 Add ddclient 2022-07-27 14:45:08 -07:00
IamTheFij 9664802fb6 Clean up services template whitespace 2022-07-27 14:41:42 -07:00
IamTheFij 547cd96e4c Add vault stanza to levant services 2022-07-27 14:41:13 -07:00
IamTheFij e39fbc41a7 Add further todos for Nomad Vault 2022-07-27 13:40:21 -07:00
IamTheFij 25ec582eaf Update Nomad and Vault ACLs
Now nomad is read only and tokens can be retrieved from Vault
2022-07-27 13:13:11 -07:00
IamTheFij 92a30e6709 Reduce memory for blocky sidecar 2022-07-27 11:22:02 -07:00
IamTheFij fb934f3b2f Hide blocky API from non-traefik route 2022-07-27 11:21:11 -07:00
IamTheFij fe11b03a43 Get letsencrypt certs working with Traefik 2022-07-27 11:12:08 -07:00
IamTheFij 85fccea867 Fix consul value bootstrap and hide secrets in log 2022-07-27 11:11:03 -07:00
IamTheFij d70dce8ab5 Add basic auth to traefik 2022-07-26 21:48:16 -07:00
IamTheFij 963a863e2d Make anonymous nomad read only 2022-07-26 20:20:43 -07:00
IamTheFij 3033c581f3 Add userpass login to Vault 2022-07-26 20:09:52 -07:00
IamTheFij b4bb0f866e Make metrics more readable 2022-07-25 21:45:01 -07:00
IamTheFij 4508993068 Reduce task memory 2022-07-25 16:37:51 -07:00
IamTheFij 4ea7947b1a Fix mysql 2022-07-25 16:29:43 -07:00
IamTheFij 465c2d9c29 WIP: Update oneoff backups 2022-07-25 16:29:35 -07:00
IamTheFij ee45e92534 Fix consul backup 2022-07-25 16:29:06 -07:00
IamTheFij 3ec1d008e8 Move traefik connect intents to core 2022-07-25 15:54:23 -07:00
IamTheFij 04bdef01b8 Allow bypass of healthcheck 2022-07-25 15:52:47 -07:00
IamTheFij 157005ae7b Get mysql root from vault 2022-07-25 15:52:47 -07:00
IamTheFij 4a06f31f49 Tweak memory requirements for tasks 2022-07-25 15:52:47 -07:00
IamTheFij 9d4cd68648 Add test consul backup 2022-07-25 15:52:47 -07:00
IamTheFij 18807de608 Clean up Grafana and Loki bootstraps 2022-07-25 15:52:47 -07:00