Skip to content

fix(autoscaler): fail safe when no Ready node has a memory reading - #160

Merged
Mearman merged 2 commits into
mainfrom
fix/autoscaler-no-reading
Nov 1, 2026
Merged

Mearman merged 2 commits into
mainfrom
fix/autoscaler-no-reading

Conversation

@Mearman

@Mearman Mearman commented Nov 1, 2026

Copy link
Copy Markdown
Member

With every node in the selector not Ready, the memory check skipped each of them and kept its starting value of 100% available, which reads as no pressure with nothing measured. It now fails safe, like any other missing reading. Found while comparing the earlier draft PR 152 with the merged NotReady fix; its other tests are already covered by the merged tests.

With every listed node left out as not Ready, the worst-case available memory
stayed at its starting value of 100 and read as no pressure.
…lets

kubectl top fails outright when no listed node has metrics, so the case that
reaches the guard is a silent kubelet's last figure on a node that is not Ready.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ⚠️ Failed 2026-11-01T23:30:30.378880Z
We couldn’t complete this review. Comment @codex security review to try again.
bfbc2a1 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@Mearman
Mearman merged commit 67d546f into main Nov 1, 2026
15 checks passed
@Mearman
Mearman deleted the fix/autoscaler-no-reading branch November 1, 2026 23:47
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.13.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant