More Info:

Ensures all Kubernetes cluster nodes have Container-Optimized OS enabled. Container-Optimized OS is optimized to enhance node security. It is backed by a team at Google that can quickly patch it.

Risk Level

Medium

Address

Security

Compliance Standards

CISGKE

Triage and Remediation

Remediation

To remediate the misconfiguration of “Container-Optimized OS Should Be Enabled” in GCP, you can follow the below steps using the GCP console:

  1. Open the GCP Console and go to the Compute Engine page.
  2. Select the instance for which you want to enable Container-Optimized OS.
  3. Click on the “Edit” button on the top of the page.
  4. Scroll down to the “Cloud API access scopes” section.
  5. Expand the “Compute Engine default service account” section.
  6. Click on the “Set access for each API” button.
  7. In the “Compute Engine” section, select the “Read Write” access level.
  8. Click on the “Save” button to save the changes.
  9. Scroll up to the “Boot disk” section.
  10. Click on the “Change” button.
  11. In the “Operating system” section, select “Container-Optimized OS”.
  12. Click on the “Select” button to save the changes.
  13. Click on the “Save” button to apply the changes to the instance.

Once the above steps are completed, the Container-Optimized OS will be enabled for the selected instance.

Additional Reading: