Skip to content

fix: lower proxy CPU request to 950m so a pod stays under 1 CPU - #141

Merged
cboettig merged 1 commit into
mainfrom
fix/cpu-request-under-1
Aug 22, 2026
Merged

cboettig merged 1 commit into
mainfrom
fix/cpu-request-under-1

Conversation

@cboettig

Copy link
Copy Markdown
Member

Replicas were registering at 1.01 CPU because resource accounting is per pod, not per container:

container cpu request
open-llm-proxy 1000m
dns-cache sidecar 10m
pod total 1010m

Lower the app request to 950m, putting the pod total at 960m — strictly under 1 CPU.

Limits are unchanged (2000m app / 200m sidecar), so burst headroom is the same; only the scheduling/quota floor moves.

Applies on the next rollout (both deployments git-clone main at pod boot, but this is a manifest change, so it needs kubectl apply -f deployment.yaml on NRP). cirrus has its own cirrus/deployment.yaml (250m request) and is unaffected.

Resource accounting is per pod: the open-llm-proxy container requested
1000m and the dns-cache sidecar another 10m, so every replica registered
as 1.01 CPU. Drop the app request to 950m (pod total 960m). Limits are
untouched, so burst headroom is unchanged.
@cboettig
cboettig merged commit 2494c08 into main Aug 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant