From 23da2c36ec1c92709e7c209ed06193cf8bd78bcc Mon Sep 17 00:00:00 2001 From: E M <5089238+emizzle@users.noreply.github.com> Date: Fri, 1 May 2026 10:30:22 +1000 Subject: [PATCH] add back spot toleration just in case --- .../LogosStorageDiscordBotPlugin/DiscordBotContainerRecipe.cs | 1 + .../LogosStorageDiscordBotPlugin/RewarderBotContainerRecipe.cs | 1 + ProjectPlugins/MetricsPlugin/PrometheusContainerRecipe.cs | 1 + ProjectPlugins/StoragePlugin/ContainerRecipe.cs | 1 + 4 files changed, 4 insertions(+) diff --git a/ProjectPlugins/LogosStorageDiscordBotPlugin/DiscordBotContainerRecipe.cs b/ProjectPlugins/LogosStorageDiscordBotPlugin/DiscordBotContainerRecipe.cs index 6f1840a7..37c93f3f 100644 --- a/ProjectPlugins/LogosStorageDiscordBotPlugin/DiscordBotContainerRecipe.cs +++ b/ProjectPlugins/LogosStorageDiscordBotPlugin/DiscordBotContainerRecipe.cs @@ -16,6 +16,7 @@ namespace LogosStorageDiscordBotPlugin var config = startupConfig.Get(); ScheduleInPoolsWithLabel("workload-type", "tests-pods"); + 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 125c842f..8baf1d20 100644 --- a/ProjectPlugins/LogosStorageDiscordBotPlugin/RewarderBotContainerRecipe.cs +++ b/ProjectPlugins/LogosStorageDiscordBotPlugin/RewarderBotContainerRecipe.cs @@ -14,6 +14,7 @@ namespace LogosStorageDiscordBotPlugin var config = startupConfig.Get(); ScheduleInPoolsWithLabel("workload-type", "tests-pods"); + 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 44c1c12c..5029e16f 100644 --- a/ProjectPlugins/MetricsPlugin/PrometheusContainerRecipe.cs +++ b/ProjectPlugins/MetricsPlugin/PrometheusContainerRecipe.cs @@ -15,6 +15,7 @@ namespace MetricsPlugin var config = startupConfig.Get(); ScheduleInPoolsWithLabel("workload-type", "tests-pods"); + 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 ac5ca6f3..767628e7 100644 --- a/ProjectPlugins/StoragePlugin/ContainerRecipe.cs +++ b/ProjectPlugins/StoragePlugin/ContainerRecipe.cs @@ -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();