More Info:

Ensures all Kubernetes cluster nodes have automatic repair enabled. When automatic repair on nodes is enabled, the Kubernetes engine performs health checks on all nodes, automatically repairing nodes that fail health checks. This ensures that the Kubernetes environment stays optimal.

Risk Level

Low

Address

Security, Reliability

Compliance Standards

NISTCSF

Triage and Remediation

Remediation

To remediate the misconfiguration “Automatic Node Repair Should Be Enabled” for GCP, you can follow these steps using the GCP Console:

  1. Open the GCP Console and go to the “Kubernetes Engine” section.
  2. Select the cluster that you want to remediate.
  3. Click on the “Edit” button at the top of the page.
  4. Scroll down to the “Node Pools” section and click on the node pool that you want to remediate.
  5. Scroll down to the “Node auto-repair” option and toggle it on.
  6. Click on the “Save” button at the bottom of the page to apply the changes.

Once you have completed these steps, automatic node repair should be enabled for the selected node pool in your GCP Kubernetes cluster. This will ensure that any nodes that fail or become unresponsive are automatically repaired or replaced, helping to maintain the availability and reliability of your cluster.

Additional Reading: