cluster/services/object-storage: migrate from VEGAS/object-storage, add blackbox check
This commit is contained in:
parent
c4e437578c
commit
d6caf48aed
3 changed files with 14 additions and 2 deletions
13
cluster/services/object-storage/default.nix
Normal file
13
cluster/services/object-storage/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ tools, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.object-storage = {
|
||||||
|
nodes.host = [ "VEGAS" ];
|
||||||
|
nixos.host = ./host.nix;
|
||||||
|
};
|
||||||
|
|
||||||
|
monitoring.blackbox.targets.object-storage = {
|
||||||
|
address = "https://object-storage.${tools.meta.domain}/minio/health/live";
|
||||||
|
module = "https2xx";
|
||||||
|
};
|
||||||
|
}
|
|
@ -22,7 +22,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets.minio-root-credentials = {
|
age.secrets.minio-root-credentials = {
|
||||||
file = ../../../../secrets/minio-root-credentials.age;
|
file = ../../../secrets/minio-root-credentials.age;
|
||||||
owner = "root";
|
owner = "root";
|
||||||
group = "root";
|
group = "root";
|
||||||
mode = "0400";
|
mode = "0400";
|
|
@ -27,7 +27,6 @@
|
||||||
./services/minecraft
|
./services/minecraft
|
||||||
./services/nix/binary-cache.nix
|
./services/nix/binary-cache.nix
|
||||||
./services/nix/nar-serve.nix
|
./services/nix/nar-serve.nix
|
||||||
./services/object-storage
|
|
||||||
./services/reflex
|
./services/reflex
|
||||||
./services/sso
|
./services/sso
|
||||||
./services/uptime-kuma
|
./services/uptime-kuma
|
||||||
|
|
Loading…
Reference in a new issue