oci: Increase the container creation timeout
Under very heavy loads (e.g. 100 pods created at the same time), VM based runtimes can take more than 10 seconds to create a pod. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
eae1b7d6bd
commit
d27451029b
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ const (
|
||||||
// ContainerStateStopped represents the stopped state of a container
|
// ContainerStateStopped represents the stopped state of a container
|
||||||
ContainerStateStopped = "stopped"
|
ContainerStateStopped = "stopped"
|
||||||
// ContainerCreateTimeout represents the value of container creating timeout
|
// ContainerCreateTimeout represents the value of container creating timeout
|
||||||
ContainerCreateTimeout = 10 * time.Second
|
ContainerCreateTimeout = 240 * time.Second
|
||||||
|
|
||||||
// CgroupfsCgroupsManager represents cgroupfs native cgroup manager
|
// CgroupfsCgroupsManager represents cgroupfs native cgroup manager
|
||||||
CgroupfsCgroupsManager = "cgroupfs"
|
CgroupfsCgroupsManager = "cgroupfs"
|
||||||
|
|
Loading…
Reference in a new issue