From b8f9cb729705b5e149795a9e6797d7af169f3eb6 Mon Sep 17 00:00:00 2001 From: E M <5089238+emizzle@users.noreply.github.com> Date: Wed, 29 Apr 2026 19:12:39 +1000 Subject: [PATCH] use correct taint, not label Was preventing pods from starting correctly, due to affinity/selector mismatch --- .../LogosStorageDiscordBotPlugin/DiscordBotContainerRecipe.cs | 2 +- .../LogosStorageDiscordBotPlugin/RewarderBotContainerRecipe.cs | 2 +- ProjectPlugins/MetricsPlugin/PrometheusContainerRecipe.cs | 2 +- ProjectPlugins/StoragePlugin/ContainerRecipe.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ProjectPlugins/LogosStorageDiscordBotPlugin/DiscordBotContainerRecipe.cs b/ProjectPlugins/LogosStorageDiscordBotPlugin/DiscordBotContainerRecipe.cs index 514c5961..37c93f3f 100644 --- a/ProjectPlugins/LogosStorageDiscordBotPlugin/DiscordBotContainerRecipe.cs +++ b/ProjectPlugins/LogosStorageDiscordBotPlugin/DiscordBotContainerRecipe.cs @@ -16,7 +16,7 @@ namespace LogosStorageDiscordBotPlugin var config = startupConfig.Get(); 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); diff --git a/ProjectPlugins/LogosStorageDiscordBotPlugin/RewarderBotContainerRecipe.cs b/ProjectPlugins/LogosStorageDiscordBotPlugin/RewarderBotContainerRecipe.cs index 3075f357..8baf1d20 100644 --- a/ProjectPlugins/LogosStorageDiscordBotPlugin/RewarderBotContainerRecipe.cs +++ b/ProjectPlugins/LogosStorageDiscordBotPlugin/RewarderBotContainerRecipe.cs @@ -14,7 +14,7 @@ namespace LogosStorageDiscordBotPlugin var config = startupConfig.Get(); 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()); diff --git a/ProjectPlugins/MetricsPlugin/PrometheusContainerRecipe.cs b/ProjectPlugins/MetricsPlugin/PrometheusContainerRecipe.cs index c665a326..5029e16f 100644 --- a/ProjectPlugins/MetricsPlugin/PrometheusContainerRecipe.cs +++ b/ProjectPlugins/MetricsPlugin/PrometheusContainerRecipe.cs @@ -15,7 +15,7 @@ namespace MetricsPlugin var config = startupConfig.Get(); 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); diff --git a/ProjectPlugins/StoragePlugin/ContainerRecipe.cs b/ProjectPlugins/StoragePlugin/ContainerRecipe.cs index 13ca3d7b..a5486dbd 100644 --- a/ProjectPlugins/StoragePlugin/ContainerRecipe.cs +++ b/ProjectPlugins/StoragePlugin/ContainerRecipe.cs @@ -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();