Skip to content

Commit c7ed3bc

Browse files
committed
fix example for customizing the control plane with scheduler flags
Signed-off-by: wangyysde <[email protected]>
1 parent dbb559e commit c7ed3bc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,13 @@ kind: ClusterConfiguration
7878
kubernetesVersion: v1.16.0
7979
scheduler:
8080
extraArgs:
81-
bind-address: 0.0.0.0
82-
config: /home/johndoe/schedconfig.yaml
83-
kubeconfig: /home/johndoe/kubeconfig.yaml
81+
config: /etc/kubernetes/scheduler-config.yaml
82+
extraVolumes:
83+
- name: schedulerconfig
84+
hostPath: /home/johndoe/schedconfig.yaml
85+
mountPath: /etc/kubernetes/scheduler-config.yaml
86+
readOnly: true
87+
pathType: "File"
8488
```
8589
8690

0 commit comments

Comments
 (0)