Commit Graph

49 Commits

Author SHA1 Message Date
Daniel Berteaud 05642ab6fd Use custom Docker image 2024-03-28 22:36:37 +01:00
Daniel Berteaud 24e9853c98 Cleanup metrics handling 2024-03-27 13:26:29 +01:00
Daniel Berteaud 0534991545 Better handling of tags update in consul 2024-03-07 22:26:26 +01:00
Daniel Berteaud 4f62d5154a Rebuild on newer base image for pgvecto.rs 0.2.0 2024-02-21 15:58:28 +01:00
Daniel Berteaud 976480545d Cleanup 2024-01-31 15:58:44 +01:00
Daniel Berteaud 655e4a3389 Cleanup 2024-01-29 14:45:10 +01:00
Daniel Berteaud a1987e1910 Cleanup and replace supercronic with minit 2024-01-19 23:31:00 +01:00
Daniel Berteaud 514e46744f Fix cross server mTLS auth for replicator, rewind etc. 2024-01-18 15:22:06 +01:00
Daniel Berteaud 19daff3eab Cleanup and adapt for new vault.mkpki.sh template 2024-01-18 15:10:19 +01:00
Daniel Berteaud 00561f2ccf Cleanup 2023-12-21 23:15:47 +01:00
Daniel Berteaud 67863c3a97 Add template to createdb and cleanup 2023-12-15 22:45:16 +01:00
Daniel Berteaud e37a78ad78 Reduce check frequency 2023-12-01 11:29:50 +01:00
Daniel Berteaud 2ffe4b9bbb Do not set access_mode and attachment_mode for host volumes 2023-11-18 22:56:28 +01:00
Daniel Berteaud 45d8142d22 Bigger timeout for checks 2023-11-11 00:57:21 +01:00
Daniel Berteaud 6350e82f32 Backup needs RW access to data, for logs 2023-11-03 16:20:13 +01:00
Daniel Berteaud 24eda58174 Typo 2023-11-03 15:56:19 +01:00
Daniel Berteaud 1b4346ebcc Ensure /alloc/data/postgres dir exists 2023-11-03 15:54:18 +01:00
Daniel Berteaud ae8f9d76e2 Revert "Don't add a unix_socket in /alloc/data"
This reverts commit b5d6431438.
2023-11-03 15:51:05 +01:00
Daniel Berteaud b5d6431438 Don't add a unix_socket in /alloc/data 2023-11-03 15:37:00 +01:00
Daniel Berteaud 964634ad50 Don't run exporter or backup in recovery 2023-11-03 15:29:49 +01:00
Daniel Berteaud 1da9a23808 Set shm_size to half of the total mem 2023-10-31 17:20:35 +01:00
Daniel Berteaud 7c2550dad1 More ram for exporter 2023-10-31 17:03:54 +01:00
Daniel Berteaud 350be5c718 Allocate a bit more RAM to exporter 2023-10-31 16:06:02 +01:00
Daniel Berteaud b482657fbe Monitor user is static, as it's harder to bootstrap if using vault to
fetch creds
2023-10-31 15:38:04 +01:00
Daniel Berteaud 0981ff0a1b Fix monitoring with loging 2023-10-31 15:04:31 +01:00
Daniel Berteaud 7e7eb131b4 Cleanup, use supercronic instead of nomad cron, and quote passwords in
env
2023-10-31 14:39:26 +01:00
Daniel Berteaud cf1f536658 Support ldap auth + small fixes 2023-10-30 21:50:28 +01:00
Daniel Berteaud 3212e80baf Use public_url to set HostSNI 2023-10-30 16:24:54 +01:00
Daniel Berteaud 5f133648b0 Mount the backup volume in the server task for pgbackrest 2023-10-30 16:10:25 +01:00
Daniel Berteaud 2139d4d44d Add conf fragment to expose patroni prometheus metrics 2023-10-30 11:53:58 +01:00
Daniel Berteaud a6be8f7380 Use alma based image 2023-10-29 18:47:54 +01:00
Daniel Berteaud 2ede9bc460 Set high deadline so it doesn't fail on recovery 2023-10-29 10:27:07 +01:00
Daniel Berteaud 14929b2d99 Fix vault policies for exporter 2023-10-27 16:04:02 +02:00
Daniel Berteaud f7498bcfc0 Rework volumes 2023-10-26 23:58:35 +02:00
Daniel Berteaud a2d5befac1 Update patroni to 3.2.0
And replace bootstrap.users with a bootstrap.post_bootstrap script
2023-10-26 11:26:21 +02:00
Daniel Berteaud cac0c3f085 Run ldap2pg in a manage batch job 2023-10-25 23:25:15 +02:00
Daniel Berteaud fa17bc9c7a Add kill_timeout 2023-10-22 21:45:42 +02:00
Daniel Berteaud c78cc74add Add support for pg_dump backups 2023-10-18 12:03:42 +02:00
Daniel Berteaud 9dc3da2ec2 Don't restart when job is resubmited 2023-10-18 09:24:33 +02:00
Daniel Berteaud 5dc02f36f9 Cleanup 2023-10-08 17:14:30 +02:00
Daniel Berteaud 6921bde885 More work on postgres 2023-09-25 15:56:00 +02:00
Daniel Berteaud e6f8411b2f More work on postgres, including backup with pgbackrest 2023-09-22 16:11:39 +02:00
Daniel Berteaud 4ae223a275 Ensure Traefik only routes to the current master 2023-09-18 16:54:22 +02:00
Daniel Berteaud 3511762e66 More work on patroni 2023-09-18 12:16:24 +02:00
Daniel Berteaud 0a0ba9869b Start working on patroni support 2023-09-17 22:29:40 +02:00
Daniel Berteaud 7dcaa34d66 More work on ldap2pg, and provide an init script 2023-09-17 17:21:17 +02:00
Daniel Berteaud f13ccfbaa5 More work on ldap2pg integration 2023-09-11 23:54:10 +02:00
Daniel Berteaud 2a513c06c5 Progress on pgman, to manage db and privileges 2023-09-11 23:01:05 +02:00
Daniel Berteaud 2999c0ce57 Start working on the postgres job bundle 2023-09-07 23:49:12 +02:00