Skip to content

Commit b28b1d3

Browse files
authored
Merge pull request #31094 from shuaijinchao/zh/sync/translate/control-plane-flags
[zh] synchronize translate control-plane-flags.md
2 parents 930081f + b52b41f commit b28b1d3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

content/zh/docs/setup/production-environment/tools/kubeadm/control-plane-flags.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,8 @@ Kubeadm 允许将包含补丁文件的目录传递给各个节点上的 `InitCon
235235
```yaml
236236
apiVersion: kubeadm.k8s.io/v1beta3
237237
kind: InitConfiguration
238-
nodeRegistration:
239-
patches:
240-
directory: /home/user/somedir
238+
patches:
239+
directory: /home/user/somedir
241240
```
242241

243242
{{< note >}}
@@ -256,9 +255,8 @@ You can pass this file to `kubeadm join` with `--config <YOUR CONFIG YAML>`:
256255
```yaml
257256
apiVersion: kubeadm.k8s.io/v1beta3
258257
kind: JoinConfiguration
259-
nodeRegistration:
260-
patches:
261-
directory: /home/user/somedir
258+
patches:
259+
directory: /home/user/somedir
262260
```
263261

264262
<!--

0 commit comments

Comments
 (0)