Review GKE node image selection

Choose a supported GKE node image for the workload and maintain node updates.

Description

For Linux nodes on GKE Standard, choose UBUNTU_CONTAINERD when you need Ubuntu packages or filesystem features. Choose COS_CONTAINERD when a minimal host OS meets the workload’s requirements.

Potential impact

An unsupported node image can miss security updates. An image missing a required host feature can interrupt workloads.

Remediation

Reserve capacity for node replacement and test the workload on the target image before switching. Keep the nodes updated and manage application permissions and network access separately.

Examples

These partial NodePool request bodies use containerd. Supply the cluster, location and node count separately. Standard support for Deployment Manager has ended. Use a supported tool for new deployments.

Before

yaml
name: my-node
config:
  imageType: UBUNTU_CONTAINERD

After

yaml
name: my-node
config:
  imageType: COS_CONTAINERD

References