mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 21:50:05 +00:00
kubeadm: Introduce config print init/join-defaults
In order to improve the UX of kubeadm, it was decided to introduce the following subcommands: - `kubeadm config print` - this is currently only a placeholder for subcommands that deal printing of some kind of configuration. - `kubeadm config print init-defaults` - prints the default combination of InitConfiguration and ClusterConfiguration. Selected component configs can be printed too if the `--component-configs` command line switch is used. - `kubeadm config print join-defaults` - prints the default JoinConfiguration. This command also supports the use of `--component-configs`. - `kubeadm config print-defaults` is deprecated in favor of `kubeadm config print init/join-defaults`. Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
This commit is contained in:
@@ -75,7 +75,9 @@ docs/admin/kubeadm_config_images.md
|
||||
docs/admin/kubeadm_config_images_list.md
|
||||
docs/admin/kubeadm_config_images_pull.md
|
||||
docs/admin/kubeadm_config_migrate.md
|
||||
docs/admin/kubeadm_config_print-default.md
|
||||
docs/admin/kubeadm_config_print.md
|
||||
docs/admin/kubeadm_config_print_init-defaults.md
|
||||
docs/admin/kubeadm_config_print_join-defaults.md
|
||||
docs/admin/kubeadm_config_upload.md
|
||||
docs/admin/kubeadm_config_upload_from-file.md
|
||||
docs/admin/kubeadm_config_upload_from-flags.md
|
||||
@@ -172,6 +174,9 @@ docs/man/man1/kubeadm-config-images-pull.1
|
||||
docs/man/man1/kubeadm-config-images.1
|
||||
docs/man/man1/kubeadm-config-migrate.1
|
||||
docs/man/man1/kubeadm-config-print-default.1
|
||||
docs/man/man1/kubeadm-config-print-init-defaults.1
|
||||
docs/man/man1/kubeadm-config-print-join-defaults.1
|
||||
docs/man/man1/kubeadm-config-print.1
|
||||
docs/man/man1/kubeadm-config-upload-from-file.1
|
||||
docs/man/man1/kubeadm-config-upload-from-flags.1
|
||||
docs/man/man1/kubeadm-config-upload.1
|
||||
|
3
docs/admin/kubeadm_config_print_init-defaults.md
Normal file
3
docs/admin/kubeadm_config_print_init-defaults.md
Normal file
@@ -0,0 +1,3 @@
|
||||
This file is autogenerated, but we've stopped checking such files into the
|
||||
repository to reduce the need for rebases. Please run hack/generate-docs.sh to
|
||||
populate this file.
|
3
docs/admin/kubeadm_config_print_join-defaults.md
Normal file
3
docs/admin/kubeadm_config_print_join-defaults.md
Normal file
@@ -0,0 +1,3 @@
|
||||
This file is autogenerated, but we've stopped checking such files into the
|
||||
repository to reduce the need for rebases. Please run hack/generate-docs.sh to
|
||||
populate this file.
|
3
docs/man/man1/kubeadm-config-print-init-defaults.1
Normal file
3
docs/man/man1/kubeadm-config-print-init-defaults.1
Normal file
@@ -0,0 +1,3 @@
|
||||
This file is autogenerated, but we've stopped checking such files into the
|
||||
repository to reduce the need for rebases. Please run hack/generate-docs.sh to
|
||||
populate this file.
|
3
docs/man/man1/kubeadm-config-print-join-defaults.1
Normal file
3
docs/man/man1/kubeadm-config-print-join-defaults.1
Normal file
@@ -0,0 +1,3 @@
|
||||
This file is autogenerated, but we've stopped checking such files into the
|
||||
repository to reduce the need for rebases. Please run hack/generate-docs.sh to
|
||||
populate this file.
|
3
docs/man/man1/kubeadm-config-print.1
Normal file
3
docs/man/man1/kubeadm-config-print.1
Normal file
@@ -0,0 +1,3 @@
|
||||
This file is autogenerated, but we've stopped checking such files into the
|
||||
repository to reduce the need for rebases. Please run hack/generate-docs.sh to
|
||||
populate this file.
|
Reference in New Issue
Block a user