Configuring GKE cluster nodes with auto-repair functionality

0 votes

I want the nodes within my cluster to be able to auto-repair when health status is "not ready". How do I enable this feature?

Oct 17, 2019 in GCP by anonymous
• 19,610 points
1,531 views

1 answer to this question.

0 votes

To create a cluster or node pool with node auto-repair enabled, specify the --enable-autorepair option when you create your cluster or node pool using the gcloud command-line tool.

  • To create a cluster with auto-repair enabled, run the following command:

gcloud container clusters create [CLUSTER_NAME] --zone [COMPUTE_ZONE] \ --enable-autorepair
  • To create a node pool with auto-repair enabled:

gcloud container node-pools create [POOL_NAME] --cluster [CLUSTER_NAME] \ --zone [COMPUTE_ZONE] --enable-autorepair
  • To enable auto-repair for an existing node pool:

gcloud container node-pools update [POOL_NAME] --cluster [CLUSTER_NAME] \ --zone [COMPUTE_ZONE] --enable-autorepair
answered Oct 17, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer

Creating an alpha cluster using GKE on Google Cloud Platform.

The term Alpha cluster means that alpha APIs are ...READ MORE

answered Sep 27, 2019 in GCP by Sirajul
• 59,230 points
888 views
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
• 59,230 points
1,187 views
0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer

Monitor the resource usage in GKE cluster.

Yes, GKE usage metering tracks information about ...READ MORE

answered Oct 17, 2019 in GCP by Sirajul
• 59,230 points
1,811 views
0 votes
1 answer

How to enable the GKE usage metering?

To enable GKE usage metering, you first create ...READ MORE

answered Oct 17, 2019 in GCP by Sirajul
• 59,230 points
1,778 views
0 votes
1 answer
0 votes
1 answer

How to use this persistent volume claim with my GKE cluster?

After the PersistentVolume and PersistentVolumeClaim exist in ...READ MORE

answered Nov 12, 2019 in GCP by Sirajul
• 59,230 points
2,548 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP