diff --git a/cmd/kubeadm/app/cmd/join.go b/cmd/kubeadm/app/cmd/join.go index d957c32fa2..0dc9387ad7 100644 --- a/cmd/kubeadm/app/cmd/join.go +++ b/cmd/kubeadm/app/cmd/join.go @@ -73,7 +73,7 @@ func NewCmdJoin(out io.Writer) *cobra.Command { provide a file (a subset of the standard kubeconfig file). This file can be a local file or downloaded via an HTTPS URL. The forms are kubeadm join --discovery-token abcdef.1234567890abcdef 1.2.3.4:6443, - kubeadm join --discovery-file path/to/file.conf or kubeadm join + kubeadm join --discovery-file path/to/file.conf, or kubeadm join --discovery-file https://url/file.conf. Only one form can be used. If the discovery information is loaded from a URL, HTTPS must be used and the host installed CA bundle is used to verify the connection. @@ -85,9 +85,8 @@ func NewCmdJoin(out io.Writer) *cobra.Command { approve these signing requests. This token is passed in with the --tls-bootstrap-token abcdef.1234567890abcdef flag. - Often times the same token is use for both parts. In this case, the - --token flag can be used instead of specifying the each token - individually. + Often times the same token is used for both parts. In this case, the + --token flag can be used instead of specifying each token individually. `), Run: func(cmd *cobra.Command, args []string) { cfg.DiscoveryTokenAPIServers = args