From bb2891a88188ba221a97125ec2b160f94eed179a Mon Sep 17 00:00:00 2001 From: Dave Smith-Uchida Date: Tue, 12 Jan 2021 15:40:04 -0800 Subject: [PATCH] Increased limit for Velero pod to 512M. Fixes #3234 Signed-off-by: Dave Smith-Uchida --- changelogs/unreleased/3234-dsmithuchida | 1 + pkg/install/resources.go | 2 +- site/content/docs/main/customize-installation.md | 4 ++-- tilt-resources/examples/deployment.yaml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 changelogs/unreleased/3234-dsmithuchida diff --git a/changelogs/unreleased/3234-dsmithuchida b/changelogs/unreleased/3234-dsmithuchida new file mode 100644 index 000000000..d3d05a551 --- /dev/null +++ b/changelogs/unreleased/3234-dsmithuchida @@ -0,0 +1 @@ +Increased default Velero pod memory limit to 512Mi diff --git a/pkg/install/resources.go b/pkg/install/resources.go index a8493c77f..8d4c33bd4 100644 --- a/pkg/install/resources.go +++ b/pkg/install/resources.go @@ -46,7 +46,7 @@ var ( DefaultVeleroPodCPURequest = "500m" DefaultVeleroPodMemRequest = "128Mi" DefaultVeleroPodCPULimit = "1000m" - DefaultVeleroPodMemLimit = "256Mi" + DefaultVeleroPodMemLimit = "512Mi" DefaultResticPodCPURequest = "500m" DefaultResticPodMemRequest = "512Mi" DefaultResticPodCPULimit = "1000m" diff --git a/site/content/docs/main/customize-installation.md b/site/content/docs/main/customize-installation.md index 6297247e0..6af595c28 100644 --- a/site/content/docs/main/customize-installation.md +++ b/site/content/docs/main/customize-installation.md @@ -80,7 +80,7 @@ At installation, Velero sets default resource requests and limits for the Velero |CPU request|500m|500m| |Memory requests|128Mi|512Mi| |CPU limit|1000m (1 CPU)|1000m (1 CPU)| -|Memory limit|256Mi|1024Mi| +|Memory limit|512Mi|1024Mi| {{< /table >}} ### Install with custom resource requests and limits @@ -111,7 +111,7 @@ Update the `spec.template.spec.containers.resources.limits` and `spec.template.s ```bash kubectl patch deployment velero -n velero --patch \ -'{"spec":{"template":{"spec":{"containers":[{"name": "velero", "resources": {"limits":{"cpu": "1", "memory": "256Mi"}, "requests": {"cpu": "1", "memory": "128Mi"}}}]}}}}' +'{"spec":{"template":{"spec":{"containers":[{"name": "velero", "resources": {"limits":{"cpu": "1", "memory": "512Mi"}, "requests": {"cpu": "1", "memory": "128Mi"}}}]}}}}' ``` **restic pod** diff --git a/tilt-resources/examples/deployment.yaml b/tilt-resources/examples/deployment.yaml index b14015484..451e86073 100644 --- a/tilt-resources/examples/deployment.yaml +++ b/tilt-resources/examples/deployment.yaml @@ -52,7 +52,7 @@ spec: resources: limits: cpu: "1" - memory: 256Mi + memory: 512Mi requests: cpu: 500m memory: 128Mi