Build a k3s distribution package
k3p build [flags]
-a, --arch string The architecture to package the distribution for. Only (amd64, arm, and arm64 are supported) (default "amd64")
-C, --channel string The release channel to retrieve the version of k3s from (default "stable")
--compress Whether to apply zst encryption to the package, it will usually require the same k3p release to decompress.
-c, --config string An optional file providing variables and other configurations to be used at installation, if a k3p.yaml in the current directory exists it will be used automatically
-E, --eula string A file containing an End User License Agreement to display to the user upon installing the package
-e, --exclude strings Directories to exclude when reading the manifest directory
--exclude-images Don't include container images with the final archive
-h, --help help for build
-I, --image-file string A file containing a list of extra images to bundle with the archive
-i, --images strings A comma separated list of images to include with the archive
--k3s-version string A specific k3s version to bundle with the package, overrides --channel (default "latest")
-m, --manifests stringArray Directories to scan for kubernetes manifests and charts, defaults to the current directory, can be specified multiple times (default [/home/<user>/devel/k3p])
-n, --name string The name to give the package, if not provided one will be generated
-N, --no-cache Disable the use of the local cache when downloading assets
-o, --output string The file to save the distribution package to (default "/home/<user>/devel/k3p/package.tar")
--pull-policy string The pull policy to use when bundling container images (valid options always,never,ifnotpresent [case-insensitive]) (default "always")
--run-file Whether to bundle the final archive into a self-installing run file
--use-registry Bundle container images into a private registry instead of just raw tar balls
-V, --version string The version to tag the package (default "latest")
--cache-dir string Override the default location for cached k3s assets (default "/home/<user>/.k3p/cache")
--tmp-dir string Override the default tmp directory (default "/tmp")
-v, --verbose Enable verbose logging
- k3p - k3p is a k3s packaging and delivery utility