weizhouapache commented on issue #9144: URL: https://github.com/apache/cloudstack/issues/9144#issuecomment-2138911886
> Hi @weizhouapache , > > Allowing VNF to be the LB Provider would be great, but come to think of it, i think it will pose a challenge because Cloudstack will need to recognise the different metrics that the VNF outputs for Scale Up, Scale Down etc. > > If Autoscale relies on Virtual Router for now, then would this suggestion below be easier to implement instead? > >  > > In this diagram: > > * No change to the way Autoscaling works is required. > * Virtual Router just needs to be allowed to route incoming traffic from the internet, to the VNF. > * VNF will then return the traffic back to Virtual Router. > * Any VNF can be used as its just routing of traffic. > > I believe a UI is needed to specify the conditions in which the Virtual Router will route the traffic to the VNF. I think basic conditions will do, as the more advanced stuff will be done by the VNF. currently Autoscaling supports 5 counters, see https://docs.cloudstack.apache.org/en/latest/adminguide/autoscale_with_virtual_router.html#id2 the cpu/memory usage are fetched from hypervisor the network/lb metrics are fetched from virtual routers. for now, cloudstack does not get metrics for Autoscaling from other sources. it looks like you need a feature like traffic mirroring. @btzq -- 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]
