Skip to content
Snippets Groups Projects
Commit 8e148fa0 authored by João Alexandre Cunha's avatar João Alexandre Cunha
Browse files

Make default clusters node preemptible false

parent 6adc4e5c
No related branches found
No related tags found
No related merge requests found
......@@ -11,14 +11,14 @@ resource "google_container_cluster" "primary" {
description = var.cluster_description
}
resource "google_container_node_pool" "primary_preemptible_nodes" {
resource "google_container_node_pool" "primary_nodes" {
name = "${var.cluster_name}-node-pool"
cluster = google_container_cluster.primary.name
location = var.gcp_region
node_count = 3
node_config {
preemptible = true
preemptible = false
machine_type = var.machine_type
metadata = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment