⎈ k8s knowledge compiler

kubeadm Configuration (v1beta3) [page]deterministic

reference

<h2>Overview</h2> <p>Package v1beta3 defines the v1beta3 version of the kubeadm configuration file format. This version improves on the v1beta2 format by fixing some minor issues and adding a few new fields.</p> <p>A list of changes since v1beta2:</p> <ul> <li>The deprecated &quot;ClusterConfiguration.useHyperKubeImage&quot; field has been removed. Kubeadm no longer supports the hyperkube image.</li> <li>The &quot;ClusterConfiguration.dns.type&quot; field has been removed since CoreDNS is the only supported DNS server type by kubeadm.</li> <li>Include &quot;datapolicy&quot; tags on the fields that hold secrets. This would result in the field values to be omitted when API structures are printed with klog.</li> <li>Add &quot;InitConfiguration.skipPhases&quot;, &quot;JoinConfiguration.skipPhases&quot; to allow skipping a list of phases during kubeadm init/join command execution.</li> <li>Add &quot;InitConfiguration.nodeRegistration.imagePullPolicy&quot; and &quot;JoinConfiguration.nodeRegistration.imagePullPolicy&quot; to allow specifying the images pull policy during kubeadm &quot;init&quot; and &quot;join&quot;. The value must be one of &quot;Always&quot;, &quot;Never&quot; or &quot;IfNotPresent&quot;. &quot;IfNotPresent&quot; is the default, which has been the existing behavior prior to this addition.</li> <li>Add &quot;InitConfiguration.patches.directory&quot;, &quot;JoinConfiguration.patches.directory&quot; to allow the user to configure a directory from which to take patches for components deployed by kubeadm.</li> <li>Move the BootstrapToken* API and related utilities out of the &quot;kubeadm&quot; API group to a new group &quot;bootstraptoken&quot;. The kubeadm API version v1beta3 no longer contains the BootstrapToken* structures.</li> </ul> <p>Migration from old kubeadm config versions</p> <ul> <li>kubeadm v1.15.x and newer can be used to migrate from v1beta1 to v1beta2.</li> <li>kubeadm v1.22.x and newer no longer support v1beta1 and older APIs, but can be used to migrate v1beta2 to v1beta3.</li> <li>kubeadm v1.27.x and newer no longer support v1beta2 and older APIs,</li> </ul> <h2>Basics</h2> <p>The preferred way to configure kubeadm is to pass an YAML configuration file with the <code>--config</code> option. Some of the configuration options defined in the kubeadm config file are also available as command line flags, but only the most common/simple use case are supported with this approach.</p> <p>A kubeadm config file could contain multiple configuration types separated using three dashes (<code>---</code>).</p> <p>kubeadm supports the following configuration types:</p> <pre style="background-color:#fff"><span style="color:#000;font-weight:bold">apiVersion</span>:<span style="color:#bbb"> </span>kubeadm.k8s.io/v1beta3<span style="color:#bbb"> </span><span style="color:#bbb"></span><span style="color:#000;font-weight:bold">kind</span>:<span style="color:#bbb"> </span>InitConfiguration<span style="color:#bbb"> </span><span style="color:#bbb"> </span><span style="color:#bbb"></span><span style="color:#000;font-weight:bold">apiVersion</span>:<span style="color:#bbb"> </span>kubeadm.k8s.io/v1beta3<span style="color:#bbb"> </span><span style="color:#bbb"></span><span style="color:#000;font-weight:bold">kind</span>:<span style="color:#bbb"> </span>ClusterConfiguration<span style="color:#bbb"> </span><span style="color:#bbb"> </span><span style="color:#bbb"></span><span style="color:#000;font-weight:bold">apiVersion</span>:<span style="color:#bbb"> </span>kubelet.config.k8s.io/v1beta1<span style="color:#bbb"> </span><span style="color:#bbb"></span><span style="color:#000;font-weight:bold">kind</span>:<span style="color:#bbb"> </span>KubeletConfiguration<span style="color:#bbb"> </span><span style="color:#bbb"> </span><span style="color:#bbb"></span><span style="color:#000;font-weight:bold">apiVersion</span>:<span style="color:#bbb"> </span>kubeproxy.config.k8s.io/v1alpha1<span style="color:#bbb"> </span><span style="color:#b …(trimmed)

Sources

reference/config-api/kubeadm-config.v1beta3.md · dockubeadm Configuration (v1beta3)

Related (22)

part_of Resource typesdescribes conf=1
part_of `BootstrapToken` {#BootstrapToken}describes conf=1
part_of `DNS` {#kubeadm-k8s-io-v1beta3-DNS}describes conf=1
part_of `Etcd` {#kubeadm-k8s-io-v1beta3-Etcd}describes conf=1
part_of `Patches` {#kubeadm-k8s-io-v1beta3-Patches}describes conf=1

← all Docs