Skip to content

Pre-loading container images into CRI-O #162

@fzdarsky

Description

@fzdarsky

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions