Skip to content

K0s airgap bundle artifacts

k0s airgap bundle-artifacts#

Bundles artifacts needed for airgapped installations into a tarball

Synopsis#

Bundles artifacts needed for airgapped installations into a tarball. Fetches the artifacts from their OCI registries and bundles them into an OCI Image Layout archive (written to standard output by default). Reads names from standard input if no names are given on the command line.

Note that if you need the tarball to be reproducible, you must specify --concurrency=1. This ensures that the images are added in the specified order instead of in an arbitrary order based on when they finish downloading.

k0s airgap bundle-artifacts [flags] [names...]

Options#

      --concurrency uint                number of concurrent requests to the registry (default 3)
  -d, --debug                           Debug logging (implies verbose logging)
      --debugListenOn string            Http listenOn for Debug pprof handler (default ":6060")
  -h, --help                            help for bundle-artifacts
      --insecure-registries string      one of no, skip-tls-verify or plain-http (default "no")
  -o, --output string                   output file path (writes to standard output if omitted)
      --platform string                 the platform to export (default "linux/amd64")
      --registries-config stringArray   paths to the authentication files for OCI registries (uses the standard Docker config if omitted)
  -v, --verbose                         Verbose logging

SEE ALSO#

  • k0s airgap - Tooling for airgapped installations