@@ -12,20 +12,27 @@ During `kubeadm init`, kubeadm uploads the `ClusterConfiguration` object to your
12
12
in a ConfigMap called ` kubeadm-config ` in the ` kube-system ` namespace. This configuration is then read during
13
13
` kubeadm join ` , ` kubeadm reset ` and ` kubeadm upgrade ` .
14
14
15
- You can use ` kubeadm config print ` to print the default configuration and ` kubeadm config migrate ` to
16
- convert your old configuration files to a newer version. ` kubeadm config images list ` and
17
- ` kubeadm config images pull ` can be used to list and pull the images that kubeadm requires.
15
+ You can use ` kubeadm config print ` to print the default static configuration that kubeadm
16
+ uses for ` kubeadm init ` and ` kubeadm join ` .
18
17
19
- For more information navigate to
18
+ {{< note >}}
19
+ The output of the command is meant to serve as an example. You must manually edit the output
20
+ of this command to adapt to your setup. Remove the fields that you are not certain about and kubeadm
21
+ will try to default them on runtime by examining the host.
22
+ {{< /note >}}
23
+
24
+ For more information on ` init ` and ` join ` navigate to
20
25
[ Using kubeadm init with a configuration file] ( /docs/reference/setup-tools/kubeadm/kubeadm-init/#config-file )
21
26
or [ Using kubeadm join with a configuration file] ( /docs/reference/setup-tools/kubeadm/kubeadm-join/#config-file ) .
22
27
23
- You can also configure several kubelet-configuration options with ` kubeadm init ` . These options will be the same on any node in your cluster.
24
- See [ Configuring each kubelet in your cluster using kubeadm] ( /docs/setup/production-environment/tools/kubeadm/kubelet-integration/ ) for details.
28
+ For more information on using the kubeadm configuration API navigate to
29
+ [ Customizing components with the kubeadm API] ( /docs/setup/production-environment/tools/kubeadm/control-plane-flags ) .
30
+
31
+ You can use ` kubeadm config migrate ` to convert your old configuration files that contain a deprecated
32
+ API version to a newer, supported API version.
25
33
26
- In Kubernetes v1.13.0 and later to list/pull kube-dns images instead of the CoreDNS image
27
- the ` --config ` method described [ here] ( /docs/reference/setup-tools/kubeadm/kubeadm-init-phase/#cmd-phase-addon )
28
- has to be used.
34
+ ` kubeadm config images list ` and ` kubeadm config images pull ` can be used to list and pull the images
35
+ that kubeadm requires.
29
36
30
37
<!-- body -->
31
38
## kubeadm config print {#cmd-config-print}
0 commit comments