Skip to content

Commit

Permalink
add chinese translation of edged.md
Browse files Browse the repository at this point in the history
  • Loading branch information
magichan committed Aug 18, 2024
1 parent c7b0775 commit 95a0e68
Showing 1 changed file with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,46 @@ title: Edged
sidebar_position: 1
---
## Overview
## 概览

EdgeD is an edge node module which manages pod lifecycle. It helps users to deploy containerized workloads or applications at the edge node. Those workloads could perform any operation from simple telemetry data manipulation to analytics or ML inference and so on. Using `kubectl` command line interface at the cloud side, users can issue commands to launch the workloads.

EdgeD 是负责管理 Pod 生命周期的边缘节点模块。它帮助用户在边缘节点部署容器化的工作负载或应用程序。这些工作负载可以执行任意操作,从简单地遥测数据处理到复杂地数据分析/机器学习推理。用户可以在云端使用 `kubectl` 命令行界面发出命令来启动工作负载。

Several OCI-compliant runtimes are supported through the Container Runtime Interface (CRI). See [KubeEdge runtime configuration](../../setup/prerequisites/runtime.md) for more information on how to configure edged to make use of other runtimes.

通过容器运行时接口(CRI),EdgeD 支持多个 OCI 兼容的容器运行时。有关如何配置 edged 以使用其他运行时的更多信息,请参见 [KubeEdge 运行时配置](../../setup/prerequisites/runtime.md)

There are many modules which work in tandem to achieve edged's functionalities.

有许多模块协同工作以实现 edged 的功能。

![EdgeD Overall](/img/edged/edged-overall.png)

*Fig 1: EdgeD Functionalities*
*Fig 1: EdgeD 功能集*

## Pod Management
## Pod 管理

It is handles for pod addition, deletion and modification. It also tracks the health of the pods using pod status manager and pleg.
Its primary jobs are as follows:

该模块负责处理 Pod 的添加、删除和修改。它还使用 Pod 状态管理器和 PLEG 跟踪 Pod 的健康状态。
其主要工作如下:

- Receives and handles pod addition/deletion/modification messages from metamanager.
- Handles separate worker queues for pod addition and deletion.
- Handles worker routines to check worker queues to do pod operations.
- Keeps separate cache for config map and secrets respectively.
- Regular cleanup of orphaned pods

- 接收并处理来自 MetaManager 的 Pod 添加/删除/修改消息。
- 处理 Pod 添加和删除的独立工作队列。
- 处理工作例程以检查工作队列以执行 Pod 操作。
- 为 ConfigMap 和 Secret 各自设置独立的缓存。
- 定期清理被遗弃的Pod

![Pod Addition Flow](/img/edged/pod-addition-flow.png)

*Fig 2: Pod Addition Flow*
Expand All @@ -47,7 +65,7 @@ This module helps in monitoring pod status for edged. Every second, using probes

## CRI for edged

Container Runtime Interface (CRI) – a plugin interface which enables edged to use a wide variety of container runtimes like Docker, containerd, CRI-O, etc., without the need to recompile. For more on how to configure KubeEdge for container runtimes, see [KubeEdge runtime configuration](../../setup/prerequisites/runtime).
Container Runtime Interface (CRI) – a plugin interface which enables edged to use a wide variety of container runtimes like Docker, containerd, CRI-O, etc., without the need to recompile. For more on how to configure KubeEdge for container runtimes, see [KubeEdge runtime configuration](../../setup/prerequisites/runtime.md).

#### Why CRI for edged?
CRI support for multiple container runtimes in edged is needed in order to:
Expand Down

0 comments on commit 95a0e68

Please sign in to comment.