Skip to content

Commit

Permalink
Merge pull request #2468 from malayparida2000/mgr_limit
Browse files Browse the repository at this point in the history
Increase mgr resources to avoid mgr OOMKilled
  • Loading branch information
openshift-merge-bot[bot] authored Feb 22, 2024
2 parents 87911e1 + 2074860 commit f8a0c2c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions controllers/defaults/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ var (
corev1.ResourceMemory: resource.MustParse("1Gi"),
},
Limits: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("0.5"),
corev1.ResourceMemory: resource.MustParse("1Gi"),
corev1.ResourceCPU: resource.MustParse("1"),
corev1.ResourceMemory: resource.MustParse("2Gi"),
},
},
"mon": {
Expand Down Expand Up @@ -126,8 +126,8 @@ var (
corev1.ResourceMemory: resource.MustParse("1.5Gi"),
},
Limits: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("1"),
corev1.ResourceMemory: resource.MustParse("1.5Gi"),
corev1.ResourceCPU: resource.MustParse("2"),
corev1.ResourceMemory: resource.MustParse("3Gi"),
},
},
"mon": {
Expand Down Expand Up @@ -175,12 +175,12 @@ var (
PerformanceDaemonResources = map[string]corev1.ResourceRequirements{
"mgr": {
Requests: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("1"),
corev1.ResourceCPU: resource.MustParse("1.5"),
corev1.ResourceMemory: resource.MustParse("2Gi"),
},
Limits: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("1"),
corev1.ResourceMemory: resource.MustParse("2Gi"),
corev1.ResourceCPU: resource.MustParse("3"),
corev1.ResourceMemory: resource.MustParse("4Gi"),
},
},
"mon": {
Expand Down

0 comments on commit f8a0c2c

Please sign in to comment.