Details

Zaznavanje anomalij v dogodkih gruče OpenShift z uporabo statističnih metod in strojnega učenja
ID Maurič, Ana (Author), ID Sedlar, Urban (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (2,91 MB)
MD5: CDBEDEB8CC2A5480422040CE0B2C3ADD

Abstract
V tej magistrski nalogi je bil obravnavan problem analize dogodkov v gruči OpenShift. Ključni izziv je bil razlikovanje med običajnimi odstopajočimi dogodki in kontekstualno pomembnimi anomalijami, ki nakazujejo na nepravilno delovanje sistema oz. gruče. Namen naloge je bil primerjati statistične metode in modele strojnega učenja pri zaznavi anomalij ter uporabiti veliki jezikovni model za generiranje razlag in predlogov ukrepov. V uvodu je predstavljeno kratko teoretično ozadje o platformi OpenShift. Prav tako so opisani rezultati že obstoječih raziskav na temo odkrivanja anomalij z uporabo strojnega učenja ter umetne inteligence. V okviru praktičnega dela je bilo postavljeno okolje Red Hat OpenShift AI (v nadaljevanju RHOAI) na Red Hat OpenShift Container Platform, podatki pa so bili zajeti in obdelani v okolju Jupyter Notebook. Izvedena je bila osnovna statistična analiza dogodkov z metodama z-vrednosti in interkvartilnega razpona (angl. interquartile range – v nadaljevanju IQR). Nato so bili preizkušeni modeli strojnega učenja: izolacijski gozd, enorazredna metoda podpornih vektorjev (angl. one-class support vector machine – v nadaljevanju OCSVM), lokalni faktor odstopanja (angl. local outlier factor – v nadaljevanju LOF) in avtoenkoder. Skupno zaznane anomalije so bile združene v konsenzni model, njegov izhod pa je bil posredovan velikemu jezikovnemu modelu moonshotai/Kimi-K2-Instruct-0905 za generiranje razlag in priporočil. Rezultati so bili prikazani na spletni strani znotraj gruče. Rezultati so pokazali, da je metoda z-vrednosti primerna za zaznavo kratkotrajnih izrazitih incidentov, IQR pa za ponavljajoča odstopanja brez širšega konteksta. Modeli strojnega učenja zaznavajo širši spekter anomalij, saj upoštevajo več značilk in medsebojne odnose dogodkov. Posamezni modeli izpostavljajo različne vidike nepravilnosti – izolacijski gozd zaznava redkejša opozorila, OCSVM se osredotoča na ponavljajoča opozorila, avtoenkoder in LOF pa na najpogostejše zanke v sistemu. Posamezni modeli kljub podobnostim zaznavajo različne tipe anomalij, kar se odraža tudi v relativno nizkem medsebojnem strinjanju modelov, zlasti pri modelu LOF. Konsenzni model še poveča robustnost zaznave, vendar zahteva dodatno interpretacijo. Veliki jezikovni model (angl. large language model – v nadaljevanju LLM) ponuja smiselne razlage in usmeritve za nadaljnjo diagnostiko, vendar ne nadomešča strokovne analize v celoti. Nadaljnje delo bi lahko vključevalo testiranje različnih nastavitev modelov, zaznavanje anomalij v realnem času, namerno povzroščanje napak na testnem projektu in preverjanje, za kolikšen delež anomalij LLM pravilno ugotovi razlog. Primerjati bi bilo mogoče tudi več pristopov LLM.

Language:Slovenian
Keywords:OpenShift, zaznavanje anomalij, strojno učenje, veliki jezikovni modeli, magisteriji
Work type:Master's thesis/paper
Typology:2.09 - Master's Thesis
Organization:FE - Faculty of Electrical Engineering
Place of publishing:Ljubljana
Publisher:A. Maurič
Year:2026
Number of pages:1 spletni vir (1 datoteka PDF (XIV, 73 str., 30 str. pril.))
PID:20.500.12556/RUL-183826 This link opens in a new window
UDC:004.85(043.3)
COBISS.SI-ID:282682371 This link opens in a new window
Publication date in RUL:19.06.2026
Views:336
Downloads:181
Metadata:XML DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:Detection of anomalies in OpenShift cluster events using statistical methods and machine learning
Abstract:
This master’s thesis addressed the problem of event analysis in an OpenShift cluster. The key challenge was distinguishing between ordinary outlier events and contextually significant anomalies that indicate malfunctioning of the system or cluster. The aim of the thesis was to compare statistical methods and machine learning models for anomaly detection and to use a large language model to generate explanations and recommended actions. The introduction presents a brief theoretical background on the OpenShift platform. It also describes the results of existing research on anomaly detection using machine learning and artificial intelligence. As part of the practical work, a Red Hat OpenShift AI environment was deployed on the Red Hat OpenShift Container Platform, while the data was collected and processed in a Jupyter Notebook environment. A basic statistical analysis of events was performed using the z-score method and the interquartile range (IQR) method. Subsequently, several machine learning models were tested: isolation forest, one-class support vector machine (OCSVM), local outlier factor (LOF), and an autoencoder. The commonly detected anomalies were combined into a consensus model, whose output was then forwarded to the large language model moonshotai/Kimi-K2-Instruct-0905 for generating explanations and recommendations. The results were displayed on a web page within the cluster. The results showed that the z-score method is suitable for detecting short-term pronounced incidents, while IQR is more appropriate for recurring deviations without broader context. Machine learning models detect a wider range of anomalies because they consider multiple features and the relationships between events. Individual models highlight different aspects of irregularities — isolation forest detects rarer warnings, OCSVM focuses on recurring warnings, while the autoencoder and LOF emphasize the most common loops within the system. Despite certain similarities, the individual models detect different types of anomalies, which is also reflected in the relatively low agreement between the models, particularly in the case of LOF. The consensus model further increases the robustness of detection, although it requires additional interpretation. The large language model (LLM) provides meaningful explanations and guidance for further diagnostics, but it does not fully replace expert analysis. Future work could include testing different model configurations, real-time anomaly detection, intentionally inducing faults in a test project, and evaluating the exact proportion of anomalies for which the LLM correctly identifies the underlying cause. Different LLM approaches could also be compared.

Keywords:OpenShift, anomaly detection, machine learning, large language models, event analysis

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back