azure / kubernetes-carbon-intensity-exporter Goto Github PK
View Code? Open in Web Editor NEWKubernetes Carbon Intensity Exporter
License: MIT License
Kubernetes Carbon Intensity Exporter
License: MIT License
Hi there,
I've taken a quick peek at the docker container that is currently here and I'd like to propose a couple of steps to add some security to the image! Especially when it comes to the usage of the username and password.
Are you okay with me picking that up and coming up with a PR in the near future?
kind regards,
Tom
Hi @helayoty @Fei-Guo,
first of all thanks for creating this project! ๐ I've been interested in carbon aware scaling for a while so I was excited to see this project.
I hit an error installing the exporter in kind when using eastus
as the region in the helm values.
fail: CarbonAware.DataSources.WattTime.Client.WattTimeClient[0]
Error getting data from WattTime. StatusCode: Forbidden. Response: StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Date: Fri, 19 May 2023 10:23:29 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Server: nginx
Content-Type: application/json
}
fail: CarbonAware.WebApi.Filters.HttpResponseExceptionFilter[0]
Exception: Error requesting forecast?ba=PJM_ROANOKE
Changing the region to westus
prevents the error because it maps to the CAISO_NORTH
balancing authority for which WattTime kindly provide data for free.
Is it worth changing the region in the helm values and docs?
Users would still need a WattTime license to access other regions but they can get started with westus
without hitting errors. I'm happy to submit a PR if you think this is useful.
Hi there,
I recently heard about this project here: https://rossfairbanks.com/2023/06/05/carbon-aware-temporal-shifting-with-keda/, and first off, amazing initiative, this is exactly what we need, big fan! :)
Now, would it perhaps be an idea to support Electricitymaps next to Wattime as well? They do seem to boast different numbers, but generally offer a more granular and greater coverage of the world in general. Also, in Europe they are known to be quite accurate.
Let me know, curious to hear your answer! Judging from the current code, we could achieve this by adding a little bit of data wrangling before processing it further as is.
kind regards,
Tom
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.