cncf / sandbox

Applications for Sandbox go here! β³πŸ“¦πŸ§ͺ
Apache License 2.0
133 stars 22 forks source link

[Sandbox] Kepler #19

Closed rootfs closed 1 year ago

rootfs commented 1 year ago

Application contact emails

hchen@redhat.com, chen.wang1@ibm.com, niki@weave.works

Project Summary

Kepler is a lightweight Pod level power consumption metrics exporter.

Project Description

Kepler (Kubernetes-based Efficient Power Level Exporter) uses eBPF to probe CPU performance counters and Linux kernel tracepoints. These data and stats from cgroup and sysfs are fed into ML models to estimate power consumption by Pods. The power consumption stats are then presented as Prometheus metrics and telemetry that can be used for Pod scheduling or scaling, energy consumption reporting and visulization, or can be extended with carbon intensity metrics to report on carbon footprint of Cloud Native workload.

Org repo URL

https://github.com/sustainable-computing-io/

Project repo URL

https://github.com/sustainable-computing-io/kepler

Additional repos

Kepler develops its own online ML trainer and model server (kepler-model-server), inference server (kepler-estimator). The models are developed by using code in the workload repo(energy-measure-data). The docuementation repo (kepler-doc) and deployment repos (kepler-operator and kepler-helm-chart) as well as GitHub CI artifacts (kepler-ci-artifacts) are all part of the Kepler sandbox application package.

In addition, the Kepler community has explored to integrate Kepler metrics with Kubernetes Scheduler (in repo peaks) and VPA (in repo clever). These exploration projects are also donated to CNCF to help the CNCF community get insight of how to integrate Kepler into their own use cases.

We also have our customized the Github Actions as well local Kubernetes cluster environment standup for integration and development tests, they are also part of the process for CNCF sandbox.

These repos are: https://github.com/sustainable-computing-io/kepler-model-server https://github.com/sustainable-computing-io/kepler-estimator https://github.com/sustainable-computing-io/energy-measurement-data https://github.com/sustainable-computing-io/kepler-doc https://github.com/sustainable-computing-io/kepler-operator https://github.com/sustainable-computing-io/kepler-helm-chart https://github.com/sustainable-computing-io/kepler-ci-artifacts/ https://github.com/sustainable-computing-io/peaks/ https://github.com/sustainable-computing-io/clever/ https://github.com/sustainable-computing-io/KeplerK8SAction https://github.com/sustainable-computing-io/local-dev-cluster

Website URL

https://sustainable-computing.io/

Roadmap

https://github.com/sustainable-computing-io/kepler/wiki/Roadmap

Roadmap context

No response

Contributing Guide

https://github.com/sustainable-computing-io/kepler/blob/main/CONTRIBUTING.md

Code of Conduct (CoC)

https://github.com/sustainable-computing-io/kepler/blob/main/code-of-conduct.md

Adopters

No response

Contributing or Sponsoring Org

https://www.redhat.com/

Maintainers file

https://github.com/sustainable-computing-io/kepler/blob/main/Contributors.md

IP Policy

Trademark and accounts

Why CNCF?

Global emissions Cloud computing accounts for 2.5% to 3.7% of all global greenhouse gas emissions [1]. Both Cloud operators and end users are increasingly eager to measure and manage carbon footprint from the infrastructure and workload.

Kepler aims to work with the CNCF community to measure how much power that are consumed the Cloud Native workload. It uses eBPF to reduce the runtime overhead and scientific methods to improve measurement accuracy. Kepler can measure workload that run on private and Public cloud, physical or virtual machines, CPU or GPU. It strives to support all environments that CNCF projects are deployed.

Kepler project is contributed by Red Hat, IBM, Intel and WeaveWorks. CNCF ecosystem inclusion will promote Kepler project's community engagement.

  1. https://theshiftproject.org/en/article/lean-ict-our-new-report/

Benefit to the Landscape

Kepler is being integrated with projects in CNCF ecosystems such as Kubernetes Scheduler, Vertical Pod Autoscaler.

It will also help TAG Environmental Sustainability to provide fact based evidence for research, investigation, and improvement.

Cloud Native 'Fit'

Kepler is built with Cloud Native technologies: it is designed to measure Kubernetes workload power consumption and export the Prometheus metrics.

Cloud Native 'Integration'

Kepler runs on Kubernetes and export Prometheus metrics. The power consumption metrics complements those provided existing node agents such as cAdvisor and node_exporter.

Kepler has been presented at KubeCon NA 2022 and EU 2023. It is also presented at CNCF TAG Sustainability and Runtime meetings.

Cloud Native Overlap

No response

Similar projects

Scaphandre PowerAPI

Product or Service to Project separation

N/A

Project presentations

No response

Project champions

Erin Boyd

Additional information

To clarify the confusion that was introduced in the previous application, Kepler project has multiple GitHub repo, all of them are donated to CNCF.

dims commented 1 year ago

@rootfs (slightly tangential to the submission), In the linux member summit, there was an interesting talk about open source licenses applicability to "ML Models" https://lfms22.sched.com/?iframe=no .. given that context

rootfs commented 1 year ago

@dims that's a good point! The kepler community has open sourced both ML model training process and pre-trained models, these models are under Apache license.

The kepler model server is designed in such way that the ML training can be separated from the end users' runtime environment so as to preserve their data privacy. The goal is to allow end users to share their models for the open source community.

If this project is under CNCF ecosystem, we'll have the opportunity to improve these open source models and provide more platforms coverage for the end users in the community. It is also possible that this project can make a case study on how to be transparent on model sharing, while still maintaining end user data privacy.

cathyhongzhang commented 1 year ago

@rootfs Basically Kepler will open source the ML model training part as well as those ML models in the Kepler repository, right?

rootfs commented 1 year ago

@cathyhongzhang yes, the ML training process and trained models are and will continue to be open sourced.

amye commented 1 year ago

/vote-sandbox

git-vote[bot] commented 1 year ago

Vote created

@amye has called for a vote on [Sandbox] Kepler (#19).

The members of the following teams have binding votes:

Team
@cncf/cncf-toc

Non-binding votes are also appreciated as a sign of support!

How to vote

You can cast your vote by reacting to this comment. The following reactions are supported:

In favor Against Abstain
πŸ‘ πŸ‘Ž πŸ‘€

Please note that voting for multiple options is not allowed and those votes won't be counted.

The vote will be open for 7days. It will pass if at least 66% of the users with binding votes vote In favor πŸ‘. Once it's closed, results will be published here as a new comment.

berryq460 commented 1 year ago

In favor ! πŸ™ŒπŸ½πŸ‘πŸΌπŸ‘πŸΌ

smazziotta commented 1 year ago

πŸ‘

erinaboyd commented 1 year ago

+1 binding

On Tue, May 9, 2023 at 10:48β€―AM sandro mazziotta @.***> wrote:

πŸ‘

β€” Reply to this email directly, view it on GitHub https://github.com/cncf/sandbox/issues/19#issuecomment-1540524267, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKMZZWLP6IONVBP4DYZAUSDXFJYMZANCNFSM6AAAAAATDUYG74 . You are receiving this because you are on a team that was mentioned.Message ID: @.***>

novacain1 commented 1 year ago

+1

eklee15 commented 1 year ago

+1

caradelia commented 1 year ago

πŸ‘

wangchen615 commented 1 year ago

+1 πŸ‘

joshgav commented 1 year ago

+1 NB

screeley44 commented 1 year ago

+1 NB

nikimanoledaki commented 1 year ago

Kepler is a great tool to aggregate and associate energy use with cloud-native tooling, workloads, namespaces, and other Kubernetes resources. +1 NB πŸ”‹πŸŒ³πŸ’š

willfunston commented 1 year ago

+1

er1p commented 1 year ago

+1 non-binding - great project

leonardpahlke commented 1 year ago

+1 NB

erinaboyd commented 1 year ago

πŸ‘

romfreiman commented 1 year ago

:+1:

erikerlandson commented 1 year ago

:+1:

metacosm commented 1 year ago

+1 NB

catblade commented 1 year ago

+1 NB

cathyhongzhang commented 1 year ago

+1 binding

caniszczyk commented 1 year ago

/vote-status

git-vote[bot] commented 1 year ago

The requested configuration profile was not found in the configuration file.

amye commented 1 year ago

/check-vote

git-vote[bot] commented 1 year ago

Vote status

So far 23.08% of the users with binding vote are in favor (passing threshold: 66%).

Summary

In favor Against Abstain Not voted
3 0 0 10

Binding votes (3)

User Vote Timestamp
rochaporto In favor 2023-05-09 18:50:14.0 +00:00:00
cathyhongzhang In favor 2023-05-09 20:58:57.0 +00:00:00
TheFoxAtWork In favor 2023-05-09 20:03:58.0 +00:00:00

Non-binding votes (33)

| User | Vote | Timestamp | | ---- | :---: | :-------: | | rootfs | In favor | 2023-05-09 16:27:51.0 +00:00:00 | | husky-parul | In favor | 2023-05-09 16:29:31.0 +00:00:00 | | scohen1 | In favor | 2023-05-09 16:29:39.0 +00:00:00 | | LappleApple | In favor | 2023-05-09 16:29:40.0 +00:00:00 | | jgomezselles | In favor | 2023-05-09 16:31:04.0 +00:00:00 | | vmartini01 | In favor | 2023-05-09 16:32:36.0 +00:00:00 | | andrew-est | In favor | 2023-05-09 16:40:36.0 +00:00:00 | | berryq460 | In favor | 2023-05-09 16:42:58.0 +00:00:00 | | jparker-rh | In favor | 2023-05-09 16:44:27.0 +00:00:00 | | astoycos | In favor | 2023-05-09 16:47:39.0 +00:00:00 | | jeffvance | In favor | 2023-05-09 16:58:06.0 +00:00:00 | | eklee15 | In favor | 2023-05-09 17:00:19.0 +00:00:00 | | iblancasa | In favor | 2023-05-09 17:03:11.0 +00:00:00 | | mayaCostantini | In favor | 2023-05-09 17:07:47.0 +00:00:00 | | stflaherty | In favor | 2023-05-09 17:08:20.0 +00:00:00 | | guidemetothemoon | In favor | 2023-05-09 17:13:53.0 +00:00:00 | | mpeters | In favor | 2023-05-09 17:18:11.0 +00:00:00 | | seroyer | In favor | 2023-05-09 17:21:18.0 +00:00:00 | | schwesig | In favor | 2023-05-09 17:25:50.0 +00:00:00 | | sfontanarrosa | In favor | 2023-05-09 17:26:30.0 +00:00:00 | | nikimanoledaki | In favor | 2023-05-09 17:27:00.0 +00:00:00 | | nhr | In favor | 2023-05-09 17:33:31.0 +00:00:00 | | hemajv | In favor | 2023-05-09 17:34:07.0 +00:00:00 | | font | In favor | 2023-05-09 17:41:46.0 +00:00:00 | | er1p | In favor | 2023-05-09 17:47:06.0 +00:00:00 | | suppathak | In favor | 2023-05-09 17:56:11.0 +00:00:00 | | squaremo | In favor | 2023-05-09 18:28:23.0 +00:00:00 | | mangelajo | In favor | 2023-05-09 18:30:21.0 +00:00:00 | | leonardpahlke | In favor | 2023-05-09 18:36:48.0 +00:00:00 | | oindrillac | In favor | 2023-05-09 19:02:17.0 +00:00:00 | | romfreiman | In favor | 2023-05-09 19:06:51.0 +00:00:00 | | KaiyiLiu1234 | In favor | 2023-05-09 19:19:15.0 +00:00:00 | | Al-HusseinHameedJasim | In favor | 2023-05-09 19:34:21.0 +00:00:00 |
williamcaban commented 1 year ago

+1 NB

oglok commented 1 year ago

πŸ‘πŸΌ

vishnoianil commented 1 year ago

+1 NB

scottrigby commented 1 year ago

+1 nb. So encouraged about the potential positive impact of Kepler project on ecological sustainability 🌍⚑️🌳

screeley44 commented 1 year ago

+1 NB

On Tue, May 9, 2023 at 7:03β€―PM Scott Rigby @.***> wrote:

+1 nb. So encouraged about the potential positive impact of Kepler project on ecological sustainability 🌍⚑️🌳

β€” Reply to this email directly, view it on GitHub https://github.com/cncf/sandbox/issues/19#issuecomment-1540996084, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTVU727OQ4XYKIJBQTH3EDXFLEKFANCNFSM6AAAAAATDUYG74 . You are receiving this because you commented.Message ID: @.***>

bradmccoydev commented 1 year ago

+1 NB

marceloamaral commented 1 year ago

+1 NB

amye commented 1 year ago

We very much appreciate all of you!

However, the only pieces that git-vote will count are reactions on the comment that it has postedhttps://github.com/cncf/sandbox/issues/19#issuecomment-1540469525.

When we comment with '/check-vote', it will report back on both binding + nonbinding votes, and we appreciate +NB as a sign of support.

pavolloffay commented 1 year ago

+1 NB

aharivel commented 1 year ago

+1 NB

radekvokal commented 1 year ago

πŸ‘

sallyom commented 1 year ago

/check-vote

git-vote[bot] commented 1 year ago

Votes can only be checked once a day.

rinana commented 1 year ago

+1 NB

amye commented 1 year ago

/check-vote

git-vote[bot] commented 1 year ago

Vote status

So far 30.77% of the users with binding vote are in favor (passing threshold: 66%).

Summary

In favor Against Abstain Not voted
4 0 0 9

Binding votes (4)

User Vote Timestamp
cathyhongzhang In favor 2023-05-09 20:58:57.0 +00:00:00
rochaporto In favor 2023-05-09 18:50:14.0 +00:00:00
TheFoxAtWork In favor 2023-05-09 20:03:58.0 +00:00:00
erinaboyd In favor 2023-05-09 21:11:44.0 +00:00:00

Non-binding votes (70)

| User | Vote | Timestamp | | ---- | :---: | :-------: | | rootfs | In favor | 2023-05-09 16:27:51.0 +00:00:00 | | husky-parul | In favor | 2023-05-09 16:29:31.0 +00:00:00 | | scohen1 | In favor | 2023-05-09 16:29:39.0 +00:00:00 | | LappleApple | In favor | 2023-05-09 16:29:40.0 +00:00:00 | | jgomezselles | In favor | 2023-05-09 16:31:04.0 +00:00:00 | | vmartini01 | In favor | 2023-05-09 16:32:36.0 +00:00:00 | | andrew-est | In favor | 2023-05-09 16:40:36.0 +00:00:00 | | berryq460 | In favor | 2023-05-09 16:42:58.0 +00:00:00 | | jparker-rh | In favor | 2023-05-09 16:44:27.0 +00:00:00 | | astoycos | In favor | 2023-05-09 16:47:39.0 +00:00:00 | | jeffvance | In favor | 2023-05-09 16:58:06.0 +00:00:00 | | eklee15 | In favor | 2023-05-09 17:00:19.0 +00:00:00 | | iblancasa | In favor | 2023-05-09 17:03:11.0 +00:00:00 | | mayaCostantini | In favor | 2023-05-09 17:07:47.0 +00:00:00 | | stflaherty | In favor | 2023-05-09 17:08:20.0 +00:00:00 | | guidemetothemoon | In favor | 2023-05-09 17:13:53.0 +00:00:00 | | mpeters | In favor | 2023-05-09 17:18:11.0 +00:00:00 | | seroyer | In favor | 2023-05-09 17:21:18.0 +00:00:00 | | schwesig | In favor | 2023-05-09 17:25:50.0 +00:00:00 | | sfontanarrosa | In favor | 2023-05-09 17:26:30.0 +00:00:00 | | nikimanoledaki | In favor | 2023-05-09 17:27:00.0 +00:00:00 | | nhr | In favor | 2023-05-09 17:33:31.0 +00:00:00 | | hemajv | In favor | 2023-05-09 17:34:07.0 +00:00:00 | | font | In favor | 2023-05-09 17:41:46.0 +00:00:00 | | er1p | In favor | 2023-05-09 17:47:06.0 +00:00:00 | | suppathak | In favor | 2023-05-09 17:56:11.0 +00:00:00 | | squaremo | In favor | 2023-05-09 18:28:23.0 +00:00:00 | | mangelajo | In favor | 2023-05-09 18:30:21.0 +00:00:00 | | leonardpahlke | In favor | 2023-05-09 18:36:48.0 +00:00:00 | | oindrillac | In favor | 2023-05-09 19:02:17.0 +00:00:00 | | romfreiman | In favor | 2023-05-09 19:06:51.0 +00:00:00 | | KaiyiLiu1234 | In favor | 2023-05-09 19:19:15.0 +00:00:00 | | Al-HusseinHameedJasim | In favor | 2023-05-09 19:34:21.0 +00:00:00 | | aakankshaduggal | In favor | 2023-05-09 21:14:37.0 +00:00:00 | | cmagina | In favor | 2023-05-09 21:16:58.0 +00:00:00 | | oglok | In favor | 2023-05-09 21:18:41.0 +00:00:00 | | vishnoianil | In favor | 2023-05-09 21:21:04.0 +00:00:00 | | joshgav | In favor | 2023-05-09 21:28:37.0 +00:00:00 | | tumido | In favor | 2023-05-09 21:56:58.0 +00:00:00 | | nogweii | In favor | 2023-05-09 22:03:57.0 +00:00:00 | | scottrigby | In favor | 2023-05-09 22:58:31.0 +00:00:00 | | screeley44 | In favor | 2023-05-09 23:08:15.0 +00:00:00 | | christianh814 | In favor | 2023-05-09 23:10:35.0 +00:00:00 | | sunya-ch | In favor | 2023-05-10 0:41:25.0 +00:00:00 | | balasu | In favor | 2023-05-10 2:09:02.0 +00:00:00 | | jiere | In favor | 2023-05-10 2:40:14.0 +00:00:00 | | marceloamaral | In favor | 2023-05-10 2:42:06.0 +00:00:00 | | bradmccoydev | In favor | 2023-05-10 3:01:47.0 +00:00:00 | | onematchfox | In favor | 2023-05-10 3:53:41.0 +00:00:00 | | oscartrullols | In favor | 2023-05-10 5:07:20.0 +00:00:00 | | filanov | In favor | 2023-05-10 5:53:52.0 +00:00:00 | | pensarguet | In favor | 2023-05-10 6:57:10.0 +00:00:00 | | leseb | In favor | 2023-05-10 7:11:18.0 +00:00:00 | | metacosm | In favor | 2023-05-10 7:34:38.0 +00:00:00 | | adriengentil | In favor | 2023-05-10 7:40:08.0 +00:00:00 | | pavolloffay | In favor | 2023-05-10 7:41:17.0 +00:00:00 | | yitsushi | In favor | 2023-05-10 8:37:58.0 +00:00:00 | | aharivel | In favor | 2023-05-10 9:59:17.0 +00:00:00 | | andreasgerstmayr | In favor | 2023-05-10 10:12:52.0 +00:00:00 | | kky-fury | In favor | 2023-05-10 11:13:15.0 +00:00:00 | | SamYuan1990 | In favor | 2023-05-10 11:34:08.0 +00:00:00 | | codificat | In favor | 2023-05-10 11:47:16.0 +00:00:00 | | mcalman | In favor | 2023-05-10 12:13:30.0 +00:00:00 | | sallyom | In favor | 2023-05-10 12:37:10.0 +00:00:00 | | rinana | In favor | 2023-05-10 12:40:53.0 +00:00:00 | | Dheeraj-k8s | In favor | 2023-05-10 12:41:11.0 +00:00:00 | | William-LP | In favor | 2023-05-10 12:55:25.0 +00:00:00 | | Shreyanand | In favor | 2023-05-10 13:36:19.0 +00:00:00 | | yuezhu1 | In favor | 2023-05-10 14:22:09.0 +00:00:00 | | JoshSalomon | In favor | 2023-05-10 15:55:36.0 +00:00:00 |
mikik commented 1 year ago

+1 NB

angellk commented 1 year ago

+1 NB

On Thu, May 11, 2023 at 12:45 AM mikik @.***> wrote:

+1 NB

β€” Reply to this email directly, view it on GitHub https://github.com/cncf/sandbox/issues/19#issuecomment-1543425471, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMEV4VUQTJGNUU343ZEODXFSDHPANCNFSM6AAAAAATDUYG74 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Karena Angell

OpenShift Commons Lead

Senior Principal Product Manager

Red Hat OpenShift and Hybrid Platforms

OpenShift Commons https://commons.openshift.org/ | @.*** https://www.redhat.com/

frzifus commented 1 year ago

+1 NB

amye commented 1 year ago

/check-vote

git-vote[bot] commented 1 year ago

Votes can only be checked once a day.