From 894bc084e3954de8803778b5fbd4c5a2c476894e Mon Sep 17 00:00:00 2001 From: tegwick Date: Thu, 22 Oct 2026 00:06:46 +0200 Subject: [PATCH] RAIL-EN-WP-0003-T01: prepare wave-2 Argo CD requests application-controller 30m/432Mi, repo-server 10m CPU; limits unchanged. Server-side diff against live: resource requests only. No apply. Co-Authored-By: Claude Opus 5.5 Assistant: claude-code Assistant-Model: opus Assistant-Process: 276069@bnt-lap001 Assistant-Session: 2e192b3d-b3e8-4403-94d4-d55a2c8b476c --- deploy/argocd/railiance01/resources.yaml | 4 ++-- .../RAIL-EN-WP-0003-wave2-resource-right-sizing.md | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/deploy/argocd/railiance01/resources.yaml b/deploy/argocd/railiance01/resources.yaml index 64828f1..ef2dbf0 100644 --- a/deploy/argocd/railiance01/resources.yaml +++ b/deploy/argocd/railiance01/resources.yaml @@ -15,7 +15,7 @@ spec: containers: - name: argocd-application-controller resources: - requests: {cpu: 50m, memory: 256Mi} + requests: {cpu: 30m, memory: 432Mi} limits: {cpu: 1000m, memory: 1Gi} --- apiVersion: apps/v1 @@ -33,7 +33,7 @@ spec: containers: - name: argocd-repo-server resources: - requests: {cpu: 25m, memory: 128Mi} + requests: {cpu: 10m, memory: 128Mi} limits: {cpu: 1000m, memory: 1Gi} --- apiVersion: apps/v1 diff --git a/workplans/RAIL-EN-WP-0003-wave2-resource-right-sizing.md b/workplans/RAIL-EN-WP-0003-wave2-resource-right-sizing.md index 052bcad..c890bc1 100644 --- a/workplans/RAIL-EN-WP-0003-wave2-resource-right-sizing.md +++ b/workplans/RAIL-EN-WP-0003-wave2-resource-right-sizing.md @@ -55,6 +55,17 @@ Steps: Verification: `kubectl -n get pod -o jsonpath='{..resources}'` shows the new requests; pods Ready with no new restarts or OOMKilled over 24h; for CPU decreases the throttle ratio and request latency stay at or below the 7d baseline; node request total drops by the expected delta. +Prepared 2026-10-22 (wave-2 worker W3; no apply, cluster read-only): source +`deploy/argocd/railiance01/resources.yaml` (kustomize over the pinned core +install). application-controller requests 50m/256Mi -> 30m/432Mi, repo-server +25m/128Mi -> 10m/128Mi; limits unchanged. Full `kubectl kustomize` render, +server-side `kubectl diff -n argocd` against live: only these two objects, +`containers[].resources.requests` keys; no other drift. Apply (local kubectl, +per README "Apply the declared state"): +`make argocd-fetch && kubectl kustomize deploy/argocd/railiance01 | kubectl apply --server-side -n argocd -f -`. +Restarts the application-controller StatefulSet pod and the repo-server pod +(Argo reconciliation pauses briefly; no ingress impact). + Rollback: revert the source commit and re-sync/re-apply; the before values in the table above are the rollback target. Keep before/after `kubectl get -o yaml` captures as the receipt. ArgoCD manages itself: apply through the RAIL-EN-WP-0002 declared-state path and confirm all Applications return to Synced/Healthy afterwards.