<p>I want to change the Kubernetes server endpoint port. <br/>
I am currently using port <code>6443</code> and would like to change it to port <code>7443</code>.</p>
<p>Kubernetes is installed on-premises and is a single master node.</p>

vine-nam
<p>You can change the default secure port by passing the <code>--secure-port</code> flag when you start your k8s api server.</p>
<p>Checkout the next links for more:</p>
<p><a href="https://kubernetes.io/docs/reference/access-authn-authz/controlling-access/#api-server-ports-and-ips" rel="nofollow noreferrer">https://kubernetes.io/docs/reference/access-authn-authz/controlling-access/#api-server-ports-and-ips</a></p>
<p><a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/" rel="nofollow noreferrer">https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/</a></p>
