#!/bin/sh # 80-containerd.sh — Start containerd (bundled with KubeSolo) # # NOTE: KubeSolo typically manages containerd startup internally. # This stage ensures containerd prerequisites are met. # If KubeSolo handles containerd lifecycle, this stage may be a no-op. # Ensure containerd state directories exist mkdir -p /run/containerd mkdir -p /var/lib/containerd # Ensure CNI directories exist mkdir -p /etc/cni/net.d mkdir -p /opt/cni/bin # If containerd config doesn't exist, KubeSolo will use defaults # Only create a custom config if we need to override something if [ -f /etc/kubesolo/containerd-config.toml ]; then log "Using custom containerd config from /etc/kubesolo/containerd-config.toml" fi log_ok "containerd prerequisites ready (KubeSolo manages containerd lifecycle)"