Skip to content

Commit

Permalink
Bump memory requests according to value seen in testing
Browse files Browse the repository at this point in the history
Signed-off-by: Jed Lejosne <jed@redhat.com>
  • Loading branch information
jean-edouard committed Oct 17, 2022
1 parent d2480fe commit 3d0b13e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifests/generated/operator-csv.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ spec:
resources:
requests:
cpu: 10m
memory: 250Mi
memory: 400Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func NewHandlerDaemonSet(namespace string, repository string, imagePrefix string
container.Resources = corev1.ResourceRequirements{
Requests: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("10m"),
corev1.ResourceMemory: resource.MustParse("230Mi"),
corev1.ResourceMemory: resource.MustParse("300Mi"),
},
}

Expand Down
5 changes: 3 additions & 2 deletions pkg/virt-operator/resource/generate/components/deployments.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* Copyright 2018 Red Hat, Inc.
*
*/

package components

import (
Expand Down Expand Up @@ -367,7 +368,7 @@ func NewApiServerDeployment(namespace string, repository string, imagePrefix str
container.Resources = corev1.ResourceRequirements{
Requests: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("5m"),
corev1.ResourceMemory: resource.MustParse("250Mi"),
corev1.ResourceMemory: resource.MustParse("300Mi"),
},
}

Expand Down Expand Up @@ -580,7 +581,7 @@ func NewOperatorDeployment(namespace string, repository string, imagePrefix stri
Resources: corev1.ResourceRequirements{
Requests: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("10m"),
corev1.ResourceMemory: resource.MustParse("250Mi"),
corev1.ResourceMemory: resource.MustParse("400Mi"),
},
},
SecurityContext: &corev1.SecurityContext{
Expand Down

0 comments on commit 3d0b13e

Please sign in to comment.