Skip to content

Commit

Permalink
Merge pull request kubernetes#125752 from SataQiu/fix-cmd-desc-20240627
Browse files Browse the repository at this point in the history
kubeadm: update the long description about 'kubeadm config' command
  • Loading branch information
k8s-ci-robot committed Jun 27, 2024
2 parents 92e0db2 + 6190152 commit 7210f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/kubeadm/app/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7210f2a

Please sign in to comment.