You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CKS scale uses the cluster offering instead of the node type's offering for capacity and cores/memory #14805
threat detection engine error
The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
KubernetesClusterScaleWorker uses the cluster offering where it should use the node type's offering. The capacity check before adding workers uses the cluster offering, not the worker offering. The stored cores and memory count new workers at the cluster offering, and after an offering scale of a running cluster the old offering is read from VMs that were already upgraded, so the totals do not change. The result is a capacity check on the wrong numbers and cluster totals that drift from what is deployed. The reporter gives a worked example: 2 vCPU cluster offering, 4 vCPU worker offering, scale up by 2, and cores grow by 4 instead of 8.
📊 Assessment
Dimension
Value
Reasoning
Type
type:bug
Wrong offering used in capacity and totals, with a worked example
Component
component:cks
KubernetesClusterScaleWorker
Severity
Severity:Major
Capacity decisions and stored resource totals are wrong
Labels
type:bug, component:cks, Severity:Major
Based on the issue text
Coding agent
Suitable
Fix is specified: use the node type's offering, falling back to the cluster offering as deployment does
Reproduction: create a cluster with a cluster offering and a different worker offering, scale by size, then compare cores and memory on listKubernetesClusters.
Check the stored totals after an offering-only scale of a running cluster as well.
Activity
github-actions commentedon Nov 30, 2026
Warning
threat detection engine error
The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
Review the workflow run logs for details.
🎯 Triage report
KubernetesClusterScaleWorkeruses the cluster offering where it should use the node type's offering. The capacity check before adding workers uses the cluster offering, not the worker offering. The stored cores and memory count new workers at the cluster offering, and after an offering scale of a running cluster the old offering is read from VMs that were already upgraded, so the totals do not change. The result is a capacity check on the wrong numbers and cluster totals that drift from what is deployed. The reporter gives a worked example: 2 vCPU cluster offering, 4 vCPU worker offering, scale up by 2, and cores grow by 4 instead of 8.📊 Assessment
KubernetesClusterScaleWorker🔗 Similar issues
nodeidsscale-in can resize unrelated nodes to the legacy offering💡 Notes and suggestions
coresandmemoryonlistKubernetesClusters.Add this agentic workflow to your repo
To install this agentic workflow, run