@@ -58,7 +58,7 @@ Kubernetes 使用这些实体去表示整个集群的状态。
58
58
59
59
<!--
60
60
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
62
62
telling the Kubernetes system what you want your cluster's workload to look like; this is your
63
63
cluster's *desired state*.
64
64
-->
@@ -140,7 +140,7 @@ When you create an object in Kubernetes, you must provide the object spec that d
140
140
desired state, as well as some basic information about the object (such as a name). When you use
141
141
the Kubernetes API to create the object (either directly or via `kubectl`), that API request must
142
142
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_.
144
144
By convention, manifests are YAML (you could also use JSON format).
145
145
Tools such as `kubectl` convert the information from a manifest into JSON or another supported
146
146
serialization format when making the API request over HTTP.
@@ -151,7 +151,7 @@ serialization format when making the API request over HTTP.
151
151
以及关于对象的一些基本信息(例如名称)。
152
152
当使用 Kubernetes API 创建对象时(直接创建或经由 ` kubectl ` 创建),
153
153
API 请求必须在请求主体中包含 JSON 格式的信息。
154
- 大多数情况下,你会通过 ** 清单(Manifest) ** 文件为 ` kubectl ` 提供这些信息。
154
+ 大多数情况下,你会通过 ** 清单(Manifest) ** 文件为 ` kubectl ` 提供这些信息。
155
155
按照惯例,清单是 YAML 格式的(你也可以使用 JSON 格式)。
156
156
像 ` kubectl ` 这样的工具在通过 HTTP 进行 API 请求时,
157
157
会将清单中的信息转换为 JSON 或其他受支持的序列化格式。
@@ -226,7 +226,7 @@ its desired state.
226
226
Within the `.spec` of a StatefulSet is a [template](/docs/concepts/workloads/pods/#pod-templates)
227
227
for Pod objects. That template describes Pods that the StatefulSet controller will create in order to
228
228
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
230
230
detail the structure of that `.status` field, and its content for each different type of object.
231
231
-->
232
232
例如,参阅 Pod API 参考文档中
0 commit comments