Skip to content

CKS: cluster offering stays stale after every node type is scaled to the same offering #14822

Backlog

Description

@bhouse-nexthop

problem

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

  1. Create a CKS cluster with serviceofferingid=A.
  2. Scale it with nodeofferings[0].node=control, nodeofferings[0].offering=B, nodeofferings[1].node=worker, nodeofferings[1].offering=B.
  3. 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.

Activity

  1. github-actions commented on Dec 1, 2026

    @github-actions

    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'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

    🔗 Similar issues

    💡 Notes and suggestions

    Generated by Daily Issue Triage · copilot · haiku55 · ~9 AIC · ⊞ 3.8K · ◷

    Add this agentic workflow to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/daily-issue-triage.md@139fa09ef17cde4135e696ff8e7af09bc5ddfa6e
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions