I created cluster and node pools by terraform modules. I configured module google_container_node_pool with basic configurations is:
resource "google_container_node_pool" "cache" {
name = "cache"
location = "asia-southeast1"
cluster = my-cluster
node_count = 6
node_config {
preemptible = true
machine_type = "e2-medium"
image_type = "cos_containerd"
disk_type = "pd-standard"
disk_size_gb = 20
labels = {
role = "cache"
}
}
}
When I created successfully. Sometimes, node is restarted randomly. Can I check why it’s restarted?
I expect that the GKE nodes are not restart anymore
New contributor
cris_lee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.