Skip to content

Support affinity groups when deploying a CKS Cluster #7814

Description

@kiranchavala

ISSUE TYPE

  • Enhancement/Improvement

COMPONENT NAME

Component: Kubernetes,cks

CLOUDSTACK VERSION

Cloudstack 4.18

SUMMARY

Support affinity groups when deploying a CKS Cluster

Currently, there is no support for deploying a CKS cluster with affinity groups

https://cloudstack.apache.org/api/apidocs-4.18/apis/createKubernetesCluster.html

Also, add the feature in UI (create kubernetes cluster ) wizard

cks

It would be nice to have this feature, as there could be a scenario where one of the host (containing all worker node) goes down.

The affinity group can ensure no downtime for an application running as ( pod) on a worker node

Activity

  1. added this to the 4.19.0.0 milestone on Aug 4, 2023
  2. modified the milestones: 4.20.0.0, 4.21.0.0 on Sep 10, 2024
  3. Rid commented on Jan 31, 2025

    @Rid

    Is there any workaround for this? If we want to built a resilient HA kubernetes cluster with each worker node on a different host, is best practice to do a manual kubernetes install on VMs assigned with anti-affinity rather than use CKS?

  4. 8 remaining items

  5. modified the milestones: 4.22.1, 4.23.0 on Apr 24, 2026
  6. weizhouapache commented on Jun 29, 2026

    @weizhouapache
    Member

    fixed by #12386

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions