Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 2.68 KB

automatic-node-repair-enabled.md

File metadata and controls

28 lines (24 loc) · 2.68 KB

CloudSploit

GOOGLE / Kubernetes / Automatic Node Repair Enabled

Quick Info

Plugin Title Automatic Node Repair Enabled
Cloud GOOGLE
Category Kubernetes
Description Ensures all Kubernetes cluster nodes have automatic repair enabled
More Info 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.
GOOGLE Link https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair
Recommended Action Ensure that automatic node repair is enabled on all node pools in Kubernetes clusters

Detailed Remediation Steps

  1. Log in to the Google Cloud Platform Console.
  2. Scroll down the left navigation panel and choose the "Kubernetes Engine" option under the "Compute" and select the "Clusters."
  3. On the "Kubernetes clusters" page , click on the "Name" as a link option to select the cluster.
  4. On the selected "Clusters" page, scroll down and select the "Node pools" by clicking on the "Name" as a link.
  5. On the "Node pool details" page, scroll down the page, check "Auto-repair" option under the "Management" and if it's showing "Disabled" then the Kubernetes engine cannot perform health checks on all nodes.
  6. Repeat steps number 2 - 5 to verify other clusters in the account.
  7. Navigate to the "Kubernetes Engine" option under the "Compute", choose the "Clusters" and select the "Node pools" option.
  8. On the "Node pool details" page, click on the "Edit" button at the top.
  9. On the "Edit node pool" page, scroll down and click on the checkbox next to the "Enable auto-repair" under the "Management."
  10. Click on the "Save" button to make the changes.
  11. Repeat steps number 7 - 10 to ensure that automatic node repair is enabled on all node pools in Kubernetes clusters.