Skip to content

Commit

Permalink
Increase memory of prepare fs init container to 50MB (#2492)
Browse files Browse the repository at this point in the history
  • Loading branch information
barkbay authored Jan 31, 2020
1 parent b8d6d45 commit 46f6b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/elasticsearch/initcontainer/prepare_fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
},
}
Expand Down

0 comments on commit 46f6b30

Please sign in to comment.