GKE node pool auto-repair disabled

Enable GKE node auto-repair and prepare workloads for node re-creation.

Description

New GKE Standard pools have auto-repair on by default. Autopilot always uses it. If the Crossplane manifest omits autoRepair, check the actual pool setting in GKE.

Potential impact

With repair disabled, a node that repeatedly fails health checks can remain unavailable until an operator intervenes. A repair can drain and re-create the node.

Remediation

Set spec.forProvider.management.autoRepair to true. After Crossplane reconciles the change, check the pool setting, node health and any repair events in GKE. Run enough workload replicas to tolerate a node loss and back up persistent data. Application faults still need their own fixes.

Examples

The excerpts keep initialNodeCount: 3 and change only the repair setting. Add the resource name, target cluster and other required deployment settings.

Before

yaml
apiVersion: container.gcp.crossplane.io/v1beta1
kind: NodePool
spec:
  forProvider:
    management:
      autoRepair: false
    initialNodeCount: 3

After

yaml
apiVersion: container.gcp.crossplane.io/v1beta1
kind: NodePool
spec:
  forProvider:
    management:
      autoRepair: true
    initialNodeCount: 3

References