mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
kubeadm: update the long description about 'kubeadm config' command
This commit is contained in:
parent
bffc02b955
commit
6190152abd
@ -59,8 +59,8 @@ func newCmdConfig(out io.Writer) *cobra.Command {
|
|||||||
Long: fmt.Sprintf(dedent.Dedent(`
|
Long: fmt.Sprintf(dedent.Dedent(`
|
||||||
There is a ConfigMap in the %s namespace called %q that kubeadm uses to store internal configuration about the
|
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
|
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
|
initialized your cluster using kubeadm v1.7.x or lower, you must use the 'kubeadm init phase upload-config' command to
|
||||||
ConfigMap. This is required so that 'kubeadm upgrade' can configure your upgraded cluster correctly.
|
create this ConfigMap. This is required so that 'kubeadm upgrade' can configure your upgraded cluster correctly.
|
||||||
`), metav1.NamespaceSystem, constants.KubeadmConfigConfigMap),
|
`), metav1.NamespaceSystem, constants.KubeadmConfigConfigMap),
|
||||||
// Without this callback, if a user runs just the "upload"
|
// Without this callback, if a user runs just the "upload"
|
||||||
// command without a subcommand, or with an invalid subcommand,
|
// command without a subcommand, or with an invalid subcommand,
|
||||||
|
Loading…
Reference in New Issue
Block a user