Skip to content

Commit

Permalink
Merge pull request #48 from oshoval/requests
Browse files Browse the repository at this point in the history
install-cni, Add resources requests for initContainer
  • Loading branch information
kubevirt-bot authored Jul 12, 2021
2 parents 75d86e9 + 777fd21 commit 5a3b4b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/macvtap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ spec:
command: ["cp", "/macvtap-cni", "/host/opt/cni/bin/macvtap"]
image: quay.io/kubevirt/macvtap-cni:latest
imagePullPolicy: Always
resources:
requests:
cpu: "10m"
memory: "15Mi"
securityContext:
privileged: true
volumeMounts:
Expand Down
4 changes: 4 additions & 0 deletions templates/macvtap.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ spec:
command: ["cp", "/macvtap-cni", "/host/opt/cni/bin/macvtap"]
image: '{{ .MacvtapImage }}'
imagePullPolicy: '{{ .ImagePullPolicy }}'
resources:
requests:
cpu: "10m"
memory: "15Mi"
securityContext:
privileged: true
volumeMounts:
Expand Down

0 comments on commit 5a3b4b1

Please sign in to comment.