Repository navigation
docs(infra): the quota's cpu sum stopped adding up when colours landed - #633
Merged
Merged
Conversation
`er-dev-namespace/values.yaml` justifies `limits.cpu: "40"` with an arithmetic comment, and PR9's colour dimension invalidated it without touching the file: - limits.cpu 3 × 12 (L) + 2 for the app = 38 → 40 + limits.cpu 3 × 12 (L) + 5 at a cutover = 41 → 40 (!) Measured by rendering the chart with both colours up, not estimated: dispatcher 1.0, web-api-blue 1.5, web-api-green 1.5, one weight-ordered hook 0.5, and the tenant-drift CronJob 0.5 if it fires in the window. Nothing is broken today and no value changes here. The comment's CONCLUSION still holds — this namespace admits at most two concurrent L pods — but for a different reason than the sum it offers: ephemeral storage refuses the third (1200 > 900), cpu does not. At two L pods it is 24 + 5 = 29 of 40. What makes this worth correcting rather than leaving is the trap it sets for the next reader. Raising `requestsEphemeralStorage` to 1200Gi to admit a third L pod — which the comment explicitly frames as a cost decision someone may take — would silently make limits.cpu the binding dimension at 41 of 40, and only while a deploy overlaps a full queue. An intermittent quota refusal during a cutover is the worst available way to find that out, and the stale `38` actively tells you there is room. The note now says to raise limitsCpu in the same change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
er-dev-namespace/values.yamljustifieslimits.cpu: "40"with an arithmetic comment that PR9's colour dimension invalidated without touching the file.Measured by rendering the chart with both colours up:
Nothing is broken today and no value changes. The conclusion still holds — at most two concurrent L pods — but because ephemeral storage refuses the third (1200 > 900), not because cpu does. At two L pods it is 24 + 5 = 29 of 40.
The reason to fix it rather than leave it: raising
requestsEphemeralStorageto 1200Gi to admit a third L pod, which the comment frames as a cost decision someone may take, would makelimits.cpubinding at 41 of 40 — intermittently, only while a deploy overlaps a full queue. The stale38actively says there is room. The note now says to raiselimitsCpuin the same change.Found while checking the two constraints the blue/green plan flagged before a first two-colour deploy.