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

pull/6/head
Evgeny L 2016-09-23 10:47:05 +00:00 committed by Ilya Dmitrichenko
parent 987da0186b
commit 0a68bb05ea
No known key found for this signature in database
GPG Key ID: E7889175A6C0CEB9
3 changed files with 4 additions and 4 deletions

View File

@ -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`.
- `--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,
use `--schedule-workload=true`.
use `--schedule-pods-here=true`.
- `--cloud-provider=<cloud provider>`

View File

@ -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"`,
)
cmd.PersistentFlags().BoolVar(
&s.InitFlags.Schedulable, "schedule-workload", false,
&s.InitFlags.Schedulable, "schedule-pods-here", false,
`(optional) Allow to schedule workload to the node`,
)

View File

@ -455,7 +455,7 @@ runtime-config
runtime-integration-type
runtime-request-timeout
save-config
schedule-workload
schedule-pods-here
scheduler-config
scheduler-name
schema-cache-dir