From 93702bf4ff1911663002b88c6bd484efd7fb24e6 Mon Sep 17 00:00:00 2001 From: Michael Morello Date: Fri, 31 Jan 2020 11:07:10 +0100 Subject: [PATCH] Increase memory of prepare fs init container to 50MB (#2492) --- pkg/controller/elasticsearch/initcontainer/prepare_fs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/elasticsearch/initcontainer/prepare_fs.go b/pkg/controller/elasticsearch/initcontainer/prepare_fs.go index 2221dd0104..de770d6534 100644 --- a/pkg/controller/elasticsearch/initcontainer/prepare_fs.go +++ b/pkg/controller/elasticsearch/initcontainer/prepare_fs.go @@ -81,12 +81,12 @@ var ( // defaultResources are the default request and limits for the init container. defaultResources = corev1.ResourceRequirements{ Requests: map[corev1.ResourceName]resource.Quantity{ - corev1.ResourceMemory: resource.MustParse("20Mi"), + corev1.ResourceMemory: resource.MustParse("50Mi"), corev1.ResourceCPU: resource.MustParse("0.1"), }, Limits: map[corev1.ResourceName]resource.Quantity{ // Memory limit should be at least 12582912 when running with CRI-O - corev1.ResourceMemory: resource.MustParse("20Mi"), + corev1.ResourceMemory: resource.MustParse("50Mi"), corev1.ResourceCPU: resource.MustParse("0.1"), }, }