MicroShift needs a built-in mechanism to pre-load container images into nodes' CRI-O instances so that it can bootstrap its component services a) without network connectivity and b) without local image registry.
The mechanism should monitor /var/lib/microshift/images for oci-archives or multi-image docker-archives as produced by podman save and pre-load them into CRI-O on cluster initialization or whenever that directory changes.
Requirements:
- MUST NOT change image digests, so the images can be referenced from K8s manifests by digest, too.
- MUST be compatible with multi-arch images and having multiple tarballs/versions of images (e.g. for updates)
- SHOULD unzip tarballs if necessary.
- SHOULD support deleting pre-loaded images from
/var/lib/microshift/images and subsequently pruning from CRI-O.
MicroShift needs a built-in mechanism to pre-load container images into nodes' CRI-O instances so that it can bootstrap its component services a) without network connectivity and b) without local image registry.
The mechanism should monitor
/var/lib/microshift/imagesfor oci-archives or multi-image docker-archives as produced bypodman saveand pre-load them into CRI-O on cluster initialization or whenever that directory changes.Requirements:
/var/lib/microshift/imagesand subsequently pruning from CRI-O.