Skip to content

sql statefulsets: remove cpu limits#2050

Merged
deer-wmde merged 1 commit into
mainfrom
de/sql-cpu-limits
Apr 9, 2025
Merged

sql statefulsets: remove cpu limits#2050
deer-wmde merged 1 commit into
mainfrom
de/sql-cpu-limits

Conversation

@deer-wmde
Copy link
Copy Markdown
Contributor

related: https://phabricator.wikimedia.org/T390823

Currently SQL StatefulSets can not come back up due to invalid cpu limits

  Warning  FailedCreate  2m6s (x30 over 3h27m)  statefulset-controller  create Pod sql-mariadb-primary-0 in StatefulSet sql-mariadb-primary failed error: Pod "sql-mariadb-primary-0"
 is invalid: spec.containers[0].resources.requests: Invalid value: "750m": must be less than or equal to cpu limit of 0

@tarrow
Copy link
Copy Markdown
Contributor

tarrow commented Apr 7, 2025

I guess there are probably more of these null limits out there waiting to bite us

@tarrow
Copy link
Copy Markdown
Contributor

tarrow commented Apr 8, 2025

Yes - I already tried to clean this up and then had to revert it. I believe related to the helmfile->argo values issues. We could probably just try to revert the revert again. See: #1842

@deer-wmde deer-wmde merged commit a4d29e9 into main Apr 9, 2025
@deer-wmde deer-wmde deleted the de/sql-cpu-limits branch April 9, 2025 14:02
@deer-wmde
Copy link
Copy Markdown
Contributor Author

deer-wmde commented Apr 9, 2025

ah.. well since you approved I merged it for now in order to make #2048 work (which I merged before and then was wondering why the staging workloads are down again :P) but yeah I think we're now set up to get this same surprise for the other statefulsets as well

@deer-wmde
Copy link
Copy Markdown
Contributor Author

follow up #2057

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.

2 participants