-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #288 from RoniKishner/spread_rhel.9.realtime
add requirements into rhel.9.realtime preference
- Loading branch information
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
preferences/rhel/9_realtime/requirements/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
13
preferences/rhel/9_realtime/requirements/requirements.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |