diff --git a/content/zh-cn/docs/concepts/services-networking/service.md b/content/zh-cn/docs/concepts/services-networking/service.md index d7403bcc28..ff0ad67e25 100644 --- a/content/zh-cn/docs/concepts/services-networking/service.md +++ b/content/zh-cn/docs/concepts/services-networking/service.md @@ -499,13 +499,13 @@ the EndpointSlice manifest: a TCP connection to 10.1.2.3 or 10.4.5.6, on port 93 {{< note >}} Kubernetes API 服务器不允许将流量代理到未被映射至 Pod 上的端点。由于此约束,当 Service -没有选择算符时,诸如 `kubectl proxy ` 之类的操作将会失败。这可以防止 -Kubernetes API 服务器被用作调用者可能无权访问的端点的代理。 +没有选择算符时,诸如 `kubectl port-forward service/ forwardedPort:servicePort` 之类的操作将会失败。 +这可以防止 Kubernetes API 服务器被用作调用者可能无权访问的端点的代理。 {{< /note >}} * 参阅[使用 Service 连接到应用](/zh-cn/docs/tutorials/services/connect-applications-service/)教程。 -* 进一步了解 [trafficDistribution](/zh-cn/docs/concepts/services-networking/service/#trafic-distribution)字段, +* 进一步了解 [trafficDistribution](/zh-cn/docs/concepts/services-networking/service/#traffic-distribution)字段, 该字段与 `service.kubernetes.io/topology-mode` 注解密切相关,并为 Kubernetes 中的流量路由提供灵活的配置选项。 diff --git a/content/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning.md b/content/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning.md index 0ba8a1af3b..5ee662a7ef 100644 --- a/content/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning.md +++ b/content/zh-cn/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning.md @@ -1168,7 +1168,7 @@ with the `response` stanza populated, serialized to JSON. If conversion succeeds, a webhook should return a `response` stanza containing the following fields: * `uid`, copied from the `request.uid` sent to the webhook * `result`, set to `{"status":"Success"}` -* `convertedObjects`, containing all of the objects from `request.objects`, converted to `request.desiredVersion` +* `convertedObjects`, containing all of the objects from `request.objects`, converted to `request.desiredAPIVersion` Example of a minimal successful response from a webhook: --> @@ -1183,7 +1183,7 @@ Webhook 响应包含 200 HTTP 状态代码、`Content-Type: application/json`, * `uid`,从发送到 webhook 的 `request.uid` 复制而来 * `result`,设置为 `{"status":"Success"}}` * `convertedObjects`,包含来自 `request.objects` 的所有对象,均已转换为 - `request.desiredVersion` + `request.desiredAPIVersion` Webhook 的最简单成功响应示例: