利用Kubernetes集群日志自动化微服务测试失败分析
Automating Microservices Test Failure Analysis using Kubernetes Cluster Logs
AI总结:
本研究针对微服务测试失败人工排查低效的问题,基于Kubernetes集群日志对比五种分类算法,发现Random Forest在保证精度的同时计算资源需求更低,可实现故障原因自动识别。
摘要:
Kubernetes是一款免费开源的容器编排系统,用于部署和管理承载微服务的Docker容器,其集群日志可帮助确定故障原因。但随着系统愈发复杂,人工识别故障原因变得愈发困难且耗时。本研究旨在找出高效的分类算法以自动判定故障原因,我们对比了五种分类算法:支持向量机、K近邻、Random Forest、Gradient Boosting Classifier以及Multilayer Perceptron。结果表明,Random Forest精度良好,且所需计算资源少于其他算法。
英文摘要:
Kubernetes is a free, open-source container orchestration system for deploying and managing Docker containers that host microservices. Kubernetes cluster logs help in determining the reason for the failure. However, as systems become more complex, identifying failure reasons manually becomes more difficult and time-consuming. This study aims to identify effective and efficient classification algorithms to automatically determine the failure reason. We compare five classification algorithms, Support Vector Machines, K-Nearest Neighbors, Random Forest, Gradient Boosting Classifier, and Multilayer Perceptron. Our results indicate that Random Forest produces good accuracy while requiring fewer computational resources than other algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。