Change affinity label (#85)
https://github.com/codex-storage/infra-codex/issues/100
This commit is contained in:
parent
b57a727195
commit
4c46a708ab
|
@ -393,7 +393,7 @@ namespace KubernetesWorkflow
|
|||
{
|
||||
new V1NodeSelectorRequirement
|
||||
{
|
||||
Key = "workload-type",
|
||||
Key = "allow-tests-pods",
|
||||
OperatorProperty = "NotIn",
|
||||
Values = notIns
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace CodexContractsPlugin
|
|||
|
||||
var address = config.GethNode.StartResult.Container.GetAddress(new NullLog(), GethContainerRecipe.HttpPortTag);
|
||||
|
||||
SetSchedulingAffinity(notIn: "tests-runners");
|
||||
SetSchedulingAffinity(notIn: "false");
|
||||
|
||||
AddEnvVar("DISTTEST_NETWORK_URL", address.ToString());
|
||||
AddEnvVar("HARDHAT_NETWORK", "codexdisttestnetwork");
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace CodexDiscordBotPlugin
|
|||
{
|
||||
var config = startupConfig.Get<DiscordBotStartupConfig>();
|
||||
|
||||
SetSchedulingAffinity(notIn: "tests-runners");
|
||||
SetSchedulingAffinity(notIn: "false");
|
||||
|
||||
AddEnvVar("TOKEN", config.Token);
|
||||
AddEnvVar("SERVERNAME", config.ServerName);
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace CodexPlugin
|
|||
SetResourcesRequest(milliCPUs: 100, memory: 100.MB());
|
||||
//SetResourceLimits(milliCPUs: 4000, memory: 12.GB());
|
||||
|
||||
SetSchedulingAffinity(notIn: "tests-runners");
|
||||
SetSchedulingAffinity(notIn: "false");
|
||||
SetSystemCriticalPriority();
|
||||
|
||||
var config = startupConfig.Get<CodexStartupConfig>();
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace GethPlugin
|
|||
|
||||
var args = CreateArgs(config);
|
||||
|
||||
SetSchedulingAffinity(notIn: "tests-runners");
|
||||
SetSchedulingAffinity(notIn: "false");
|
||||
SetSystemCriticalPriority();
|
||||
|
||||
AddEnvVar("GETH_ARGS", args);
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace MetricsPlugin
|
|||
{
|
||||
var config = startupConfig.Get<PrometheusStartupConfig>();
|
||||
|
||||
SetSchedulingAffinity(notIn: "tests-runners");
|
||||
SetSchedulingAffinity(notIn: "false");
|
||||
|
||||
AddExposedPortAndVar("PROM_PORT", PortTag);
|
||||
AddEnvVar("PROM_CONFIG", config.PrometheusConfigBase64);
|
||||
|
|
Loading…
Reference in New Issue