https://github.com/mirantis/k8s-ai-autoscaling
https://github.com/mirantis/k8s-ai-autoscaling
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mirantis/k8s-ai-autoscaling
- Owner: Mirantis
- Created: 2025-04-16T06:08:46.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-04-21T08:20:29.000Z (29 days ago)
- Last Synced: 2025-05-07T16:16:40.532Z (12 days ago)
- Language: Python
- Size: 843 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI/ML Project Demo - k8s-ai-autoscaling
## Contributor
**Name:** [Orkhan Mahmudzada]
**Email/Slack:** [[email protected]]---
## Project Overview
### Project Name
[k8s-ai-autoscaling]
### Project Purpose
[AI-Based Forecasting and Autoscaling with Prophet,Prometheus and KEDA.]
### Project Outcomes
- [Accurate Forecasting of Resource Usage]
- [Improved Autoscaling Strategy]
- [Scalable and Flexible Architecture]---
## Technical Details
### Platform
- Runs on: **k0rdent**
### Repo
- Hosted at: [https://github.com/Mirantis/k8s-ai-autoscaling]
### Technical Overview
- Uses Facebook Prophet for time-series forecasting of resource metrics.
- Metrics collected via Prometheus from Kubernetes workloads.
- Forecasts exposed via a REST API, scraped by Prometheus using a ServiceMonitor.
- KEDA scales deployments based on forecasted metrics.
- Deployed via Helm, with support for namespace isolation and dependency management.---
## Service Templates
### Service Templates Used
[KEDA]
### Service Templates Created Specifically for this Project
[ai-metric-analyzer-0.1.0]
---
## Documentation and Links
- 📄 [Design Document](https://docs.google.com/document/d/1Lqb9V_H4qL9cIsYtwFYV0i631BgHbPkRIBh2-mKVoJ4)
- 🎥 [Demo Video](https://drive.google.com/file/d/1_WsL7K0wGQhoxJciLo5Qd__TQgJILzcx/view)
- 📘 [GitHub Repo](https://github.com/Mirantis/k8s-ai-autoscaling)---
## Artifacts
- [x] Docker Image: `python:3.10-slim`
- [x] Helm Chart: `ai-metrics-analyzer/` (under Mirantis repo)
- [x] Custom ServiceMonitor definition```mermaid
graph TD
Prometheus -->|scrapes| AI_Metrics_Analyzer
AI_Metrics_Analyzer --> Prophet
AI_Metrics_Analyzer -->|exposes| /metrics
KEDA -->|reads| Prometheus
KEDA -->|scales| Target_App
```---