Skip to main content

zarf package deploy

Use to deploy a Zarf package from a local file or URL (runs offline)


Uses current kubecontext to deploy the packaged tarball onto a k8s cluster.

zarf package deploy [PACKAGE] [flags]


      --adopt-existing-resources   Adopts any pre-existing K8s resources into the Helm charts managed by Zarf. ONLY use when you have existing deployments you want Zarf to takeover.
--components string Comma-separated list of components to install. Adding this flag will skip the init prompts for which components to install
--confirm Confirms package deployment without prompting. ONLY use with packages you trust. Skips prompts to review SBOM, configure variables, select optional components and review potential breaking changes.
-h, --help help for deploy
-k, --key string Path to public key file for validating signed packages
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
--set stringToString Specify deployment variables to set on the command line (KEY=value) (default [])
--sget string Path to public sget key file for remote packages signed via cosign
--shasum string Shasum of the package to deploy. Required if deploying a remote package and "--insecure" is not provided

Options inherited from parent commands

  -a, --architecture string   Architecture for OCI images and Zarf packages
--insecure Allow access to insecure registries and disable other recommended security enforcements such as package checksum and signature validation. This flag should only be used if you have a specific reason and accept the reduced security posture.
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
--no-log-file Disable log file creation
--no-progress Disable fancy UI progress bars, spinners, logos, etc
--tmpdir string Specify the temporary directory to use for intermediate files
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")


  • zarf package - Zarf package commands for creating, deploying, and inspecting packages