Skip to content

Commit c53c259

Browse files
committed
sync /scheduling-eviction/_index.md logging flow-control
1 parent 6b9d781 commit c53c259

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

content/zh-cn/docs/concepts/cluster-administration/flow-control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ that originate from outside your cluster.
831831
则可以配置规则,阻止所有来自集群外部的健康检查请求。
832832
{{< /caution >}}
833833

834-
{{< codenew file="priority-and-fairness/health-for-strangers.yaml" >}}
834+
{{% codenew file="priority-and-fairness/health-for-strangers.yaml" %}}
835835

836836
<!--
837837
## Diagnostics

content/zh-cn/docs/concepts/cluster-administration/logging.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Kubernetes 从正在运行的 Pod 中捕捉每个容器的日志。
6969

7070
此示例使用带有一个容器的 `Pod` 的清单,该容器每秒将文本写入标准输出一次。
7171

72-
{{< codenew file="debug/counter-pod.yaml" >}}
72+
{{% codenew file="debug/counter-pod.yaml" %}}
7373

7474
<!--
7575
To run this pod, use the following command:
@@ -463,7 +463,7 @@ manifest for the Pod:
463463
例如,某 Pod 中运行一个容器,且该容器使用两个不同的格式写入到两个不同的日志文件。
464464
下面是这个 Pod 的清单:
465465

466-
{{< codenew file="admin/logging/two-files-counter-pod.yaml" >}}
466+
{{% codenew file="admin/logging/two-files-counter-pod.yaml" %}}
467467

468468
<!--
469469
It is not recommended to write log entries with different formats to the same log
@@ -481,7 +481,7 @@ Here's a manifest for a pod that has two sidecar containers:
481481
-->
482482
下面是运行两个边车容器的 Pod 的清单:
483483

484-
{{< codenew file="admin/logging/two-files-counter-pod-streaming-sidecar.yaml" >}}
484+
{{% codenew file="admin/logging/two-files-counter-pod-streaming-sidecar.yaml" %}}
485485

486486
<!--
487487
Now when you run this pod, you can access each log stream separately by
@@ -619,7 +619,7 @@ to configure fluentd.
619619
第一个文件包含用来配置 fluentd 的
620620
[ConfigMap](/zh-cn/docs/tasks/configure-pod-container/configure-pod-configmap/)
621621

622-
{{< codenew file="admin/logging/fluentd-sidecar-config.yaml" >}}
622+
{{% codenew file="admin/logging/fluentd-sidecar-config.yaml" %}}
623623

624624
{{< note >}}
625625
<!--
@@ -636,7 +636,7 @@ The pod mounts a volume where fluentd can pick up its configuration data.
636636
第二个清单描述了一个运行 fluentd 边车容器的 Pod。
637637
该 Pod 挂载一个卷,flutend 可以从这个卷上拣选其配置数据。
638638

639-
{{< codenew file="admin/logging/two-files-counter-pod-agent-sidecar.yaml" >}}
639+
{{% codenew file="admin/logging/two-files-counter-pod-agent-sidecar.yaml" %}}
640640

641641
<!--
642642
### Exposing logs directly from the application

content/zh-cn/docs/concepts/scheduling-eviction/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ of terminating one or more Pods on Nodes.
5050
* [Scheduler Performance Tuning](/docs/concepts/scheduling-eviction/scheduler-perf-tuning/)
5151
* [Resource Bin Packing for Extended Resources](/docs/concepts/scheduling-eviction/resource-bin-packing/)
5252
* [Pod Scheduling Readiness](/docs/concepts/scheduling-eviction/pod-scheduling-readiness/)
53+
* [Descheduler](https://github.com/kubernetes-sigs/descheduler#descheduler-for-kubernetes)
5354
-->
5455

5556
## 调度
@@ -64,6 +65,7 @@ of terminating one or more Pods on Nodes.
6465
* [调度器性能调试](/zh-cn/docs/concepts/scheduling-eviction/scheduler-perf-tuning/)
6566
* [扩展资源的资源装箱](/zh-cn/docs/concepts/scheduling-eviction/resource-bin-packing/)
6667
* [Pod 调度就绪](/zh-cn/docs/concepts/scheduling-eviction/pod-scheduling-readiness/)
68+
* [Descheduler](https://github.com/kubernetes-sigs/descheduler#descheduler-for-kubernetes)
6769

6870
<!--
6971
## Pod Disruption

0 commit comments

Comments
 (0)