Prepare for adding LattePanda IOTA based cluster hosts.

This required the option to configure the available CPU as nomad assumes that we should only allocate based on the base CPU frequency but the N150 reports 800Mhz base but has a boost frequency more than 4x higher at 3.6GHz which would leave the CPU under utilised, instead we allocate at 1.8GHz (x4 cores).
This commit is contained in:
2025-10-15 23:38:11 +11:00
parent cdf2a6b72e
commit c3f25d1bc5
6 changed files with 125 additions and 66 deletions

View File

@@ -46,6 +46,9 @@
};
client = {
enabled = true;
%{if cpu_total_compute != null ~}
cpu_total_compute = ${cpu_total_compute};
%{endif ~}
host_volume = {
%{ for volume in host_volumes ~}
${volume} = {