Page MenuHomePhabricator

Raise revertrisk namespace resource quota to allow rolling deployments
Closed, ResolvedPublic

Description

Description:

Rollouts in the revertrisk namespace stall on exceeded quota: the new Knative revision comes up before the old one goes away, and their combined requests don't fit. Pods sit Pending and the namespace is left mixed-version until the old revision is deleted by hand.

Steady-state usage is ~98 CPU / ~148Gi against a 140 CPU / 200Gi quota — not enough headroom for one service to double up during a rollout. Raised the revertrisk quota to 160 CPU / 230Gi in CL 1326234 (ml-serve-eqiad, ml-serve-codfw, ml-staging-codfw).

Scoped to revertrisk. Quotas in the other ml-serve namespaces and GPU rollout headroom (T420883) are not covered here.

Event Timeline

While testing the rollout in T420883, I found another deployment constraint that's related to this discussion.

Rolling updates for GPU-backed Knative services temporarily require additional GPU capacity because the old and new revisions coexist during the rollout. In our case, this prevented the rollout from completing even though the steady state would fit within the available GPUs.

I've documented the details in T420883#12174854, but this suggests we should also consider GPU headroom alongside CPU/memory quota when planning rolling updates.

Change #1326234 had a related patch set uploaded (by AikoChou; author: AikoChou):

[operations/deployment-charts@master] admin_ng: raise revertrisk namespace resource quota for rollout headroom

https://gerrit.wikimedia.org/r/1326234

Change #1326234 merged by jenkins-bot:

[operations/deployment-charts@master] admin_ng: raise revertrisk namespace resource quota for rollout headroom

https://gerrit.wikimedia.org/r/1326234

achou renamed this task from ml-serve: assess and raise resource quotas to support rolling deployments in revertrisk (and other) namespaces to Raise revertrisk namespace resource quota to allow rolling deployments.Wed, Aug 19, 10:27 AM
achou closed this task as Resolved.
achou claimed this task.
achou updated the task description. (Show Details)

Deployed 2026-08-17, verified with kubectl describe quota quota-compute-resources. Resolving.