<p>I have a kubernetes cluster on GCP which I created using the GCP dashboard. I created 3 default nodes in it. </p>

<p>Now, I want to add my laptop as a node to this cluster. I found that we can use <code>kubeadm init</code> for that but whenever I try that in my gcloud console (after logging in using <code>gcloud container clusters get-credentials standard-cluster-1 --zone us-central1-a --project river-autumn-253318</code>)  it says that I have only 1 CPU. </p>

<p>Another problem is that the tutorials which I saw online always give out cluster IP as 192.x.x.x or 172.x.x.x after running <code>kubeadm init</code>, which, I understand are private IPs.</p>

<p>How can I add my laptop as a node to the GCP Kubernetes Cluster. </p>

Ishan Sanganeria
<p>I was able to solve the problem. All I had to do was add the flag <code>--control-plane-endpoint</code>.</p>

<p>My final token was something like <code>kubeadm init --pod-network-cidr=10.240.0.0/16 --control-plane-endpoint=35.222.246.129</code></p>

<p>Thank you everyone fo their inputs. </p>
