Skip to content

Commit

Permalink
Increase default memory for agent (#7789) (#7792)
Browse files Browse the repository at this point in the history
* increase default memory for agent

(cherry picked from commit f0759a7)
  • Loading branch information
kvalliyurnatt authored May 10, 2024
1 parent a2eec9d commit 2d82133
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/controller/agent/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,14 @@ const (
)

var (
// TODO: Decrease back to 350Mi once https://github.com/elastic/elastic-agent/issues/4730 is addressed
defaultResources = corev1.ResourceRequirements{
Limits: map[corev1.ResourceName]resource.Quantity{
corev1.ResourceMemory: resource.MustParse("350Mi"),
corev1.ResourceMemory: resource.MustParse("400Mi"),
corev1.ResourceCPU: resource.MustParse("200m"),
},
Requests: map[corev1.ResourceName]resource.Quantity{
corev1.ResourceMemory: resource.MustParse("350Mi"),
corev1.ResourceMemory: resource.MustParse("400Mi"),
corev1.ResourceCPU: resource.MustParse("200m"),
},
}
Expand Down

0 comments on commit 2d82133

Please sign in to comment.