Skip to main content

Overview

The container runtime is specified in the cluster template and determines how container images are pulled, started, and managed on cluster nodes. Polystack K8SaaS supports containerd as the recommended runtime for all Kubernetes versions 1.24 and above. Docker runtime support was removed from Kubernetes upstream in version 1.24.

Supported Runtimes

Do not create new cluster templates with the docker runtime. Docker as the Kubernetes container runtime was removed in Kubernetes 1.24. All new templates must use containerd.

Configure Runtime in a Template

Set the container runtime via the container_runtime label in the cluster template:
Create template with containerd runtime
Verify runtime label on existing template
Expected output includes container_runtime=containerd.

containerd Configuration

The containerd runtime is pre-configured in the cluster node bootstrap script. Default containerd settings suitable for most deployments:

Private Registry Configuration

If your organization uses an internal container registry, configure it in the cluster template using the insecure_registry label:
Template with internal registry
For HTTPS-enabled internal registries, configure the CA certificate via a custom bootstrap script or a ConfigMap deployed to the cluster after provisioning.

Verify Runtime on Running Nodes

After cluster deployment, confirm containerd is active on all nodes:
Check runtime on all nodes
Expected output for each node: containerd://1.7.x

Next Steps

Network Drivers

Configure the CNI plugin for cluster network policy enforcement.

Template Management

Create and publish public templates with the correct runtime configuration.

Security

Harden container runtime configuration for production clusters.

Cluster Drivers

Review the provisioning driver that uses the template runtime configuration.