<p>With reference to <a href="https://github.com/kubernetes/kubeadm/issues/1239" rel="nofollow noreferrer">https://github.com/kubernetes/kubeadm/issues/1239</a>. How do I configure and start the latest kubeadm successfully?</p>

<p>kubeadm_new.config is generated by config migration: 
<code>kubeadm config migrate --old-config kubeadm_default.config --new-config kubeadm_new.config</code>. Content of kubeadm_new.config:</p>

<pre><code>apiEndpoint:
  advertiseAddress: 1.2.3.4
  bindPort: 6443
apiVersion: kubeadm.k8s.io/v1alpha3
bootstrapTokens:
- groups:
  - system:bootstrappers:kubeadm:default-node-token
  token: abcdef.0123456789abcdef
  ttl: 24h0m0s
  usages:
  - signing
  - authentication
kind: InitConfiguration
nodeRegistration:
  criSocket: /var/run/dockershim.sock
  name: khteh-t580
  taints:
  - effect: NoSchedule
    key: node-role.kubernetes.io/master
---
apiVersion: kubeadm.k8s.io/v1alpha3
auditPolicy:
  logDir: /var/log/kubernetes/audit
  logMaxAge: 2
  path: ""
certificatesDir: /etc/kubernetes/pki
clusterName: kubernetes
controlPlaneEndpoint: ""
etcd:
  local:
    dataDir: /var/lib/etcd
    image: ""
imageRepository: k8s.gcr.io
kind: ClusterConfiguration
kubernetesVersion: v1.12.2
networking:
  dnsDomain: cluster.local
  podSubnet: ""
  serviceSubnet: 10.96.0.0/12
unifiedControlPlaneImage: ""
</code></pre>

<p>I changed "kubernetesVersion: v1.12.2" in kubeadm_new.config and it seems to progress further and now stuck at the following error:</p>

<p><code>failed to run Kubelet: Running with swap on is not supported, please disable swap! or set --fail-swap-on flag to false.</code></p>

<p>How do I set fail-swap-on to FALSE to get it going?</p>

Kok How Teh
<p>Kubeadm comes with a command which prints default configuration, so you can check each of the assigned default values with: 
<code>kubeadm config print-default</code></p>

<p>In your case, if you want to disable swap check in the kubelet, you have to add the following lines to your current kubeadm config:</p>

<pre><code>---
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
failSwapOn: false
</code></pre>
