diff --git a/terraform/cluster.tf b/terraform/cluster.tf index 3e902f2..47eea3d 100644 --- a/terraform/cluster.tf +++ b/terraform/cluster.tf @@ -103,7 +103,7 @@ resource "google_container_node_pool" "windows_agents_nodepool" { } autoscaling { - min_node_count = 0 + min_node_count = 1 max_node_count = var.windows-agents-count location_policy = "BALANCED" } diff --git a/terraform/kubernetes/windows-agents.yaml b/terraform/kubernetes/windows-agents.yaml index 4ad9e13..35e710b 100644 --- a/terraform/kubernetes/windows-agents.yaml +++ b/terraform/kubernetes/windows-agents.yaml @@ -20,10 +20,7 @@ metadata: spec: replicas: ${replicas-count} strategy: - rollingUpdate: - maxSurge: 25% - maxUnavailable: 50% - type: RollingUpdate + type: Recreate selector: matchLabels: app: agent-premerge-windows