Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 991 Bytes

kk-artifact-export.md

File metadata and controls

25 lines (18 loc) · 991 Bytes

NAME

kk artifact export: Export a KubeKey offline installation package.

DESCRIPTION

kk will base on the specified manifest file to pull all images, download the specified binaries and Linux repository iso file, then archive them as a KubeKey offline installation package. The export command will download the corresponding binaries from the Internet, so please make sure the network connection is success.

OPTIONS

--manifest, -m

Path to a manifest file. This option is required.

--output, -o

Path to a output path The default is kubekey-artifact.tar.gz.

--download-cmd

The user defined command to download the necessary binary files. The first param %s is output path, the second param %s, is the URL. The default is curl -L -o %s %s.

--debug

Print detailed information. The default is false.

EXAMPLES

Export a KubeKey artifact named my-artifact.tar.gz.

$ kk artifact export -m manifest-sample.yaml -o my-artifact.tar.gz