diff --git a/content/zh/docs/concepts/scheduling-eviction/assign-pod-node.md b/content/zh/docs/concepts/scheduling-eviction/assign-pod-node.md index b97cdc4159..9cac596ae7 100644 --- a/content/zh/docs/concepts/scheduling-eviction/assign-pod-node.md +++ b/content/zh/docs/concepts/scheduling-eviction/assign-pod-node.md @@ -310,7 +310,7 @@ For example, consider the following Pod spec: 例如,考虑下面的 Pod 规约: -{{}} +{{< codenew file="pods/pod-with-affinity-anti-affinity.yaml" >}} ## API 对象 {#api-overview} diff --git a/content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md b/content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md index f0c149f13f..f59c530d0a 100644 --- a/content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md +++ b/content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md @@ -358,7 +358,7 @@ kubelet 可以配置为使用该协议来执行应用活跃性检查。 下面是一个示例清单: -{{< codenew file="pods/probe/grpc-liveness.yaml">}} +{{< codenew file="pods/probe/grpc-liveness.yaml" >}} -在 `READY` 列中查找 ` 1/2` : +在 `READY` 列中查找 `1/2`: ``` NAME READY STATUS RESTARTS AGE