From 608693830e317bf861bb1ddccde78a9411da72ec Mon Sep 17 00:00:00 2001 From: Jesse Hu Date: Tue, 6 Aug 2019 11:15:54 +0800 Subject: [PATCH] Correct 'print default' command in kubeadm-config.md (#15662) * Correct 'print default' command in kubeadm-config.md `kubeadm config print-default` command doesn't exist in v1.15.0. It's now `kubeadm config print init-defaults` and `kubeadm config print join-defaults`. * Remove the unnecessary v1.11.0 statement --- .../docs/reference/setup-tools/kubeadm/kubeadm-config.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/en/docs/reference/setup-tools/kubeadm/kubeadm-config.md b/content/en/docs/reference/setup-tools/kubeadm/kubeadm-config.md index b740d18e9c..d5c10082d7 100644 --- a/content/en/docs/reference/setup-tools/kubeadm/kubeadm-config.md +++ b/content/en/docs/reference/setup-tools/kubeadm/kubeadm-config.md @@ -16,10 +16,9 @@ You can execute `kubeadm config view` to view the ConfigMap. If you initialized kubeadm v1.7.x or lower, you must use `kubeadm config upload` to create the ConfigMap before you may use `kubeadm upgrade`. -In Kubernetes v1.11.0, some new commands were added. You can use `kubeadm config print-default` -to print the default configuration and `kubeadm config migrate` to convert your old configuration -files to a newer version. `kubeadm config images list` and `kubeadm config images pull` can be used -to list and pull the images that kubeadm requires. +You can use `kubeadm config print` to print the default configuration and `kubeadm config migrate` to +convert your old configuration files to a newer version. `kubeadm config images list` and +`kubeadm config images pull` can be used to list and pull the images that kubeadm requires. In Kubernetes v1.13.0 and later to list/pull kube-dns images instead of the CoreDNS image the `--config` method described [here](/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/#cmd-phase-addon)