<p>There is a k8s single master node, I need to back it up and restore it 
I googled this topic and found a solution - 
<a href="https://elastisys.com/2018/12/10/backup-kubernetes-how-and-why/" rel="nofollow noreferrer">https://elastisys.com/2018/12/10/backup-kubernetes-how-and-why/</a></p>

<p>Everything looked easy; so,I followed the instruction and got a copy of the certificates and a snapshot of the etcd database.</p>

<p>But at last, I am not able to find  kubeadm-config.yaml on my master server.</p>

<p>Where to find this file?</p>

Kundan Kumar
<p>During kubeadm init, kubeadm uploads the ClusterConfiguration object to your cluster in a ConfigMap called kubeadm-config in the kube-system namespace. You can get it from the ConfigMap and take a backup</p>

<pre><code>kubectl get cm kubeadm-config  -n kube-system -o yaml &gt; kubeadm-config.yaml
</code></pre>

<p><a href="https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/" rel="noreferrer">https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/</a></p>
