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: cluster offering stays stale after every node type is scaled to the same offering #14822
When a CKS cluster is scaled with per node type offerings (nodeofferings), the control, worker and etcd offerings are updated but the cluster's serviceofferingid is not. listKubernetesClusters (and the UI) keep showing the offering the cluster was created with, even after every node has moved to a new one. The UI scale dialog hides the cluster-wide offering field in per node type mode, so there is no way to fix it from there.
This is the part of #14702 where every node type ends up on one offering, so the cluster offering is run by no node at all. When node types stay on different offerings, the cluster offering is still the fallback for types without their own, so it is left alone here.
step
serviceofferingid
controlofferingid
workerofferingid
create with serviceofferingid=A
A
-
-
scale with nodeofferings control=B, worker=B
A (stale)
B
B
versions
4.21 and later (per node type offerings), including 4.22.
The steps to reproduce the bug
Create a CKS cluster with serviceofferingid=A.
Scale it with nodeofferings[0].node=control, nodeofferings[0].offering=B, nodeofferings[1].node=worker, nodeofferings[1].offering=B.
listKubernetesClusters id=<cluster>: serviceofferingid is still A, while all nodes run on B.
What to do about it?
After a node type's offering is stored, if every node type that has nodes is on the same offering, set the cluster offering to it. If they differ, leave it as is, since node types without an offering of their own still use the cluster offering.
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.
After every node type of a CKS cluster is scaled to the same offering with nodeofferings, the cluster's serviceofferingid still shows the offering the cluster was created with. The control and worker offering fields are updated, but the cluster offering is not. The reporter asks for the cluster offering to follow when all node types share one offering, and to be left alone when they differ.
📊 Assessment
Dimension
Value
Reasoning
Type
type:bug
Stored cluster offering is inconsistent with the nodes, with reproduction steps
Component
component:cks
CKS scale path and per-node-type offerings (4.21+)
Severity
Severity:Minor
API output is wrong; nodes run on the correct offering
Labels
type:bug, component:cks, Severity:Minor
Based on the issue text
Coding agent
Suitable
Rule is specified: when all populated node types share an offering, set the cluster offering to it
Activity
github-actions commentedon Dec 1, 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
After every node type of a CKS cluster is scaled to the same offering with
nodeofferings, the cluster'sserviceofferingidstill shows the offering the cluster was created with. The control and worker offering fields are updated, but the cluster offering is not. The reporter asks for the cluster offering to follow when all node types share one offering, and to be left alone when they differ.📊 Assessment
🔗 Similar issues
💡 Notes and suggestions
serviceofferingid=A, scale withnodeofferingssetting control and worker to B, then runlistKubernetesClusters.Add this agentic workflow to your repo
To install this agentic workflow, run