FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Kubernetes nodes with affinity group · Issue #6485 · apache/cloudstack · GitHub

Repository navigation

Kubernetes nodes with affinity group #6485

Description

ISSUE TYPE
  • Improvement Request
COMPONENT NAME
Kubernetes
CLOUDSTACK VERSION
4.16.1
SUMMARY

If I understand correctly, I'm unable to specify affinity group for newly spawned kubernetes nodes. Api (listkubernetescluster) lists affinity group incorrectly (empty array). My feature request is possibility to setup default affinity group for newly spawned VM's or provide workaround.

My use-case is: On our company infrastructure we have multiple groups of machines (with same CPU, RAM etc.) every group is in separate cluster. Each cluster is dedicated for account (affinity group) and I want to run kubernetes on each cluster. But if I scale it up or enable auto-scale, newly spawned VM's aren't member of affinity group, so VM's are spawned on not dedicated cluster.

STEPS TO REPRODUCE

Simply scale kubernetes cluster

EXPECTED RESULTS

Spawn new virtual machine on dedicated cluster defined by affinity group.

ACTUAL RESULTS

New virtual machines is spawned on non-dedicated cluster.

Activity

  1. boring-cyborg commented on Jun 22, 2022

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. yadvr commented on Jul 1, 2022

    Member
  3. shwstppr commented on Aug 8, 2022

    Contributor

    @tenvecera would having a new parameter to specify affinity group in createKubernetesCluster API and corresponding option in UI make sense for you or looking for something more? cc @Pearl1594 @davidjumani

  4. tenvecera commented on Aug 9, 2022

    Author

    @shwstppr Hi Abhishek, thanks for your response.

    In fact for me is update API sufficient, but with correspodning option in UI this change should help more than only me.

    Is it hard to change it? I can imagine that this is more than "only" adding it to API, but also add into scale and so on. In which version can we expect this change? Right now I've set up statically oversized clusters and I'm looking forward to enabling autoscaling.

  5. moved this to Triaged in ACS Backlogon Aug 17, 2022
  6. added this to the 4.19.0.0 milestone on Jan 11, 2023
  7. weizhouapache commented on Jan 11, 2023

    Member

    moved to 4.19.0.0

    • create cluster with affinity group (s)
    • update cluster with affinity groups (s)
    • provision new vm with affinity groups (s)
    • list clusters with affinity groups (s) and add affinity group(s) id/name to response

    anything else ? @shwstppr @tenvecera

  8. tenvecera commented on Mar 3, 2023

    Author

    Hello @weizhouapache,

    I think that's all. Thank you for continuing to resolve this issue.

  9. shwstppr commented on Oct 2, 2023

    Contributor

    We do not have any work in progress for this at the moment so moving it out of 4.19.0.0 milestone

  10. modified the milestones: 4.19.0.0, 4.20.0.0 on Oct 2, 2023
  11. 10 remaining items

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


      Back | FazBrowse Home | New Git URL