Bump k8s operation timeout for long timeset
This commit is contained in:
parent
015d8da21d
commit
86074dab6a
|
@ -5,7 +5,7 @@
|
||||||
TimeSpan HttpCallTimeout();
|
TimeSpan HttpCallTimeout();
|
||||||
int HttpMaxNumberOfRetries();
|
int HttpMaxNumberOfRetries();
|
||||||
TimeSpan HttpCallRetryDelay();
|
TimeSpan HttpCallRetryDelay();
|
||||||
TimeSpan WaitForK8sServiceDelay();
|
TimeSpan K8sOperationRetryDelay();
|
||||||
TimeSpan K8sOperationTimeout();
|
TimeSpan K8sOperationTimeout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
return TimeSpan.FromSeconds(1);
|
return TimeSpan.FromSeconds(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TimeSpan WaitForK8sServiceDelay()
|
public TimeSpan K8sOperationRetryDelay()
|
||||||
{
|
{
|
||||||
return TimeSpan.FromSeconds(10);
|
return TimeSpan.FromSeconds(10);
|
||||||
}
|
}
|
||||||
|
@ -54,14 +54,14 @@
|
||||||
return TimeSpan.FromSeconds(2);
|
return TimeSpan.FromSeconds(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TimeSpan WaitForK8sServiceDelay()
|
public TimeSpan K8sOperationRetryDelay()
|
||||||
{
|
{
|
||||||
return TimeSpan.FromSeconds(10);
|
return TimeSpan.FromSeconds(30);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TimeSpan K8sOperationTimeout()
|
public TimeSpan K8sOperationTimeout()
|
||||||
{
|
{
|
||||||
return TimeSpan.FromMinutes(15);
|
return TimeSpan.FromHours(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ namespace DistTestCore
|
||||||
var config = new KubernetesWorkflow.Configuration(
|
var config = new KubernetesWorkflow.Configuration(
|
||||||
kubeConfigFile: kubeConfigFile,
|
kubeConfigFile: kubeConfigFile,
|
||||||
operationTimeout: timeSet.K8sOperationTimeout(),
|
operationTimeout: timeSet.K8sOperationTimeout(),
|
||||||
retryDelay: timeSet.WaitForK8sServiceDelay(),
|
retryDelay: timeSet.K8sOperationRetryDelay(),
|
||||||
kubernetesNamespace: k8sNamespace
|
kubernetesNamespace: k8sNamespace
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -270,7 +270,7 @@ namespace CodexNetDeployer
|
||||||
return TimeSpan.FromMinutes(10);
|
return TimeSpan.FromMinutes(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TimeSpan WaitForK8sServiceDelay()
|
public TimeSpan K8sOperationRetryDelay()
|
||||||
{
|
{
|
||||||
return TimeSpan.FromSeconds(30);
|
return TimeSpan.FromSeconds(30);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue