Azure / vscode-aks-tools

Visual Studio Code extension for Azure Kubernetes Service
MIT License
42 stars 53 forks source link

Add OpenCost support for AKS Tools #224

Open mattray opened 1 year ago

mattray commented 1 year ago

OpenCost is a CNCF project for monitoring the cost of cloud-deployed Kubernetes clusters. It would be useful to be able to right-click an AKS cluster to deploy OpenCost into it and provide links to the UI. There is a bit of Azure pricing integration that could be automated and the OpenCost installation is fairly lightweight (Prometheus + deployment of 2 containers). We could add API calls if that seems useful (ie. "node/namespace/pod/etc. cost for a fixed date (1d/3d/7d/etc.)). If this sounds interesting/useful I'm more than happy to assist from the OpenCost side.

I think this makes sense on the OSS side.

I did a plugin for Backstage, embedding the UI is also an option.

Screenshot 2023-08-23 at 3 59 09 PM
Tatsinnit commented 1 year ago

Thank you so much @mattray ❤️❤️🙏☕️ This looks like a great idea to me, I will start looking into this soon, and discuss with folks. Here is a gentle ping to wider folks who will be good to involve.

I feel like we can implement this functionality via AKS extension and make it available to the CNCF kubernetes extension via when clause.

For thoughts, ideas or for knowledge share, a gentle fyi and kind ping to @qpetraroia, @peterbom, @squillace , @gambtho , please feel free to add anyone who will be keen or I might have missed. thank you all.