How can I add a new node into existing kubernetes cluster with a different machine type?

0 votes

How do I add a new node in a GKE cluster with a different machine type. I am getting the following error:

ERROR: (gcloud.compute.instance-groups.managed.resize) unrecognized arguments: --machine-type n1-standard-8

How do I resolve it?

Nov 6, 2019 in GCP by anonymous
• 18,440 points
96 views

1 answer to this question.

0 votes
You can work around the single machine-type restriction by creating a new instance group with a (modified) copy of GKE's instance template.

Note that later you may need to manually upgrade that instance group (instead of using GKE's Node Upgrade API).
answered Nov 6, 2019 by Sirajul
• 58,130 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

How do I create a Virtual Machine on GCP?

To create a VM instance: It is important you ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 58,130 points
287 views
0 votes
1 answer

How do I create a preemptible virtual machine (VM) instance?

With gcloud compute, use the same instances create command that ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 58,130 points
315 views
+1 vote
1 answer
0 votes
1 answer

Can I create a load balancer with path based routing in GKE?

Yes, it's possible. Note that you simply will use the internal Load balancing (ILB) for ...READ MORE

answered Oct 10, 2019 in GCP by Sirajul
• 58,130 points
290 views
0 votes
1 answer

How can I use a pre-existing disk as a persistent volume for a GKE cluster?

If you already have a persistent disk (say ...READ MORE

answered Nov 12, 2019 in GCP by Sirajul
• 58,130 points
820 views