Skip to content

CKS: new created nodes are not added to CKS cluster if scaling fails #12123

Closed

Description

@weizhouapache

problem

this happens with ACS 4.22 and 4.21, but might also with older versions

  • create CKS cluster (1 control node + 1 worker node) as regular user
  • set resource limit (e.g. memory) of regular user, so that the user can deploy a new worker node, but not two worker nodes
  • scale the CKS cluster with two more worker nodes (1 -> 3)
  • a worker node is created, but not 2 due to resource limitation

expected (option 1):

  • CKS cluster node size is increased to 2 (2 worker nodes)
  • network rules are configured for the new worker node
  • CKS cluster is Running state

expected (option 2):

  • scaling fails
  • No new worker node is deployed
  • CKS cluster node size is unchanged (still 1)
  • CKS cluster is Running state

Actual:

  • a new worker node is deployed
  • CKS cluster node size is still 1 (1 worker node)
  • network rules are not configured for the new worker node
  • CKS cluster is Alert state

versions

The versions of ACS, hypervisors, storage, network etc..

The steps to reproduce the bug

...

What to do about it?

No response

Activity

  1. added this to the 4.22.1 milestone on Nov 24, 2025
  2. weizhouapache commented on Nov 25, 2025

    @weizhouapache
    MemberAuthor

    I updated the description with two options of expectation
    both are fine for me. cc @DaanHoogland @Pearl1594

    expected (option 1):
    
    CKS cluster node size is increased to 2 (2 worker nodes)
    network rules are configured for the new worker node
    CKS cluster is Running state
    
    expected (option 2):
    scaling fails
    No new worker node is deployed
    CKS cluster node size is unchanged (still 1)
    CKS cluster is Running state
    
  3. DaanHoogland commented on Dec 1, 2025

    @DaanHoogland
    Contributor

    looking at #12167 , we are choosing option 2, right @Pearl1594 ? (fine by me)

  4. Pearl1594 commented on Dec 1, 2025

    @Pearl1594
    Contributor

    Yes @DaanHoogland selected option 2, because having the cluster partially scale may lead to end users believing it scaled and then later realizing that it didn't scale up to the nodes they expected it to. That was my thought when I chose option 2 to address the issue.

  5. DaanHoogland commented on Dec 12, 2025

    @DaanHoogland
    Contributor

    fixed in #12167

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions