Unverified Commit 0a68bb05 authored by Evgeny L's avatar Evgeny L Committed by Ilya Dmitrichenko

Rename flag `--schedule-workload` to `--schedule-pods-here` for kubeadm init

parent 987da018
...@@ -29,10 +29,10 @@ default behaviour. The flags used for said purpose are described below. ...@@ -29,10 +29,10 @@ default behaviour. The flags used for said purpose are described below.
By default, `kubeadm` sets `cluster.local` as the cluster DNS domain. If you would like to set a different one, use `--service-dns-domain`. By default, `kubeadm` sets `cluster.local` as the cluster DNS domain. If you would like to set a different one, use `--service-dns-domain`.
- `--schedule-workload=<bool>` (default: "false") - `--schedule-pods-here=<bool>` (default: "false")
By default, `kubeadm` sets the master node kubelet as non-schedulable for workloads. This means the master node won't run your pods. If you want to change that, By default, `kubeadm` sets the master node kubelet as non-schedulable for workloads. This means the master node won't run your pods. If you want to change that,
use `--schedule-workload=true`. use `--schedule-pods-here=true`.
- `--cloud-provider=<cloud provider>` - `--cloud-provider=<cloud provider>`
......
...@@ -83,7 +83,7 @@ func NewCmdInit(out io.Writer, s *kubeadmapi.KubeadmConfig) *cobra.Command { ...@@ -83,7 +83,7 @@ func NewCmdInit(out io.Writer, s *kubeadmapi.KubeadmConfig) *cobra.Command {
`(optional) Enable a specific cloud provider features (external load-balancers, storage, etc), e.g. "gce"`, `(optional) Enable a specific cloud provider features (external load-balancers, storage, etc), e.g. "gce"`,
) )
cmd.PersistentFlags().BoolVar( cmd.PersistentFlags().BoolVar(
&s.InitFlags.Schedulable, "schedule-workload", false, &s.InitFlags.Schedulable, "schedule-pods-here", false,
`(optional) Allow to schedule workload to the node`, `(optional) Allow to schedule workload to the node`,
) )
......
...@@ -455,7 +455,7 @@ runtime-config ...@@ -455,7 +455,7 @@ runtime-config
runtime-integration-type runtime-integration-type
runtime-request-timeout runtime-request-timeout
save-config save-config
schedule-workload schedule-pods-here
scheduler-config scheduler-config
scheduler-name scheduler-name
schema-cache-dir schema-cache-dir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment