Automatic Adjustment of HPA Parameters and Attack Prevention in Kubernetes Using Random Forests
20 Jan · Hanlin Zhou, Huah Yong Chan, Jingfei Ni +2 · arXiv:2601.13515
In this paper, HTTP status codes are used as custom metrics within the HPA as the experimental scenario. By integrating the Random Forest classification algorithm from machine learning, attacks are assessed and predicted, dynamically adjusting the maximum pod parameter in the HPA to manage attack traffic. This approach enables the adjustment of HPA parameters using machine learning scripts in targeted attack…