Forum Discussion

Hlali_Mohamed_Amine's avatar
Apr 10, 2026

Excited to share my latest open-source project: KubeCost Guardian

After seeing how many DevOps teams struggle with Kubernetes cost visibility on Azure, I built a full-stack cost optimization platform from scratch.

๐—ช๐—ต๐—ฎ๐˜ ๐—ถ๐˜ ๐—ฑ๐—ผ๐—ฒ๐˜€:
โœ… Real-time AKS cluster monitoring via Azure SDK
โœ… Cost breakdown per namespace, node, and pod
โœ… AI-powered recommendations generated from actual cluster state
โœ… One-click optimization actions
โœ… JWT-secured dashboard with full REST API

๐—ง๐—ฒ๐—ฐ๐—ต ๐—ฆ๐˜๐—ฎ๐—ฐ๐—ธ:
- React 18 + TypeScript + Vite
- Tailwind CSS + shadcn/ui + Recharts
- Node.js + Express + TypeScript
- Azure SDK (@azure/arm-containerservice)
- JWT Authentication + Azure Service Principal

๐—ช๐—ต๐—ฎ๐˜ ๐—บ๐—ฎ๐—ธ๐—ฒ๐˜€ ๐—ถ๐˜ ๐—ฑ๐—ถ๐—ณ๐—ณ๐—ฒ๐—ฟ๐—ฒ๐—ป๐˜:
Most cost tools show you generic estimates. KubeCost Guardian reads your actual VM size, node count, and cluster configuration to generate recommendations that are specific to your infrastructure not averages.
For example, if your cluster has only 2 nodes with no autoscaler enabled, it immediately flags the HA risk and calculates exactly how much you'd save by switching to Spot instances based on your actual VM size.

This project is fully open-source and built for the DevOps community.

โญ GitHub: https://github.com/HlaliMedAmine/kubecost-guardian



This project represents hours of hard work, and passion.

I decided to make it open-source so everyone can benefit from it ๐Ÿค ,If you find it useful, Iโ€™d really appreciate your support .

Your support motivates me to keep building and sharing more powerful projects ๐Ÿ‘Œ.

More exciting ideas are coming soonโ€ฆ stay tuned! ๐Ÿ”ฅ.

1 Reply

  • This looks like a useful direction, especially for teams that already have AKS cost data but need better actionability.

     

    A couple of design points I would be interested in seeing are: does it work with read-only Azure RBAC/managed identity, how does it handle shared cluster costs, and can recommendations be mapped back to namespace/team labels? That mapping is usually what turns cost visibility into something teams can actually own.

     

    It may also be worth adding a suppression or approval workflow for recommendations. Some workloads look wasteful from CPU/memory averages, but are intentionally over-provisioned for burst, latency, or compliance reasons. Capturing that context would make the tool much more useful in real platform teams.