You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/06/22 13:36:04 UTC

[GitHub] [cloudstack] tenvecera opened a new issue, #6485: Kubernetes nodes with affinity group

tenvecera opened a new issue, #6485:
URL: https://github.com/apache/cloudstack/issues/6485

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Improvement Request
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Kubernetes
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   ~~~
   4.16.1
   ~~~
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   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
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   Simply scale kubernetes cluster
   
   <!-- Paste example playbooks or commands between quotes below -->
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   Spawn new virtual machine on dedicated cluster defined by affinity group.
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   New virtual machines is spawned on non-dedicated cluster.
   
   <!-- Paste verbatim command output between quotes below -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Kubernetes nodes with affinity group [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on issue #6485:
URL: https://github.com/apache/cloudstack/issues/6485#issuecomment-1742601716

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] boring-cyborg[bot] commented on issue #6485: Kubernetes nodes with affinity group

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #6485:
URL: https://github.com/apache/cloudstack/issues/6485#issuecomment-1163107589

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] tenvecera commented on issue #6485: Kubernetes nodes with affinity group

Posted by "tenvecera (via GitHub)" <gi...@apache.org>.
tenvecera commented on issue #6485:
URL: https://github.com/apache/cloudstack/issues/6485#issuecomment-1454170958

   Hello @weizhouapache,
   
   I think that's all. Thank you for continuing to resolve this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on issue #6485: Kubernetes nodes with affinity group

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #6485:
URL: https://github.com/apache/cloudstack/issues/6485#issuecomment-1171959506

   cc @Pearl1594 @davidjumani @shwstppr to triage


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] shwstppr commented on issue #6485: Kubernetes nodes with affinity group

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #6485:
URL: https://github.com/apache/cloudstack/issues/6485#issuecomment-1207691188

   @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 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Kubernetes nodes with affinity group [cloudstack]

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #6485:
URL: https://github.com/apache/cloudstack/issues/6485#issuecomment-2295775313

   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] tenvecera commented on issue #6485: Kubernetes nodes with affinity group

Posted by GitBox <gi...@apache.org>.
tenvecera commented on issue #6485:
URL: https://github.com/apache/cloudstack/issues/6485#issuecomment-1209653382

   @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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] weizhouapache commented on issue #6485: Kubernetes nodes with affinity group

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #6485:
URL: https://github.com/apache/cloudstack/issues/6485#issuecomment-1378444192

   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 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Kubernetes nodes with affinity group [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #6485: Kubernetes nodes with affinity group
URL: https://github.com/apache/cloudstack/issues/6485


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org