Kubernetes should have ‘Automatic repair’ enabled
Automatic repair will monitor nodes and attempt repair when a node fails multiple subsequent health checks
Impact
Recommended Actions
Follow the appropriate remediation steps below to resolve the issue.
Enable automatic repair
1
2
3
4
5
6
7
8
9
10
11
12
13
|
resource "google_container_cluster" "primary" {
name = "my-gke-cluster"
location = "us-central1"
remove_default_node_pool = true
}
resource "google_container_node_pool" "good_example" {
name = "my-node-pool"
cluster = google_container_cluster.primary.id
management {
auto_repair = true
}
}
|