Skip to content

A security monitoring system for Kubernetes clusters with ML-based anomaly detection. Currently only hosted frontend on github

Notifications You must be signed in to change notification settings

CosmicMicra/K8shield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Cluster Monitoring with ML

This project provides security monitoring for Kubernetes clusters running on AWS EC2. It integrates real-time metrics collection with machine learning-based anomaly detection to identify potential security threats.

The system collects Kubernetes audit logs using Fluentd, processes them with Python, and analyzes patterns using Isolation Forest and K-Means models trained on AWS SageMaker. This enables detection of unauthorized access attempts, unusual pod activity, and privilege escalation events.

The dashboard displays live cluster status (CPU, memory, pods, nodes), security insights from ML models, and CIS compliance results, allowing for effective cluster security monitoring at a glance.

Key Features

  • Real-time Metric Monitoring: Track CPU, memory, pod states, and node status
  • ML-based Anomaly Detection: Identify unusual activities and potential security threats
  • Historical Analysis: View trends in security incidents over time

Technology Stack

  • Frontend: React with Recharts for visualization
  • Backend: Python for log processing and ML models
  • Data Collection: Fluentd for Kubernetes audit logs
  • Machine Learning: Isolation Forest & K-Means on AWS SageMaker
  • Storage: AWS S3 for log data

About

A security monitoring system for Kubernetes clusters with ML-based anomaly detection. Currently only hosted frontend on github

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published