add back spot toleration just in case

This commit is contained in:
E M 2026-05-01 10:30:22 +10:00
parent 2296352586
commit 23da2c36ec
No known key found for this signature in database
4 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ namespace LogosStorageDiscordBotPlugin
var config = startupConfig.Get<DiscordBotStartupConfig>();
ScheduleInPoolsWithLabel("workload-type", "tests-pods");
AddToleration("cloud.google.com/gke-spot", "true", "NoSchedule");
AddEnvVar("TOKEN", config.Token);
AddEnvVar("SERVERNAME", config.ServerName);

View File

@ -14,6 +14,7 @@ namespace LogosStorageDiscordBotPlugin
var config = startupConfig.Get<RewarderBotStartupConfig>();
ScheduleInPoolsWithLabel("workload-type", "tests-pods");
AddToleration("cloud.google.com/gke-spot", "true", "NoSchedule");
AddEnvVar("DISCORDBOTHOST", config.DiscordBotHost);
AddEnvVar("DISCORDBOTPORT", config.DiscordBotPort.ToString());

View File

@ -15,6 +15,7 @@ namespace MetricsPlugin
var config = startupConfig.Get<PrometheusStartupConfig>();
ScheduleInPoolsWithLabel("workload-type", "tests-pods");
AddToleration("cloud.google.com/gke-spot", "true", "NoSchedule");
AddExposedPortAndVar("PROM_PORT", PortTag);
AddEnvVar("PROM_CONFIG", config.PrometheusConfigBase64);

View File

@ -31,6 +31,7 @@ namespace StoragePlugin
// Schedule storage nodes on the tests node pool, away from the test runner.
ScheduleInPoolsWithLabel("workload-type", "tests-pods");
AddToleration("cloud.google.com/gke-spot", "true", "NoSchedule");
var config = startupConfig.Get<LogosStorageStartupConfig>();