reviewers | title | content_type | weight | ||
---|---|---|---|---|---|
|
kubeadm config |
concept |
50 |
During kubeadm init
, kubeadm uploads the ClusterConfiguration
object to your cluster
in a ConfigMap called kubeadm-config
in the kube-system
namespace. This configuration is then read during
kubeadm join
, kubeadm reset
and kubeadm upgrade
.
You can use kubeadm config print
to print the default static configuration that kubeadm
uses for kubeadm init
and kubeadm join
.
{{< note >}} The output of the command is meant to serve as an example. You must manually edit the output of this command to adapt to your setup. Remove the fields that you are not certain about and kubeadm will try to default them on runtime by examining the host. {{< /note >}}
For more information on init
and join
navigate to
Using kubeadm init with a configuration file
or Using kubeadm join with a configuration file.
For more information on using the kubeadm configuration API navigate to Customizing components with the kubeadm API.
You can use kubeadm config migrate
to convert your old configuration files that contain a deprecated
API version to a newer, supported API version.
kubeadm config validate
can be used for validating a configuration file.
kubeadm config images list
and kubeadm config images pull
can be used to list and pull the images
that kubeadm requires.
{{< include "generated/kubeadm_config_print.md" >}}
{{< include "generated/kubeadm_config_print_init-defaults.md" >}}
{{< include "generated/kubeadm_config_print_join-defaults.md" >}}
{{< include "generated/kubeadm_config_migrate.md" >}}
{{< include "generated/kubeadm_config_validate.md" >}}
{{< include "generated/kubeadm_config_images_list.md" >}}
{{< include "generated/kubeadm_config_images_pull.md" >}}
- kubeadm upgrade to upgrade a Kubernetes cluster to a newer version