nexent icon indicating copy to clipboard operation
nexent copied to clipboard

fix(deploy): load K8s images into containerd first

Open JasonW404 opened this issue 2 months ago • 0 comments

Problem

The offline image loader only invokes docker load. A kubeadm cluster using containerd cannot see images stored only in the Docker daemon.

Expected behavior

For Kubernetes installation, the loader prefers importing archives into containerd's k8s.io namespace with ctr; when ctr is unavailable, it falls back to Docker with an explicit compatibility warning.

Acceptance

  • Kubernetes mode prefers ctr -n k8s.io images import.
  • Docker remains the fallback only when ctr is unavailable.
  • Docker deployment mode continues to use Docker.
  • Failures return non-zero and identify the failed archive/runtime.
  • Tests cover runtime selection, fallback, and failure behavior.

JasonW404 avatar Sep 07 '26 06:09 JasonW404