mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-05-26 02:59:26 +00:00
use correct taint, not label
Was preventing pods from starting correctly, due to affinity/selector mismatch
This commit is contained in:
parent
5f2b537fcd
commit
b8f9cb7297
@ -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);
|
||||
|
||||
@ -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());
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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>();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user