use correct taint, not label

Was preventing pods from starting correctly, due to affinity/selector mismatch
This commit is contained in:
E M 2026-04-29 19:12:39 +10:00
parent 5f2b537fcd
commit b8f9cb7297
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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