From d27451029b29bab6af0a7442272ae18cb15a8ea1 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Thu, 28 Sep 2017 15:01:46 +0200 Subject: [PATCH] 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 --- oci/oci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oci/oci.go b/oci/oci.go index b34b00a2..4c7a2230 100644 --- a/oci/oci.go +++ b/oci/oci.go @@ -31,7 +31,7 @@ const ( // ContainerStateStopped represents the stopped state of a container ContainerStateStopped = "stopped" // ContainerCreateTimeout represents the value of container creating timeout - ContainerCreateTimeout = 10 * time.Second + ContainerCreateTimeout = 240 * time.Second // CgroupfsCgroupsManager represents cgroupfs native cgroup manager CgroupfsCgroupsManager = "cgroupfs"