From 04aca2f56ed33177dea0f9d6784bd96e2bef3f51 Mon Sep 17 00:00:00 2001 From: andersonid Date: Sat, 4 Oct 2025 09:07:13 -0300 Subject: [PATCH] Fix S2I deploy script with optimized resource values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update CPU_REQUEST: 100m → 50m - Update CPU_LIMIT: 500m → 200m - Update MEMORY_REQUEST: 256Mi → 64Mi - Update MEMORY_LIMIT: 1Gi → 256Mi - Align S2I script with deployment.yaml optimizations - Ensure consistent resource allocation across all deployment methods --- scripts/deploy-s2i.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/deploy-s2i.sh b/scripts/deploy-s2i.sh index 8e0718f..365a72b 100755 --- a/scripts/deploy-s2i.sh +++ b/scripts/deploy-s2i.sh @@ -84,10 +84,10 @@ deploy_s2i() { -p GIT_REPOSITORY="$GIT_REPO" \ -p GIT_REF="$GIT_REF" \ -p PYTHON_VERSION="$PYTHON_VERSION" \ - -p CPU_REQUEST="100m" \ - -p CPU_LIMIT="500m" \ - -p MEMORY_REQUEST="256Mi" \ - -p MEMORY_LIMIT="1Gi" \ + -p CPU_REQUEST="50m" \ + -p CPU_LIMIT="200m" \ + -p MEMORY_REQUEST="64Mi" \ + -p MEMORY_LIMIT="256Mi" \ -p REPLICAS="1" \ | oc apply -f -