Commit Graph

114 Commits

Author SHA1 Message Date
8c9bd9a0a6 Mount fractal CIFS shares on the compute nodes. 2023-11-01 08:34:35 +00:00
25a21cb6c3 Add instasync cronjob and plumbing for nodejs on nomad clients. 2023-09-03 06:10:50 +01:00
19267463bd Nomad host volume for storing code to run. 2023-09-03 05:26:30 +01:00
97f29680fd Enable nomad metrics. 2023-08-14 14:58:03 +01:00
3fc47a6fa3 Enable consul metrics. 2023-08-14 14:51:48 +01:00
5459aea4fd Enable Consul UI and make it listen on 0.0.0.0. 2023-08-14 14:34:59 +01:00
4cb69f1f83 Replace promtail with vector for loki. 2023-08-01 06:33:50 +01:00
f13b350f73 Add vector service. 2023-07-21 07:16:19 +01:00
496e3c9e44 Switch remaining services from nomad host volumes to docker volumes. 2023-07-21 06:59:32 +01:00
0e7a34a341 Loki service configuration. 2023-07-21 06:31:05 +01:00
3c1fbc7103 Add compute node IPs to /etc/hosts to hopefully make things start up before the network settles. 2023-07-20 07:06:11 +01:00
72d651c158 Revert to dhcp assigned IPs. Static ones result in duplicate ping responses (?!). 2023-07-20 06:41:11 +01:00
e8cec993e7 Put glusterfs data on a non-bind mount. 2023-07-18 17:38:35 +01:00
91f801401e Switch to host volumes. Grafana not working yet. 2023-07-17 21:02:59 +01:00
9a4d00bfd3 Mount the glusterfs. 2023-07-17 12:55:18 +01:00
f256da7f8c Persist gluster data dir. 2023-07-17 06:42:43 +01:00
3e9c3bc91b Try to force tailscale network to ipv4. Doesn't seem to work. 2023-07-14 06:50:14 +01:00
92374dff89 Rip out seaweedfs and install basic glusterfs instead. 2023-07-14 06:49:55 +01:00
4a6a84190b Switch compute nodes to static IPs to bring up their network faster after a power failure. 2023-07-14 06:49:07 +01:00
1e19bd1329 Try harder to wait for the network before starting seaweedfs and nomad. 2023-07-10 13:28:41 +01:00
e3551c1028 Bump max volume limit. 2023-07-10 06:02:02 +01:00
b8eb6dbe77 Switch to unstable package and enable all docker capabilities. 2023-07-09 15:45:46 +01:00
e2359ce283 Move webserver to tailscale net. 2023-07-08 20:05:52 +01:00
a3e794eb3b Tailscale autoconnect. 2023-07-08 19:17:40 +01:00
734e8e0c61 Set immutable users in impermanence module. 2023-07-07 13:50:57 +01:00
dd971dcd1d Use a fixed uid/gid for storing files. 2023-07-07 13:50:40 +01:00
49dc2977c5 Enable seaweedfs replication. 2023-07-07 13:43:29 +01:00
c8278b0fad Switch nomad to privileged mode. 2023-07-07 13:27:21 +01:00
723073e53d Enable docker privileged mode for nomad. 2023-07-07 06:32:22 +01:00
7d36537b2f Disable firewall by default. 2023-07-06 15:23:08 +01:00
b8bae61281 More robust seaweedfs config. 2023-07-06 07:34:58 +01:00
97f8227391 Persist DHCP leases. 2023-07-06 06:38:08 +01:00
edf770eb5a Basic consul config. 2023-07-06 06:27:35 +01:00
7075c1c99b Update flake. 2023-07-05 17:53:54 +01:00
8b03311a19 Hacky working seaweedfs config. 2023-07-05 06:43:30 +01:00
6422669548 Install seaweedfs from unstable on compute nodes. 2023-07-02 06:48:41 +01:00
226de3cf71 Enable the firewall in the network module. 2023-07-01 14:16:27 +01:00
373057e9e0 Nomad configuration. 2023-07-01 14:14:01 +01:00
efcb7131af Don't persist /etc/nixos, system configuration now comes from a remote flake. 2023-06-30 11:49:46 +01:00
1623c325b1 Enable SFTP. 2023-06-30 11:47:30 +01:00
66b931e64d Hardcode system-specific hardware settings. 2023-06-30 11:44:31 +01:00
3548322187 Disable networkmanager by default. 2023-06-30 11:34:57 +01:00
bff66d05b9 Make version passing work. 2023-06-30 11:13:15 +01:00
ba0afde81f Pass flake version to config version. 2023-06-30 11:10:08 +01:00
a665240698 Switch to ondemand cpufreq governor. 2023-06-30 11:07:27 +01:00
e17bd80357 Add config for c3. 2023-06-30 11:00:49 +01:00
d10efccce9 Add config for c2. 2023-06-30 11:00:38 +01:00
c9634ceb86 Add @wheel to nix trusted users to allow remote deployment. 2023-06-30 10:54:04 +01:00
0a89def365 Newer syntax. 2023-06-30 10:49:26 +01:00
9b9ef8fe54 Enable flakes. 2023-06-30 10:47:25 +01:00