Skip to content

Commit

Permalink
chore: add pod resources limits
Browse files Browse the repository at this point in the history
The pod is running buildah inside and may require
more memory than expected.

Signed-off-by: Ben Oukhanov <[email protected]>
  • Loading branch information
codingben committed Nov 5, 2023
1 parent c4da467 commit 5d042a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kubevirt-disk-uploader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ spec:
key: registryHostname
command: ["/usr/bin/kubevirt-disk-uploader.sh"]
args: ["example-vm", "example-vm-exported:latest", "disk.img.gz"]
resources:
requests:
memory: 512Mi
limits:
memory: 1Gi
securityContext:
capabilities:
add:
Expand Down

0 comments on commit 5d042a3

Please sign in to comment.