Kubernetes container runtime compatibility is not determined by a single version number. This reference explains how to verify a supported combination of Kubernetes, containerd or CRI-O, operating system, cgroup mode, and CRI configuration before patching, rebuilding, or migrating nodes.
Overview
Kubernetes communicates with a container runtime through the Container Runtime Interface, or CRI. The runtime starts and stops pods, pulls images, reports container status, manages logs, and performs other node-level tasks. A runtime can be widely used and still be unsuitable for a particular Kubernetes release, operating system, CPU architecture, or configuration.
That is why a Kubernetes runtime support matrix should be treated as a verification process rather than a permanent table of universal answers. Kubernetes release notes, the runtime project's compatibility guidance, and your operating system documentation are the controlling references. Vendor distributions may also impose their own tested combinations.
For most operators, the practical choices are a CRI-enabled containerd deployment or a CRI-O deployment aligned with the Kubernetes release family. The important question is not simply whether a runtime can start a container. It is whether the complete node stack behaves correctly under production conditions: image pulls, sandbox creation, networking, storage, resource limits, logging, upgrades, and node recovery.
| Compatibility area | What to verify | Why it matters |
|---|---|---|
| Kubernetes minor release | Supported runtime families and required CRI behavior | CRI expectations and tested combinations can change between release lines |
| Runtime | containerd or CRI-O release, enabled CRI plugin, and support status | A runtime installed on disk may not be configured for Kubernetes |
| Operating system | Distribution, kernel, architecture, and packaging source | Kernel and package differences can affect networking, storage, and cgroups |
| cgroups | cgroup version and consistent settings across kubelet and runtime | Mismatch can cause resource accounting or pod-start failures |
| Cluster tooling | Provisioner, cloud image, plugins, monitoring, and security agents | Node behavior depends on more than the runtime alone |
Checklist by scenario
Before a Kubernetes upgrade
- Record the Kubernetes server and kubelet minor and patch versions for every node pool.
- Record the runtime name, version, socket path, CRI status, and configuration file location.
- Read the target Kubernetes release documentation for runtime, CRI, cgroup, and operating-system requirements.
- Check whether your distribution or managed service publishes a tested node-image and runtime combination.
- Confirm that admission, networking, storage, logging, security, and image-scanning integrations support the target stack.
- Test the upgrade on a representative node pool before changing every pool.
When replacing containerd or CRI-O
- Identify the kubelet's configured CRI endpoint. Do not assume it is the default socket.
- Check for multiple installed runtimes, stale sockets, and package repositories that could cause an unintended upgrade.
- Back up configuration and record non-default settings, including registry mirrors, authentication, sandbox images, snapshotters, and runtime classes.
- Drain and cordon one node according to your workload disruption policy.
- Install and configure the replacement runtime, then validate the CRI before allowing workloads back onto the node.
- Rebuild or replace nodes rather than making untested in-place changes when the operating system or cgroup model is also changing.
When building a new node image
- Pin the intended Kubernetes, kubelet, runtime, and operating-system package sources.
- Use the same cgroup mode and time-synchronization approach as the existing fleet.
- Test image pulls from every required registry, including private registries and mirror endpoints.
- Run a pod that exercises networking, persistent storage, resource limits, probes, logs, and graceful termination.
- Verify that the node becomes Ready without manual repair and that its runtime reports the expected version and endpoint.
What to double-check
CRI configuration: A runtime binary can be present while its CRI integration is disabled, misconfigured, or pointed at the wrong socket. Check the kubelet configuration and confirm the endpoint with the node's runtime inspection tools.
cgroup behavior: Kubernetes and the runtime should use a compatible cgroup setup. Review how CPU and memory limits, requests, eviction signals, and process accounting behave on the target operating system. A node that joins the cluster can still be incorrectly enforcing limits.
Runtime classes and workloads: If workloads use a non-default RuntimeClass, hardware acceleration, sandboxed containers, or a specialized snapshotter, verify those integrations separately. Basic pods are not enough to certify every workload type.
Image and registry behavior: Confirm authentication, certificate trust, mirror rules, platform selection, and pull retry behavior. Test both a public image and the private images most important to the application.
Observability: Check container logs, pod events, node conditions, runtime metrics, and alert rules after the change. Differences in log paths, labels, metrics, or event wording can affect incident response even when applications appear healthy.
Common mistakes
- Using an old compatibility table as a guarantee. Release support changes, and a table without a review date may omit a deprecation or required configuration.
- Comparing only Kubernetes and runtime versions. The operating system, kernel, architecture, plugins, and packaging channel are part of the compatibility decision.
- Changing the runtime on every node at once. A small canary pool exposes problems without consuming the cluster's full recovery capacity.
- Ignoring the kubelet endpoint. Installing a second runtime does not automatically make Kubernetes use it.
- Skipping rollback planning. Define how to restore the previous node image or runtime package before starting, and confirm that workloads can be rescheduled safely.
- Testing only pod creation. Include termination, restart, eviction, volume attachment, image pull failure, and node reboot scenarios.
For related operational controls, pair this review with an image security checklist and a documented registry retention process. Runtime changes can expose assumptions in image distribution and cleanup workflows.
When to revisit
Review this compatibility checklist before every Kubernetes minor upgrade, operating-system refresh, node-image rebuild, runtime migration, or change to cgroup configuration. Revisit it during seasonal planning cycles when capacity, disaster recovery, or fleet replacement work is scheduled.
Also update the internal support record when Kubernetes or the runtime publishes a new release, changes CRI behavior, marks a branch unsupported, or changes its guidance for cgroups, snapshotters, registry access, or sandbox images. Record the verification date, exact versions, operating-system image, runtime endpoint, test results, and rollback method.
A practical final gate is simple: can the team name the supported combination, reproduce it on a disposable or canary node, observe its critical behaviors, and restore the previous state? If any answer is no, pause the rollout and resolve that gap before changing the wider fleet.