<p>I'm trying to create a bare metal multimaster kubernetes cluster. The version of kubernetes I'm working with is 1.15.12. The issue I'm running into is with the command:</p>
<pre><code>kubeadm init --control-plane-endpoint &quot;LOAD_BALANCER_DNS:LOAD_BALANCER_PORT&quot; --upload-certs --pod-network-cidr=192.168.0.0/16
</code></pre>
<p>The error is that --control-plane-endpoint is unknown.</p>
<p>I believe in version 1.15.12 this kubeadm flag doesn't exist. Am I using the correct flag or is there a substitute that I can use for the version that I'm using (v1.15.12)?</p>

CodeZer
<p>You are right, that flag was implemented in <a href="https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.16.md" rel="nofollow noreferrer">Kubernetes v1.16</a>:</p>
<blockquote>
<p>kubeadm: provide <code>--control-plane-endpoint</code> flag for
<code>controlPlaneEndpoint</code> (<a href="https://github.com/kubernetes/kubernetes/pull/79270" rel="nofollow noreferrer">#79270</a>)</p>
</blockquote>
<p>The version you are trying to use is pretty old and so it is highly recommend for you to either:</p>
<ul>
<li><p><a href="https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/" rel="nofollow noreferrer">Upgrade your cluster</a></p>
</li>
<li><p>Create a new cluster from scratch using a more recent version of Kubernetes (preferably v1.20). The <a href="https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/" rel="nofollow noreferrer">kubeadm init</a> docs can help you with it, especially the <code>--kubernetes-version</code> flag: Choose a specific Kubernetes version for the control plane.</p>
</li>
</ul>
<p>Remember that things get deprecated for a reason and keeping your cluster up to date can save you a lot of trouble in the future.</p>
