From dd854ce80fb10853fcdb4138cb114aec2159bbec Mon Sep 17 00:00:00 2001 From: Juan Hernandez Date: Thu, 28 Nov 2024 23:07:09 +0100 Subject: [PATCH] MGMT-19248: Adjust OpenShift AI resources This patch adjust the resources needed to run the _OpenShift AI_ operator. The previous values were too high, in particular the default resources for master nodes are enough, so there is no need to change them. Related: https://issues.redhat.com/browse/MGMT-19248 Related: https://issues.redhat.com/browse/MGMT-19056 Signed-off-by: Juan Hernandez --- src/consts/olm_operators.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/consts/olm_operators.py b/src/consts/olm_operators.py index d3646fe84ff..cdf9dcbdfd6 100644 --- a/src/consts/olm_operators.py +++ b/src/consts/olm_operators.py @@ -100,15 +100,11 @@ def values(cls, is_sno: bool = False) -> dict: OperatorType.METALLB: cls.get_resource_dict(), OperatorType.OPENSHIFT_AI: cls.get_resource_dict( # Note that these requirements are for OpenShift and all its dependencies, in particular ODF. - master_memory=40 * 1024, - worker_memory=64 * 1024, - master_vcpu=12, - worker_vcpu=20, - master_disk=100 * GB, + worker_count=3, worker_disk=100 * GB, - master_disk_count=1, worker_disk_count=2, - worker_count=3, + worker_memory=60 * 1024, + worker_vcpu=20, ), }