Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add carbon emission api #79

Merged
merged 2 commits into from
Mar 17, 2023
Merged

add carbon emission api #79

merged 2 commits into from
Mar 17, 2023

Conversation

mfanjie
Copy link
Contributor

@mfanjie mfanjie commented Mar 14, 2023

Crane has supported carbon emission calculator in 2022, and now we think it's time to define the Kubernetes API which defines carbon footprints.
By referring https://www.cloudcarbonfootprint.org/docs/methodology/#appendix-i-energy-coefficients, which contains the methodology of calculating carbon emission and some published data of different provider, I create this API PR for discussion.

co2e/v1alpha1/types.go Outdated Show resolved Hide resolved
co2e/v1alpha1/register.go Show resolved Hide resolved
@mfanjie mfanjie force-pushed the main branch 2 times, most recently from e30a77c to 7e0715f Compare March 16, 2023 09:06
@mfanjie mfanjie merged commit 31991a1 into gocrane:main Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants