Skip to content

Commit 6190152

Browse files
committed
kubeadm: update the long description about 'kubeadm config' command
1 parent bffc02b commit 6190152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/kubeadm/app/cmd/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ func newCmdConfig(out io.Writer) *cobra.Command {
5959
Long: fmt.Sprintf(dedent.Dedent(`
6060
There is a ConfigMap in the %s namespace called %q that kubeadm uses to store internal configuration about the
6161
cluster. kubeadm CLI v1.8.0+ automatically creates this ConfigMap with the config used with 'kubeadm init', but if you
62-
initialized your cluster using kubeadm v1.7.x or lower, you must use the 'config upload' command to create this
63-
ConfigMap. This is required so that 'kubeadm upgrade' can configure your upgraded cluster correctly.
62+
initialized your cluster using kubeadm v1.7.x or lower, you must use the 'kubeadm init phase upload-config' command to
63+
create this ConfigMap. This is required so that 'kubeadm upgrade' can configure your upgraded cluster correctly.
6464
`), metav1.NamespaceSystem, constants.KubeadmConfigConfigMap),
6565
// Without this callback, if a user runs just the "upload"
6666
// command without a subcommand, or with an invalid subcommand,

0 commit comments

Comments
 (0)