I have a kubernetes cluster on GCP which I created using the GCP dashboard. I created 3 default nodes in it.
Now, I want to add my laptop as a node to this cluster. I found that we can use kubeadm init
for that but whenever I try that in my gcloud console (after logging in using gcloud container clusters get-credentials standard-cluster-1 --zone us-central1-a --project river-autumn-253318
) it says that I have only 1 CPU.
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 kubeadm init
, which, I understand are private IPs.
How can I add my laptop as a node to the GCP Kubernetes Cluster.
kubeadm
and then try to join your laptop using the token returned bykubeadm
. – Bimalkubeadmin
assumes the new node to be in the same network. – Ishan Sanganeria