You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "palashbiswas-git (via GitHub)" <gi...@apache.org> on 2024/05/31 07:07:32 UTC
[D] To support multiple ports for autoscaling [cloudstack]
GitHub user palashbiswas-git created a discussion: To support multiple ports for autoscaling
<!--
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 -->
* Bug Report
* Improvement Request
* Enhancement Request
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
Autoscaling
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main branch.
-->
~~~
4.19.0.0
~~~
##### SUMMARY
<!-- Explain the problem/feature briefly -->
~~~
Could you please enhance CloudStack to enable support for multiple ports in autoscaling? The current limitation of only one port restricts the deployment of real-time production infrastructure with autoscaling groups.
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
To address this issue of limited ports in the next release!
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
~~~
GitHub link: https://github.com/apache/cloudstack/discussions/9152
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] To support multiple ports for autoscaling [cloudstack]
Posted by "btzq (via GitHub)" <gi...@apache.org>.
GitHub user btzq added a comment to the discussion: To support multiple ports for autoscaling
This is a great feature for us. Right now, in order to overcome this limitation, we deploy an NGINX instance in our VM, configured with static routes. These static routes would then route traffic to the multiple dockers in the VM.
Then, we scale the entire VM altogether.
Its a pretty hacky workaround, but it helps simplify our deployment.
Autoscaling with multiple ports would be really great! I full support.
GitHub link: https://github.com/apache/cloudstack/discussions/9152#discussioncomment-9614602
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] To support multiple ports for autoscaling [cloudstack]
Posted by "btzq (via GitHub)" <gi...@apache.org>.
GitHub user btzq added a comment to the discussion: To support multiple ports for autoscaling
Hey @DaanHoogland , this feature would be really useful for us.
We Autoscale a bunch of API Gateways, and have to maintain 1 ASG for Each Port.
If there is a way to support multiple ports in the same ASG Group, then it would save a lot of resources and duplicate VMs on our side (and public IPs).
I see that there are related discussions about this:
- https://github.com/apache/cloudstack/issues/8313
Will #8313 resolve this?
GitHub link: https://github.com/apache/cloudstack/discussions/9152#discussioncomment-10470488
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] To support multiple ports for autoscaling [cloudstack]
Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
GitHub user kiranchavala added a comment to the discussion: To support multiple ports for autoscaling
Hi @palashbiswas-git
Have you tried cloudstack autoscaler for kubernetes ?
https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/cloudstack
When a Kubernetes pod scales up , cloudstack automatically provisions a node
https://github.com/apache/cloudstack-kubernetes-provider/issues/52#issuecomment-1968230660
GitHub link: https://github.com/apache/cloudstack/discussions/9152#discussioncomment-9614600
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] To support multiple ports for autoscaling [cloudstack]
Posted by "palashbiswas-git (via GitHub)" <gi...@apache.org>.
GitHub user palashbiswas-git added a comment to the discussion: To support multiple ports for autoscaling
Hi @DaanHoogland ,
I'm currently working with a container-based application that supports autoscaling. However, I'm facing a limitation due to having a single load balancer and single port, which prevents me from parking it under an Autoscaling group, especially when I have multiple containers in a single VM/Instance. As you know, except for frontend web-based applications, most applications work with multiple ports where the VM needs to connect to other corresponding nodes, containers, and other services.
Because of this limitation, I believe many Cloudstack users are unable to secure those backend critical systems/applications through autoscaling groups.
Therefore, it would be greatly appreciated if this feature could be included in an upcoming enhancement.
I hope this clarifies the issue and the configuration/setting we are looking for in the future.
Thank you.
GitHub link: https://github.com/apache/cloudstack/discussions/9152#discussioncomment-9614599
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] To support multiple ports for autoscaling [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
GitHub user DaanHoogland added a comment to the discussion: To support multiple ports for autoscaling
@palashbiswas-git , I am sure you have a valid use case, and I think something like this could be implemented in the future. I read this as a generic problem statement and not a very explicit one. I am moving this to discussion to further distill it and create (probably multiple) issues once it is more clear.
GitHub link: https://github.com/apache/cloudstack/discussions/9152#discussioncomment-9614603
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] To support multiple ports for autoscaling [cloudstack]
Posted by "palashbiswas-git (via GitHub)" <gi...@apache.org>.
GitHub user palashbiswas-git added a comment to the discussion: To support multiple ports for autoscaling
Hi @kiranchavala,
You are correct that this can be achieved through Kubernetes. However, our requirement is to use either containers or normal VMs, where we can't handle multiple load balancers or a single load balancer with multiple ports if it's part of an autoscaling group.
GitHub link: https://github.com/apache/cloudstack/discussions/9152#discussioncomment-9614601
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] To support multiple ports for autoscaling [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
GitHub user DaanHoogland added a comment to the discussion: To support multiple ports for autoscaling
at first sight this looks like a valid feature request @palashbiswas-git , but can you elaborate on the configurations/requests/settings that you expect and how they would bahave, including error handling.
GitHub link: https://github.com/apache/cloudstack/discussions/9152#discussioncomment-9614598
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org