Skip to content

Commit

Permalink
Merge pull request #8707 from jean-edouard/release-0.49-bumpagain
Browse files Browse the repository at this point in the history
[release-0.49] Bump memory requests according to value seen in testing
  • Loading branch information
kubevirt-bot authored Dec 20, 2022
2 parents 511d07f + b9032ac commit 13dd095
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 @@ -1081,7 +1081,7 @@ spec:
resources:
requests:
cpu: 10m
memory: 150Mi
memory: 400Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,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 @@ -329,7 +330,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("150Mi"),
corev1.ResourceMemory: resource.MustParse("300Mi"),
},
}

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

0 comments on commit 13dd095

Please sign in to comment.