TECHNICAL GUIDE
Platform Deployment · PD-K8S-02

Publish the STRATUM Image to a Registry

Inspect the supplied STRATUM container archive.

PROCEDURE

Before publishing

Inspect the supplied container archive and confirm its operating system and architecture match the destination nodes. Use a registry and tag that the target cluster can actually pull. A local registry is valid for a lab, but production registry policy should follow the target environment.

DETAIL

Publish and verify

Copy the archive into the target registry with skopeo, then inspect the destination reference. Treat registry TLS and authentication according to the target environment. The example flags are not a recommendation to weaken production registry verification.

COMMANDS

Commands

Replace example node, registry, namespace, and endpoint values with the values for the target environment.

shell
skopeo inspect docker-archive:stratum-container.tar | \
  egrep '"Name"|"Tag"|"Architecture"|"Os"'
shell
skopeo --insecure-policy --policy sync-policy.json copy \
  docker-archive:stratum-container.tar \
  --src-tls-verify=true --dest-tls-verify=false \
  --override-os linux --override-arch amd64 \
  docker://REGISTRY/NAMESPACE/stratum:TAG
RESULT

The outcome you should see

The destination registry contains the intended STRATUM image reference and an inspection of that reference reports the expected OS and architecture.