From 6190152abd42b47462208fe587c6a4e0319a79f6 Mon Sep 17 00:00:00 2001 From: SataQiu Date: Thu, 27 Jun 2024 15:54:07 +0800 Subject: [PATCH] kubeadm: update the long description about 'kubeadm config' command --- cmd/kubeadm/app/cmd/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/kubeadm/app/cmd/config.go b/cmd/kubeadm/app/cmd/config.go index d3bdf216eb3..dfc6f7e0e6a 100644 --- a/cmd/kubeadm/app/cmd/config.go +++ b/cmd/kubeadm/app/cmd/config.go @@ -59,8 +59,8 @@ func newCmdConfig(out io.Writer) *cobra.Command { Long: fmt.Sprintf(dedent.Dedent(` There is a ConfigMap in the %s namespace called %q that kubeadm uses to store internal configuration about the cluster. kubeadm CLI v1.8.0+ automatically creates this ConfigMap with the config used with 'kubeadm init', but if you - initialized your cluster using kubeadm v1.7.x or lower, you must use the 'config upload' command to create this - ConfigMap. This is required so that 'kubeadm upgrade' can configure your upgraded cluster correctly. + initialized your cluster using kubeadm v1.7.x or lower, you must use the 'kubeadm init phase upload-config' command to + create this ConfigMap. This is required so that 'kubeadm upgrade' can configure your upgraded cluster correctly. `), metav1.NamespaceSystem, constants.KubeadmConfigConfigMap), // Without this callback, if a user runs just the "upload" // command without a subcommand, or with an invalid subcommand,