Skip to content

Commit 6b4a8be

Browse files
authored
Merge pull request #69 from SamYuan1990/zh_architecturefile
translate architecture to Chinese and fix typo?
2 parents 1b2c1e3 + 39ef643 commit 6b4a8be

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

docs/design/architecture.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ Monitor container power consumption with the [metrics](metrics.md) made availabl
88
![](https://raw.githubusercontent.com/sustainable-computing-io/kepler/main/doc/kepler-arch.png)
99

1010
## Kepler Model Server
11-
The main feature of Kepler Model Server is to return a [power estimation model](./power_estimation.md) corresponding to the request containing target granularity (node in total, node per each processor component, pod in total, pod per each processor component), available input metrics, model filters such as acccuracy.
11+
The main feature of Kepler Model Server is to return a [power estimation model](./power_estimation.md) corresponding to the request containing target granularity (node in total, node per each processor component, pod in total, pod per each processor component), available input metrics, model filters such as accuracy.
1212

1313
In addition, the online-trainer can be deployed as a sidecar container to the server (main container) to execute trainning pipelines and update the model on the fly when power metrics are available.
1414

1515
Check us out on GitHub ➡️ [Kepler Model Server](https://github.com/sustainable-computing-io/kepler-model-server)
1616

1717
## Kepler Estimator Sidecar
18-
Kepler estimator is a client module to kepler model server running as a sidecar of Kepler exporter (main container).
18+
Kepler Estimator is a client module to kepler model server running as a sidecar of Kepler Exporter (main container).
1919

20-
This python will serve a PowerReequest from model package in Kepler exporter as defined in estimator.go via unix domain socket `/tmp/estimator.sock`.
20+
This python will serve a PowerReequest from model package in Kepler Exporter as defined in estimator.go via unix domain socket `/tmp/estimator.sock`.
2121

2222
Check us out on GitHub ➡️ [Kepler Estimator](https://github.com/sustainable-computing-io/kepler-estimator)

docs/design/architecture.zh.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# 组件
2+
3+
## Kepler Exporter
4+
Kepler Exporter公开了有关Kubernetes组件(如Pods和Nodes)能耗的各种指标。
5+
6+
请点击链接查看相关能耗[指标/metrics](metrics.md)的定义。
7+
8+
![](https://raw.githubusercontent.com/sustainable-computing-io/kepler/main/doc/kepler-arch.png)
9+
10+
## Kepler Model Server
11+
Kepler Model Server主要提供[能耗预估模型](./power_estimation.md),该模型支持对各种粒度的(如节点数,节点CPU数,Pod数,Pod进程数)的请求,并返回指标,精准性模型过滤器。
12+
13+
另外,在online训练模式,Kepler Model Server可以作为边车部署。并且执行训练相关流程,实时更新模型。
14+
15+
项目地址 ➡️ [Kepler Model Server](https://github.com/sustainable-computing-io/kepler-model-server)
16+
17+
## Kepler Estimator Sidecar
18+
Kepler Estimator作为Kepler Exporter的边车部署,将会以客户端模式运行,访问kepler model server,请求模型。
19+
20+
Kepler estimator与Kepler Exporter通过socket的方式(`/tmp/estimator.sock`)进行连接。相关的代码在Kepler Exporter的`estimator.go`文件中有定义和描述。
21+
22+
项目地址 ➡️ [Kepler Estimator](https://github.com/sustainable-computing-io/kepler-estimator)

0 commit comments

Comments
 (0)