kubekey/docs/commands/kk-artifact-export.md
24sama e83219492d update artifact doc
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-04-29 10:56:57 +08:00

991 B

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