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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]