More Info:

GKE cluster should use node local DNS cache

Risk Level

Low

Address

Performance Efficiency, Operational Excellence, Reliability, Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “Cluster Should Use Node Local DNS Cache” for GCP using GCP console, please follow the below steps:

  1. Open the Google Cloud Console and select your project.

  2. Go to the Kubernetes Engine section of the console.

  3. Select the cluster you want to remediate.

  4. Click on the “Edit” button at the top of the page.

  5. In the “Node pools” section, click on the name of the node pool you want to remediate.

  6. Scroll down to the “Node image” section and click on the “Change” button.

  7. Select the latest version of the node image that includes the node local DNS cache feature.

  8. Click on the “Save” button to save the changes.

  9. Wait for the nodes in the node pool to be updated with the new node image.

  10. Verify that the node local DNS cache feature is enabled by running a test pod and checking its DNS resolution.

By following these steps, you can remediate the misconfiguration “Cluster Should Use Node Local DNS Cache” for GCP using GCP console.