Skip to content

Commit 6deff03

Browse files
committed
[zh-cn] Sync 3 files in /tasks/administer-cluster/
1 parent 0ec8848 commit 6deff03

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

content/zh-cn/docs/tasks/administer-cluster/enable-disable-api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
---
22
title: 启用/禁用 Kubernetes API
33
content_type: task
4+
weight: 200
45
---
56
<!--
67
---
78
title: Enable Or Disable A Kubernetes API
89
content_type: task
10+
weight: 200
911
---
1012
-->
1113

@@ -40,7 +42,7 @@ The `runtime-config` command line argument also supports 2 special keys:
4042
- `api/legacy`, representing only legacy APIs. Legacy APIs are any APIs that have been
4143
explicitly [deprecated](/zh-cn/docs/reference/using-api/deprecation-policy/).
4244
43-
For example, to turning off all API versions except v1, pass `--runtime-config=api/all=false,api/v1=true`
45+
For example, to turn off all API versions except v1, pass `--runtime-config=api/all=false,api/v1=true`
4446
to the `kube-apiserver`.
4547
-->
4648
- `api/all`:指所有已知的 API

content/zh-cn/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 关键插件 Pod 的调度保证
33
content_type: concept
4+
weight: 220
45
---
56

67
<!-- overview -->

content/zh-cn/docs/tasks/administer-cluster/ip-masq-agent.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
22
title: IP Masquerade Agent 用户指南
33
content_type: task
4+
weight: 230
45
---
56
<!--
67
title: IP Masquerade Agent User Guide
78
content_type: task
9+
weight: 230
810
-->
911

1012
<!-- overview -->
@@ -171,7 +173,7 @@ You must also apply the appropriate node label to any nodes in your cluster that
171173
你必须同时将适当的节点标签应用于集群中希望代理运行的任何节点。
172174

173175
```shell
174-
kubectl label nodes my-node beta.kubernetes.io/masq-agent-ds-ready=true
176+
kubectl label nodes my-node node.kubernetes.io/masq-agent-ds-ready=true
175177
```
176178

177179
<!--

0 commit comments

Comments
 (0)