Auto scaling of KNF deployments
Proposers
- Pedro Escaleira (IT)
Description
So, since some releases ago that KNFs based on Juju Bundles can be manually scaled. Also, since the new release 12, that this feature was extended to KNFs based on Helm Charts (Feature #10886 (closed)). Also, with the development of the Feature #10885, that it is possible to monitor KNFs, and a user can also create specific monitoring metrics using an execution environment. The auto scaling for VNFs is also possible since some releases ago. Therefore, from all these features, OSM is probably mature enough to implement the feature of auto scaling KNFs.
As already happens with VNFs, this would allow an OSM user to define a set of metrics which he wants OSM to track, in order to automatically scale the KNF's KDU resources automatically when one of that metrics reaches some level. As referred, these metrics can come from the Kubernetes cluster monitoring, or can be provided by some EE that the user provided alongside the KNF in question. Therefore, with this feature, the user will no longer need to manually verify the KDUs metrics and scale the corresponding resources accordingly, this can be automatically be done by OSM.
Demo or definition of done
When an OSM user can add a new KNF with automatic scaling type, and the KNF's target resources are successfully automatically scaled.