To support multiple ports for autoscaling #9152
Replies: 7 comments
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
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: Will #8313 resolve this? |
Beta Was this translation helpful? Give feedback.
-
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
SUMMARY
EXPECTED RESULTS
ACTUAL RESULTS
Beta Was this translation helpful? Give feedback.
All reactions