Commit Graph

188 Commits

Author SHA1 Message Date
Collin J. Doering cf2be1c40c
TODO.org: Update TODOs 2023-04-02 21:53:30 -04:00
Collin J. Doering 41127138de
TODO.org: Update TODOs 2023-04-02 11:59:43 -04:00
Collin J. Doering 4ea84b04fa
loki.home.rekahsoft.ca: Setup long term storage for logs 2023-04-02 08:56:49 -04:00
Collin J. Doering 3ad37ee42f
TODO.org: Update TODOs 2023-04-02 08:56:47 -04:00
Collin J. Doering d86955b433
unguix/loki-home-rekahsoft-ca/loki.sh: Removed file in preference of docker-compose 2023-04-02 08:02:27 -04:00
Collin J. Doering e690123872
TODO.org: Update TODOs 2023-04-01 18:58:40 -04:00
Collin J. Doering 1d9e913cca
loki-home-rekahsoft-ca: Use docker-compose for promtail, rsyslog and loki
* unguix/loki-home-rekahsoft-ca/loki.sh: Remove /var/log volume (related change in promtail-config.yaml). This matches the docker-compose.yaml file introduced in this commit.

* unguix/loki-home-rekahsoft-ca/rsyslog.conf: Correct omfwd action target. Now that docker-compose is being used, and both the promtail and rsyslog containers are in the same non-default bridge network, we can depend on container dns resolution to handle the fact that promtail's ip is dynamic.

* unguix/loki-home-rekahsoft-ca/promtail-config.yaml (scrape_configs): Remove system /var/log job (its not necessary now that syslog is setup, and was primarily there for testing purposes in the first place).

* unguix/loki-home-rekahsoft-ca/docker-compose.yaml: New file; depreciates loki.sh. This enables correcting an issue with rsyslog configuration referencing the correct docker instance of promtail.
2023-04-01 18:51:01 -04:00
Collin J. Doering 279830457e
deploy/prom0-home-rekahsoft-ca.scm: Adjust host key after its rotation 2023-04-01 11:45:16 -04:00
Collin J. Doering d1f604cd04
TODO.org: Update TODOs 2023-04-01 11:44:53 -04:00
Collin J. Doering 7f7af01a0f
TODO.org: Update TODOs 2023-04-01 00:56:14 -04:00
Collin J. Doering 6ce18190ff
rekahsoft: Proof-of-concept loki logging improvements and upgrade
* unguix/loki-home-rekahsoft-ca/rsyslog.conf: rsyslog configuration used for syslog aggreator

* unguix/loki-home-rekahsoft-ca/promtail-config.yaml (scrape_configs): Add syslog scape configuration

* unguix/loki-home-rekahsoft-ca/loki.sh: Add rsyslog which acts as an syslog aggregator in front of promtail

* unguix/loki-home-rekahsoft-ca/loki-config.yaml (ingester): Add 'wal' (required after upgrade)
2023-04-01 00:52:44 -04:00
Collin J. Doering ab9c0d3aa6
TODO.org: Update TODOs 2023-03-31 23:24:48 -04:00
Collin J. Doering 2673750c5b
loki-hom-rekahsoft-ca: Add docker-compose package 2023-03-31 23:23:54 -04:00
Collin J. Doering 50d17a7dbe
rekahsoft: Temporarily replace syslogd service to add --hop argument
This is necessary to enable log forwarding to a remote host (with configurations that use @
prefixed actions).
2023-03-29 22:45:38 -04:00
Collin J. Doering a31e2194a1
rekahsoft: Correct syslogd configuration file (do not include port number) 2023-03-28 23:57:17 -04:00
Collin J. Doering 31d95d9c85
rekahsoft: Correct syslogd configuration file 2023-03-28 23:32:20 -04:00
Collin J. Doering 94ad8297ab
rekahsoft: Forward logs to logs.home.rekahsoft.ca for all vms 2023-03-28 23:03:54 -04:00
Collin J. Doering 81708f110b
rekahsoft: Use dhcp-client guix service instead of network-manager 2023-03-28 23:00:29 -04:00
Collin J. Doering bd9bd709fa
TODO.org: Update TODOs 2023-03-28 21:07:39 -04:00
Collin J. Doering 64ced8c5eb
channels.scm: Update guix and nonguix channels 2023-03-28 21:04:07 -04:00
Collin J. Doering 4fa4294fa4
cloud0.home.rekahsoft.ca: Use radicale service 2023-03-26 22:47:02 -04:00
Collin J. Doering 95f2dad0f3
TODO.org: Archive completed TODOs 2023-03-26 22:46:55 -04:00
Collin J. Doering 94257eeb0b
TODO.org: Update TODOs 2023-03-26 21:44:49 -04:00
Collin J. Doering 10becca994
deploy/cloud0-home-rekahsoft-ca.scm: Correct typo 2023-03-26 21:43:14 -04:00
Collin J. Doering 78fc788730
channels.scm: Update rekahsoft-guix channel
- .guix/rekahsoft-gnu/services/ceph.scm: Deleted file as its now housed in the rekahsoft-guix channel
2023-03-26 21:33:49 -04:00
Collin J. Doering 9b73115e7c
rekahsoft: Refactor mounting of cephfs into guix service
* .guix/rekahsoft-gnu/services/ceph.scm: New file (which is expected to be removed once this
is moved upstream to the rekahsoft-guix channel). Defines cephfs configuration and guix
service which allows easy setup of cephfs filesystems

* .guix/rekahsoft/guix-config/vms/cloud0-home-rekahsoft-ca.scm (rekahsoft): Refactor to use
new cephfs-service to mount cephfs
2023-03-26 19:57:02 -04:00
Collin J. Doering 462ab6ac3d
rekahsoft: Continue abstracting legacy vm's (#8 - ci-runner0)
* deploy/ci-runner0-home-rekahsoft-ca.scm (rekahsoft): Adjust configuration to use
proxmox-vm-legacy module

* .guix/rekahsoft/guix-config/vms/ci-runner0-home-rekahsoft-ca.scm (rekahsoft): Add deployment
file for ci-runner0
2023-03-12 19:03:50 -04:00
Collin J. Doering a23d205678
rekahsoft: Fix postgres configuration after guix upgrade 2023-03-12 18:20:51 -04:00
Collin J. Doering c41d049478
TODO.org: Update TODOs 2023-03-12 18:17:14 -04:00
Collin J. Doering 556f060245
README.org: Add initial sections on generating service & shepherd graphs 2023-03-12 18:16:34 -04:00
Collin J. Doering 9785665ab8
deploy/postgres-home-rekahsoft-ca.scm: Adjust host key after its rotation 2023-03-12 18:16:10 -04:00
Collin J. Doering 0ad27290f8
rekahsoft: Fix missing module import in 3433ea0 2023-03-12 15:58:00 -04:00
Collin J. Doering 3433ea0c57
rekahsoft: Continue abstracting legacy vm's (#6 - postgres)
* deploy/postgres-home-rekahsoft-ca.scm (rekahsoft): Adjust configuration to use
proxmox-vm-legacy module

* .guix/rekahsoft/guix-config/vms/postgres-home-rekahsoft-ca.scm (rekahsoft): Add deployment
file for postgres
2023-03-12 14:50:11 -04:00
Collin J. Doering 53a7edf4bc
TODO.org: Update TODOs 2023-03-05 22:05:16 -05:00
Collin J. Doering 26d9b8c0ec
deploy/ci0-home-rekahsoft-ca.scm: Adjust host key after its rotation 2023-03-05 21:34:34 -05:00
Collin J. Doering efc80ff07e
rekahsoft: Continue abstracting legacy vm's (#6 - ci0)
* deploy/ci0-home-rekahsoft-ca.scm (rekahsoft): Adjust configuration to use
proxmox-vm-legacy module

* .guix/rekahsoft/guix-config/vms/ci0-home-rekahsoft-ca.scm (rekahsoft): Add deployment
file for ci0
2023-03-05 06:10:14 -05:00
Collin J. Doering bbfe9423db
TODO.org: Update TODOs 2023-03-05 05:40:57 -05:00
Collin J. Doering 442b92739e
deploy/my0-home-rekahsoft-ca.scm: Adjust host key after its rotation 2023-03-05 05:40:34 -05:00
Collin J. Doering f76c356d09
TODO.org: Add TODO 2023-03-05 03:24:21 -05:00
Collin J. Doering d96737277e
rekahsoft: Continue abstracting legacy vm's (#5 - my0)
* deploy/my0-home-rekahsoft-ca.scm (rekahsoft): Adjust configuration to use
proxmox-vm-legacy module

* .guix/rekahsoft/guix-config/vms/my0-home-rekahsoft-ca.scm (rekahsoft): Add deployment
file for my0
2023-03-05 03:21:36 -05:00
Collin J. Doering a71daed84d
TODO.org: Update TODOs 2023-03-05 02:36:10 -05:00
Collin J. Doering 2328a6cb60
deploy/dash0-home-rekahsoft-ca.scm: Adjust host key after its rotation 2023-03-05 02:31:45 -05:00
Collin J. Doering 2b3e338e0d
rekahsoft: Continue abstracting legacy vm's (#4 - dash0)
* deploy/dash0-home-rekahsoft-ca.scm (rekahsoft): Adjust configuration to use
proxmox-vm-legacy module

* .guix/rekahsoft/guix-config/vms/dash0-home-rekahsoft-ca.scm (rekahsoft): Add deployment
file for dash0
2023-03-04 18:51:59 -05:00
Collin J. Doering 2814d73a0b
TODO.org: Update TODOs 2023-03-04 18:27:12 -05:00
Collin J. Doering 2c31aa981a
unguix/prom0-home-rekahsoft-ca/prometheus.sh: Persist metrics
Adjust folder structure of bind mounts so metrics collected by prometheus are persisted
between container removals.

Note: the directory /var/lib/prometheus/data must be owned by `nobody:nogroup` for this to
work
2023-03-04 16:04:19 -05:00
Collin J. Doering 8c65c1c57d
unguix/prom0-home-rekahsoft-ca/prometheus.sh: Update prometheus
This sets the version of prometheus moving forward. Prior to this, version 2.22.0 was
deployed.
2023-03-04 15:34:02 -05:00
Collin J. Doering 22b237f435
TODO.org: Update TODOs 2023-03-04 11:52:58 -05:00
Collin J. Doering c253b289b3
deploy/git0-home-rekahsoft-ca.scm: Adjust host key after its rotation 2023-03-04 11:51:29 -05:00
Collin J. Doering be43cd1bda
deploy/loki-home-rekahsoft-ca.scm: Adjust host key after its rotation 2023-03-04 11:51:08 -05:00
Collin J. Doering 848b27bcc4
rekahsoft: Continue abstracting legacy vm's (#4 - prom0)
* deploy/prom0-home-rekahsoft-ca.scm (rekahsoft): Adjust configuration to use
proxmox-vm-legacy module

* .guix/rekahsoft/guix-config/vms/prom0-home-rekahsoft-ca.scm (rekahsoft): Add deployment
file for prom0
2023-03-04 11:37:42 -05:00