Skip to content

Commit 028bbf9

Browse files
authored
Merge pull request #46570 from windsonsea/etcdyh
[zh] Sync overview/working-with-objects/_index.md
2 parents e04ed62 + 86ce6a7 commit 028bbf9

File tree

1 file changed

+4
-4
lines changed
  • content/zh-cn/docs/concepts/overview/working-with-objects

1 file changed

+4
-4
lines changed

content/zh-cn/docs/concepts/overview/working-with-objects/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Kubernetes 使用这些实体去表示整个集群的状态。
5858

5959
<!--
6060
A Kubernetes object is a "record of intent"--once you create the object, the Kubernetes system
61-
will constantly work to ensure that object exists. By creating an object, you're effectively
61+
will constantly work to ensure that the object exists. By creating an object, you're effectively
6262
telling the Kubernetes system what you want your cluster's workload to look like; this is your
6363
cluster's *desired state*.
6464
-->
@@ -140,7 +140,7 @@ When you create an object in Kubernetes, you must provide the object spec that d
140140
desired state, as well as some basic information about the object (such as a name). When you use
141141
the Kubernetes API to create the object (either directly or via `kubectl`), that API request must
142142
include that information as JSON in the request body.
143-
Most often, you provide the information to `kubectl` in file known as a _manifest_.
143+
Most often, you provide the information to `kubectl` in a file known as a _manifest_.
144144
By convention, manifests are YAML (you could also use JSON format).
145145
Tools such as `kubectl` convert the information from a manifest into JSON or another supported
146146
serialization format when making the API request over HTTP.
@@ -151,7 +151,7 @@ serialization format when making the API request over HTTP.
151151
以及关于对象的一些基本信息(例如名称)。
152152
当使用 Kubernetes API 创建对象时(直接创建或经由 `kubectl` 创建),
153153
API 请求必须在请求主体中包含 JSON 格式的信息。
154-
大多数情况下,你会通过 **清单(Manifest)** 文件为 `kubectl` 提供这些信息。
154+
大多数情况下,你会通过 **清单(Manifest** 文件为 `kubectl` 提供这些信息。
155155
按照惯例,清单是 YAML 格式的(你也可以使用 JSON 格式)。
156156
`kubectl` 这样的工具在通过 HTTP 进行 API 请求时,
157157
会将清单中的信息转换为 JSON 或其他受支持的序列化格式。
@@ -226,7 +226,7 @@ its desired state.
226226
Within the `.spec` of a StatefulSet is a [template](/docs/concepts/workloads/pods/#pod-templates)
227227
for Pod objects. That template describes Pods that the StatefulSet controller will create in order to
228228
satisfy the StatefulSet specification.
229-
Different kinds of object can also have different `.status`; again, the API reference pages
229+
Different kinds of objects can also have different `.status`; again, the API reference pages
230230
detail the structure of that `.status` field, and its content for each different type of object.
231231
-->
232232
例如,参阅 Pod API 参考文档中

0 commit comments

Comments
 (0)