Skip to content

Commit

Permalink
Merge pull request #288 from RoniKishner/spread_rhel.9.realtime
Browse files Browse the repository at this point in the history
add requirements into rhel.9.realtime preference
  • Loading branch information
kubevirt-bot authored Nov 19, 2024
2 parents 31a821e + 6e43f21 commit e53178e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions preferences/rhel/9_realtime/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ resources:
components:
- ./metadata
- ./realtime
- ./requirements
- ../../components/cpu-topology-spread
- ../../components/interface-multiqueue

Expand Down
11 changes: 11 additions & 0 deletions preferences/rhel/9_realtime/requirements/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

patches:
- path: ./requirements.yaml
target:
kind: VirtualMachinePreference
- path: ./requirements.yaml
target:
kind: VirtualMachineClusterPreference
13 changes: 13 additions & 0 deletions preferences/rhel/9_realtime/requirements/requirements.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
apiVersion: instancetype.kubevirt.io/v1beta1
kind: VirtualMachinePreference
metadata:
name: requirements
spec:
# https://access.redhat.com/articles/rhel-limits#minimum-required-memory-3
requirements:
cpu:
# required as this preference uses SocketsCoresThreads with a ratio of 2
guest: 4
memory:
guest: 4Gi

0 comments on commit e53178e

Please sign in to comment.